Skip to content

Commit 51cae68

Browse files
committed
chore(BA-5837): regenerate schema dump after BA-5815 propagation
1 parent 29db6b1 commit 51cae68

2 files changed

Lines changed: 74 additions & 38 deletions

File tree

docs/manager/graphql-reference/supergraph.graphql

Lines changed: 38 additions & 19 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."""
@@ -214,8 +216,19 @@ input AdminAppConfigPolicyItemInput
214216
}
215217

216218
"""
217-
Added in UNRELEASED. Admin bulk create input — items carry any scope (BEP-1052 §3).
219+
Added in UNRELEASED. Per-item input for admin bulk update — target row id + new `scope_sources`.
218220
"""
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+
231+
"""Added in UNRELEASED. Admin bulk create input — items carry any scope."""
219232
input AdminBulkCreateAppConfigFragmentInput
220233
@join__type(graph: STRAWBERRY)
221234
{
@@ -250,7 +263,7 @@ input AdminBulkCreateAppConfigPolicyInput
250263
@join__type(graph: STRAWBERRY)
251264
{
252265
"""Policies to create."""
253-
items: [AdminAppConfigPolicyItemInput!]!
266+
items: [AdminAppConfigPolicyCreateItemInput!]!
254267
}
255268

256269
"""
@@ -278,21 +291,21 @@ type AdminBulkPurgeAppConfigFragmentsPayload
278291
type AdminBulkPurgeAppConfigPoliciesPayload
279292
@join__type(graph: STRAWBERRY)
280293
{
281-
"""`config_name`s of policies actually removed (absent names no-oped)."""
282-
purgedConfigNames: [String!]!
294+
"""Ids of policies actually removed (absent ids no-oped)."""
295+
purgedIds: [UUID!]!
283296

284297
"""Per-item failures."""
285298
failed: [AppConfigPolicyBulkError!]!
286299
}
287300

288301
"""
289-
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).
290303
"""
291304
input AdminBulkPurgeAppConfigPolicyInput
292305
@join__type(graph: STRAWBERRY)
293306
{
294-
"""`config_name`s to purge."""
295-
configNames: [String!]!
307+
"""Policy row ids to purge."""
308+
ids: [UUID!]!
296309
}
297310

298311
"""Added in UNRELEASED. Admin bulk update input."""
@@ -330,7 +343,7 @@ input AdminBulkUpdateAppConfigPolicyInput
330343
@join__type(graph: STRAWBERRY)
331344
{
332345
"""Policies to update."""
333-
items: [AdminAppConfigPolicyItemInput!]!
346+
items: [AdminAppConfigPolicyUpdateItemInput!]!
334347
}
335348

336349
"""Added in 26.4.2. Admin input for creating a keypair for a user."""
@@ -1065,9 +1078,15 @@ input AppConfigFilter
10651078

10661079
"""Filter by target user id (admin cross-user search only)."""
10671080
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
10681087
}
10691088

1070-
"""Added in UNRELEASED. Raw per-scope app-config fragment (BEP-1052 §2)."""
1089+
"""Added in UNRELEASED. Raw per-scope app-config fragment."""
10711090
type AppConfigFragment
10721091
@join__type(graph: STRAWBERRY)
10731092
{
@@ -1163,6 +1182,7 @@ enum AppConfigFragmentOrderField
11631182
SCOPE_ID @join__enumValue(graph: STRAWBERRY)
11641183
NAME @join__enumValue(graph: STRAWBERRY)
11651184
CREATED_AT @join__enumValue(graph: STRAWBERRY)
1185+
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
11661186
}
11671187

11681188
"""Added in UNRELEASED. Specifies ordering for merged AppConfig results."""
@@ -1182,6 +1202,8 @@ enum AppConfigOrderField
11821202
{
11831203
USER_ID @join__enumValue(graph: STRAWBERRY)
11841204
NAME @join__enumValue(graph: STRAWBERRY)
1205+
CREATED_AT @join__enumValue(graph: STRAWBERRY)
1206+
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
11851207
}
11861208

11871209
"""Added in UNRELEASED. Scoped app-config policy."""
@@ -1212,9 +1234,6 @@ type AppConfigPolicyBulkError
12121234
"""Original position in the input list."""
12131235
index: Int!
12141236

1215-
"""`config_name` of the failed row."""
1216-
configName: String!
1217-
12181237
"""Reason for the failure."""
12191238
message: String!
12201239
}
@@ -11268,7 +11287,7 @@ type Mutation
1126811287
adminBulkUpdateAppConfigPolicies(input: AdminBulkUpdateAppConfigPolicyInput!): AdminBulkUpdateAppConfigPoliciesPayload! @join__field(graph: STRAWBERRY)
1126911288

1127011289
"""
11271-
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.
1127211291
"""
1127311292
adminBulkPurgeAppConfigPolicies(input: AdminBulkPurgeAppConfigPolicyInput!): AdminBulkPurgeAppConfigPoliciesPayload! @join__field(graph: STRAWBERRY)
1127411293

@@ -13886,9 +13905,9 @@ type Query
1388613905
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)
1388713906

1388813907
"""
13889-
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.
1389013909
"""
13891-
appConfigPolicy(configName: String!): AppConfigPolicy @join__field(graph: STRAWBERRY)
13910+
appConfigPolicy(id: UUID!): AppConfigPolicy @join__field(graph: STRAWBERRY)
1389213911

1389313912
"""
1389413913
Added in UNRELEASED. List app-config policies with filtering and pagination. Available to any authenticated user.
@@ -13906,12 +13925,12 @@ type Query
1390613925
adminAppConfigFragments(filter: AppConfigFragmentFilter = null, orderBy: [AppConfigFragmentOrderBy!] = null, first: Int = null, after: String = null, last: Int = null, before: String = null, limit: Int = null, offset: Int = null): [AppConfigFragment!]! @join__field(graph: STRAWBERRY)
1390713926

1390813927
"""
13909-
Added in UNRELEASED. Public (no-auth) `PUBLIC`-scope app-config fragments — the subset of raw fragments that carry no personally-scoped data (BEP-1052 §3).
13928+
Added in UNRELEASED. Public (no-auth) `PUBLIC`-scope app-config fragments — the subset of raw fragments that carry no personally-scoped data.
1391013929
"""
1391113930
publicAppConfigFragments(filter: AppConfigFragmentFilter = null, orderBy: [AppConfigFragmentOrderBy!] = null, first: Int = null, after: String = null, last: Int = null, before: String = null, limit: Int = null, offset: Int = null): [AppConfigFragment!]! @join__field(graph: STRAWBERRY)
1391213931

1391313932
"""
13914-
Added in UNRELEASED. Caller's own merged AppConfig list (auth required). Chain per policy (BEP-1052 §5); the adapter pins `(USER, current_user)` internally.
13933+
Added in UNRELEASED. Caller's own merged AppConfig list (auth required). Chain per policy ; the adapter pins `(USER, current_user)` internally.
1391513934
"""
1391613935
myAppConfigs(filter: AppConfigFilter = null, orderBy: [AppConfigOrderBy!] = null, first: Int = null, after: String = null, last: Int = null, before: String = null, limit: Int = null, offset: Int = null): [AppConfig!]! @join__field(graph: STRAWBERRY)
1391713936

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

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,10 @@ 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

@@ -164,8 +166,17 @@ input AdminAppConfigPolicyItemInput {
164166
}
165167

166168
"""
167-
Added in UNRELEASED. Admin bulk create input — items carry any scope (BEP-1052 §3).
169+
Added in UNRELEASED. Per-item input for admin bulk update — target row id + new `scope_sources`.
168170
"""
171+
input AdminAppConfigPolicyUpdateItemInput {
172+
"""Policy row id."""
173+
id: UUID!
174+
175+
"""Ordered scope chain."""
176+
scopeSources: [String!]!
177+
}
178+
179+
"""Added in UNRELEASED. Admin bulk create input — items carry any scope."""
169180
input AdminBulkCreateAppConfigFragmentInput {
170181
"""Rows to create."""
171182
items: [AdminAppConfigFragmentItemInput!]!
@@ -192,7 +203,7 @@ type AdminBulkCreateAppConfigPoliciesPayload {
192203
"""Added in UNRELEASED. Admin bulk create input for app-config policies."""
193204
input AdminBulkCreateAppConfigPolicyInput {
194205
"""Policies to create."""
195-
items: [AdminAppConfigPolicyItemInput!]!
206+
items: [AdminAppConfigPolicyCreateItemInput!]!
196207
}
197208

198209
"""
@@ -214,19 +225,19 @@ type AdminBulkPurgeAppConfigFragmentsPayload {
214225

215226
"""Added in UNRELEASED. Payload for `adminBulkPurgeAppConfigPolicies`."""
216227
type AdminBulkPurgeAppConfigPoliciesPayload {
217-
"""`config_name`s of policies actually removed (absent names no-oped)."""
218-
purgedConfigNames: [String!]!
228+
"""Ids of policies actually removed (absent ids no-oped)."""
229+
purgedIds: [UUID!]!
219230

220231
"""Per-item failures."""
221232
failed: [AppConfigPolicyBulkError!]!
222233
}
223234

224235
"""
225-
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).
226237
"""
227238
input AdminBulkPurgeAppConfigPolicyInput {
228-
"""`config_name`s to purge."""
229-
configNames: [String!]!
239+
"""Policy row ids to purge."""
240+
ids: [UUID!]!
230241
}
231242

232243
"""Added in UNRELEASED. Admin bulk update input."""
@@ -256,7 +267,7 @@ type AdminBulkUpdateAppConfigPoliciesPayload {
256267
"""Added in UNRELEASED. Admin bulk update input for app-config policies."""
257268
input AdminBulkUpdateAppConfigPolicyInput {
258269
"""Policies to update."""
259-
items: [AdminAppConfigPolicyItemInput!]!
270+
items: [AdminAppConfigPolicyUpdateItemInput!]!
260271
}
261272

262273
"""Added in 26.4.2. Admin input for creating a keypair for a user."""
@@ -747,9 +758,15 @@ input AppConfigFilter {
747758

748759
"""Filter by target user id (admin cross-user search only)."""
749760
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
750767
}
751768

752-
"""Added in UNRELEASED. Raw per-scope app-config fragment (BEP-1052 §2)."""
769+
"""Added in UNRELEASED. Raw per-scope app-config fragment."""
753770
type AppConfigFragment {
754771
"""Row ID."""
755772
id: UUID!
@@ -833,6 +850,7 @@ enum AppConfigFragmentOrderField {
833850
SCOPE_ID
834851
NAME
835852
CREATED_AT
853+
UPDATED_AT
836854
}
837855

838856
"""Added in UNRELEASED. Specifies ordering for merged AppConfig results."""
@@ -848,6 +866,8 @@ input AppConfigOrderBy {
848866
enum AppConfigOrderField {
849867
USER_ID
850868
NAME
869+
CREATED_AT
870+
UPDATED_AT
851871
}
852872

853873
"""Added in UNRELEASED. Scoped app-config policy."""
@@ -873,9 +893,6 @@ type AppConfigPolicyBulkError {
873893
"""Original position in the input list."""
874894
index: Int!
875895

876-
"""`config_name` of the failed row."""
877-
configName: String!
878-
879896
"""Reason for the failure."""
880897
message: String!
881898
}
@@ -7160,7 +7177,7 @@ type Mutation {
71607177
adminBulkUpdateAppConfigPolicies(input: AdminBulkUpdateAppConfigPolicyInput!): AdminBulkUpdateAppConfigPoliciesPayload!
71617178

71627179
"""
7163-
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.
71647181
"""
71657182
adminBulkPurgeAppConfigPolicies(input: AdminBulkPurgeAppConfigPolicyInput!): AdminBulkPurgeAppConfigPoliciesPayload!
71667183

@@ -8981,9 +8998,9 @@ type Query {
89818998
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
89828999

89839000
"""
8984-
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.
89859002
"""
8986-
appConfigPolicy(configName: String!): AppConfigPolicy
9003+
appConfigPolicy(id: UUID!): AppConfigPolicy
89879004

89889005
"""
89899006
Added in UNRELEASED. List app-config policies with filtering and pagination. Available to any authenticated user.
@@ -9001,12 +9018,12 @@ type Query {
90019018
adminAppConfigFragments(filter: AppConfigFragmentFilter = null, orderBy: [AppConfigFragmentOrderBy!] = null, first: Int = null, after: String = null, last: Int = null, before: String = null, limit: Int = null, offset: Int = null): [AppConfigFragment!]!
90029019

90039020
"""
9004-
Added in UNRELEASED. Public (no-auth) `PUBLIC`-scope app-config fragments — the subset of raw fragments that carry no personally-scoped data (BEP-1052 §3).
9021+
Added in UNRELEASED. Public (no-auth) `PUBLIC`-scope app-config fragments — the subset of raw fragments that carry no personally-scoped data.
90059022
"""
90069023
publicAppConfigFragments(filter: AppConfigFragmentFilter = null, orderBy: [AppConfigFragmentOrderBy!] = null, first: Int = null, after: String = null, last: Int = null, before: String = null, limit: Int = null, offset: Int = null): [AppConfigFragment!]!
90079024

90089025
"""
9009-
Added in UNRELEASED. Caller's own merged AppConfig list (auth required). Chain per policy (BEP-1052 §5); the adapter pins `(USER, current_user)` internally.
9026+
Added in UNRELEASED. Caller's own merged AppConfig list (auth required). Chain per policy ; the adapter pins `(USER, current_user)` internally.
90109027
"""
90119028
myAppConfigs(filter: AppConfigFilter = null, orderBy: [AppConfigOrderBy!] = null, first: Int = null, after: String = null, last: Int = null, before: String = null, limit: Int = null, offset: Int = null): [AppConfig!]!
90129029

0 commit comments

Comments
 (0)