Skip to content

Commit 85d0da0

Browse files
committed
chore(BA-5830): regenerate schema dump after BA-5815 propagation
1 parent 34412b4 commit 85d0da0

2 files changed

Lines changed: 70 additions & 30 deletions

File tree

docs/manager/graphql-reference/supergraph.graphql

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,10 @@ input AdminAppConfigFragmentItemInput
202202
config: JSON!
203203
}
204204

205-
"""Added in UNRELEASED. Per-item input for admin bulk create / update."""
206-
input AdminAppConfigPolicyItemInput
205+
"""
206+
Added in UNRELEASED. Per-item input for admin bulk create — `config_name` + initial `scope_sources`.
207+
"""
208+
input AdminAppConfigPolicyCreateItemInput
207209
@join__type(graph: STRAWBERRY)
208210
{
209211
"""Unique, immutable policy name."""
@@ -213,6 +215,19 @@ input AdminAppConfigPolicyItemInput
213215
scopeSources: [String!]!
214216
}
215217

218+
"""
219+
Added in UNRELEASED. Per-item input for admin bulk update — target row id + new `scope_sources`.
220+
"""
221+
input AdminAppConfigPolicyUpdateItemInput
222+
@join__type(graph: STRAWBERRY)
223+
{
224+
"""Policy row id."""
225+
id: UUID!
226+
227+
"""Ordered scope chain."""
228+
scopeSources: [String!]!
229+
}
230+
216231
"""Added in UNRELEASED. Admin bulk create input — items carry any scope."""
217232
input AdminBulkCreateAppConfigFragmentInput
218233
@join__type(graph: STRAWBERRY)
@@ -248,7 +263,7 @@ input AdminBulkCreateAppConfigPolicyInput
248263
@join__type(graph: STRAWBERRY)
249264
{
250265
"""Policies to create."""
251-
items: [AdminAppConfigPolicyItemInput!]!
266+
items: [AdminAppConfigPolicyCreateItemInput!]!
252267
}
253268

254269
"""
@@ -276,21 +291,21 @@ type AdminBulkPurgeAppConfigFragmentsPayload
276291
type AdminBulkPurgeAppConfigPoliciesPayload
277292
@join__type(graph: STRAWBERRY)
278293
{
279-
"""`config_name`s of policies actually removed (absent names no-oped)."""
280-
purgedConfigNames: [String!]!
294+
"""Ids of policies actually removed (absent ids no-oped)."""
295+
purgedIds: [UUID!]!
281296

282297
"""Per-item failures."""
283298
failed: [AppConfigPolicyBulkError!]!
284299
}
285300

286301
"""
287-
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on `config_name`).
302+
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on row id).
288303
"""
289304
input AdminBulkPurgeAppConfigPolicyInput
290305
@join__type(graph: STRAWBERRY)
291306
{
292-
"""`config_name`s to purge."""
293-
configNames: [String!]!
307+
"""Policy row ids to purge."""
308+
ids: [UUID!]!
294309
}
295310

296311
"""Added in UNRELEASED. Admin bulk update input."""
@@ -328,7 +343,7 @@ input AdminBulkUpdateAppConfigPolicyInput
328343
@join__type(graph: STRAWBERRY)
329344
{
330345
"""Policies to update."""
331-
items: [AdminAppConfigPolicyItemInput!]!
346+
items: [AdminAppConfigPolicyUpdateItemInput!]!
332347
}
333348

334349
"""Added in 26.4.2. Admin input for creating a keypair for a user."""
@@ -1063,6 +1078,12 @@ input AppConfigFilter
10631078

10641079
"""Filter by target user id (admin cross-user search only)."""
10651080
userId: UUIDFilter = null
1081+
1082+
"""Filter by the oldest contributing fragment's creation timestamp."""
1083+
createdAt: DateTimeFilter = null
1084+
1085+
"""Filter by the latest contributing fragment's update timestamp."""
1086+
updatedAt: DateTimeFilter = null
10661087
}
10671088

10681089
"""Added in UNRELEASED. Raw per-scope app-config fragment."""
@@ -1161,6 +1182,7 @@ enum AppConfigFragmentOrderField
11611182
SCOPE_ID @join__enumValue(graph: STRAWBERRY)
11621183
NAME @join__enumValue(graph: STRAWBERRY)
11631184
CREATED_AT @join__enumValue(graph: STRAWBERRY)
1185+
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
11641186
}
11651187

11661188
"""Added in UNRELEASED. Specifies ordering for merged AppConfig results."""
@@ -1180,6 +1202,8 @@ enum AppConfigOrderField
11801202
{
11811203
USER_ID @join__enumValue(graph: STRAWBERRY)
11821204
NAME @join__enumValue(graph: STRAWBERRY)
1205+
CREATED_AT @join__enumValue(graph: STRAWBERRY)
1206+
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
11831207
}
11841208

11851209
"""Added in UNRELEASED. Scoped app-config policy."""
@@ -1210,9 +1234,6 @@ type AppConfigPolicyBulkError
12101234
"""Original position in the input list."""
12111235
index: Int!
12121236

1213-
"""`config_name` of the failed row."""
1214-
configName: String!
1215-
12161237
"""Reason for the failure."""
12171238
message: String!
12181239
}
@@ -11266,7 +11287,7 @@ type Mutation
1126611287
adminBulkUpdateAppConfigPolicies(input: AdminBulkUpdateAppConfigPolicyInput!): AdminBulkUpdateAppConfigPoliciesPayload! @join__field(graph: STRAWBERRY)
1126711288

1126811289
"""
11269-
Added in UNRELEASED. Rejects items whose `config_name` still has referencing fragment rows. Admin only.
11290+
Added in UNRELEASED. Hard-delete policies by row id; rows still referenced by fragments surface in `failed`. Admin only.
1127011291
"""
1127111292
adminBulkPurgeAppConfigPolicies(input: AdminBulkPurgeAppConfigPolicyInput!): AdminBulkPurgeAppConfigPoliciesPayload! @join__field(graph: STRAWBERRY)
1127211293

@@ -13884,9 +13905,9 @@ type Query
1388413905
adminImageAliases(filter: ImageV2AliasFilter = null, orderBy: [ImageV2AliasOrderByGQL!] = null, before: String = null, after: String = null, first: Int = null, last: Int = null, limit: Int = null, offset: Int = null): ImageV2AliasConnection @join__field(graph: STRAWBERRY)
1388513906

1388613907
"""
13887-
Added in UNRELEASED. Get a single app-config policy by `config_name`. Available to any authenticated user.
13908+
Added in UNRELEASED. Get a single app-config policy by row id. Available to any authenticated user.
1388813909
"""
13889-
appConfigPolicy(configName: String!): AppConfigPolicy @join__field(graph: STRAWBERRY)
13910+
appConfigPolicy(id: UUID!): AppConfigPolicy @join__field(graph: STRAWBERRY)
1389013911

1389113912
"""
1389213913
Added in UNRELEASED. List app-config policies with filtering and pagination. Available to any authenticated user.

docs/manager/graphql-reference/v2-schema.graphql

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,28 @@ input AdminAppConfigFragmentItemInput {
154154
config: JSON!
155155
}
156156

157-
"""Added in UNRELEASED. Per-item input for admin bulk create / update."""
158-
input AdminAppConfigPolicyItemInput {
157+
"""
158+
Added in UNRELEASED. Per-item input for admin bulk create — `config_name` + initial `scope_sources`.
159+
"""
160+
input AdminAppConfigPolicyCreateItemInput {
159161
"""Unique, immutable policy name."""
160162
configName: String!
161163

162164
"""Ordered scope chain."""
163165
scopeSources: [String!]!
164166
}
165167

168+
"""
169+
Added in UNRELEASED. Per-item input for admin bulk update — target row id + new `scope_sources`.
170+
"""
171+
input AdminAppConfigPolicyUpdateItemInput {
172+
"""Policy row id."""
173+
id: UUID!
174+
175+
"""Ordered scope chain."""
176+
scopeSources: [String!]!
177+
}
178+
166179
"""Added in UNRELEASED. Admin bulk create input — items carry any scope."""
167180
input AdminBulkCreateAppConfigFragmentInput {
168181
"""Rows to create."""
@@ -190,7 +203,7 @@ type AdminBulkCreateAppConfigPoliciesPayload {
190203
"""Added in UNRELEASED. Admin bulk create input for app-config policies."""
191204
input AdminBulkCreateAppConfigPolicyInput {
192205
"""Policies to create."""
193-
items: [AdminAppConfigPolicyItemInput!]!
206+
items: [AdminAppConfigPolicyCreateItemInput!]!
194207
}
195208

196209
"""
@@ -212,19 +225,19 @@ type AdminBulkPurgeAppConfigFragmentsPayload {
212225

213226
"""Added in UNRELEASED. Payload for `adminBulkPurgeAppConfigPolicies`."""
214227
type AdminBulkPurgeAppConfigPoliciesPayload {
215-
"""`config_name`s of policies actually removed (absent names no-oped)."""
216-
purgedConfigNames: [String!]!
228+
"""Ids of policies actually removed (absent ids no-oped)."""
229+
purgedIds: [UUID!]!
217230

218231
"""Per-item failures."""
219232
failed: [AppConfigPolicyBulkError!]!
220233
}
221234

222235
"""
223-
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on `config_name`).
236+
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on row id).
224237
"""
225238
input AdminBulkPurgeAppConfigPolicyInput {
226-
"""`config_name`s to purge."""
227-
configNames: [String!]!
239+
"""Policy row ids to purge."""
240+
ids: [UUID!]!
228241
}
229242

230243
"""Added in UNRELEASED. Admin bulk update input."""
@@ -254,7 +267,7 @@ type AdminBulkUpdateAppConfigPoliciesPayload {
254267
"""Added in UNRELEASED. Admin bulk update input for app-config policies."""
255268
input AdminBulkUpdateAppConfigPolicyInput {
256269
"""Policies to update."""
257-
items: [AdminAppConfigPolicyItemInput!]!
270+
items: [AdminAppConfigPolicyUpdateItemInput!]!
258271
}
259272

260273
"""Added in 26.4.2. Admin input for creating a keypair for a user."""
@@ -745,6 +758,12 @@ input AppConfigFilter {
745758

746759
"""Filter by target user id (admin cross-user search only)."""
747760
userId: UUIDFilter = null
761+
762+
"""Filter by the oldest contributing fragment's creation timestamp."""
763+
createdAt: DateTimeFilter = null
764+
765+
"""Filter by the latest contributing fragment's update timestamp."""
766+
updatedAt: DateTimeFilter = null
748767
}
749768

750769
"""Added in UNRELEASED. Raw per-scope app-config fragment."""
@@ -831,6 +850,7 @@ enum AppConfigFragmentOrderField {
831850
SCOPE_ID
832851
NAME
833852
CREATED_AT
853+
UPDATED_AT
834854
}
835855

836856
"""Added in UNRELEASED. Specifies ordering for merged AppConfig results."""
@@ -846,6 +866,8 @@ input AppConfigOrderBy {
846866
enum AppConfigOrderField {
847867
USER_ID
848868
NAME
869+
CREATED_AT
870+
UPDATED_AT
849871
}
850872

851873
"""Added in UNRELEASED. Scoped app-config policy."""
@@ -871,9 +893,6 @@ type AppConfigPolicyBulkError {
871893
"""Original position in the input list."""
872894
index: Int!
873895

874-
"""`config_name` of the failed row."""
875-
configName: String!
876-
877896
"""Reason for the failure."""
878897
message: String!
879898
}
@@ -7158,7 +7177,7 @@ type Mutation {
71587177
adminBulkUpdateAppConfigPolicies(input: AdminBulkUpdateAppConfigPolicyInput!): AdminBulkUpdateAppConfigPoliciesPayload!
71597178

71607179
"""
7161-
Added in UNRELEASED. Rejects items whose `config_name` still has referencing fragment rows. Admin only.
7180+
Added in UNRELEASED. Hard-delete policies by row id; rows still referenced by fragments surface in `failed`. Admin only.
71627181
"""
71637182
adminBulkPurgeAppConfigPolicies(input: AdminBulkPurgeAppConfigPolicyInput!): AdminBulkPurgeAppConfigPoliciesPayload!
71647183

@@ -8979,9 +8998,9 @@ type Query {
89798998
adminImageAliases(filter: ImageV2AliasFilter = null, orderBy: [ImageV2AliasOrderByGQL!] = null, before: String = null, after: String = null, first: Int = null, last: Int = null, limit: Int = null, offset: Int = null): ImageV2AliasConnection
89808999

89819000
"""
8982-
Added in UNRELEASED. Get a single app-config policy by `config_name`. Available to any authenticated user.
9001+
Added in UNRELEASED. Get a single app-config policy by row id. Available to any authenticated user.
89839002
"""
8984-
appConfigPolicy(configName: String!): AppConfigPolicy
9003+
appConfigPolicy(id: UUID!): AppConfigPolicy
89859004

89869005
"""
89879006
Added in UNRELEASED. List app-config policies with filtering and pagination. Available to any authenticated user.

0 commit comments

Comments
 (0)