Skip to content

Commit 03df336

Browse files
chore: update api schema dump
Co-authored-by: octodog <mu001@lablup.com>
1 parent 42db4d6 commit 03df336

2 files changed

Lines changed: 38 additions & 74 deletions

File tree

docs/manager/graphql-reference/supergraph.graphql

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

205-
"""
206-
Added in UNRELEASED. Per-item input for admin bulk create — `config_name` + initial `scope_sources`.
207-
"""
208-
input AdminAppConfigPolicyCreateItemInput
205+
"""Added in UNRELEASED. Per-item input for admin bulk create / update."""
206+
input AdminAppConfigPolicyItemInput
209207
@join__type(graph: STRAWBERRY)
210208
{
211209
"""Unique, immutable policy name."""
@@ -216,19 +214,8 @@ input AdminAppConfigPolicyCreateItemInput
216214
}
217215

218216
"""
219-
Added in UNRELEASED. Per-item input for admin bulk update — target row id + new `scope_sources`.
217+
Added in UNRELEASED. Admin bulk create input — items carry any scope (BEP-1052 §3).
220218
"""
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."""
232219
input AdminBulkCreateAppConfigFragmentInput
233220
@join__type(graph: STRAWBERRY)
234221
{
@@ -263,7 +250,7 @@ input AdminBulkCreateAppConfigPolicyInput
263250
@join__type(graph: STRAWBERRY)
264251
{
265252
"""Policies to create."""
266-
items: [AdminAppConfigPolicyCreateItemInput!]!
253+
items: [AdminAppConfigPolicyItemInput!]!
267254
}
268255

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

297284
"""Per-item failures."""
298285
failed: [AppConfigPolicyBulkError!]!
299286
}
300287

301288
"""
302-
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on row id).
289+
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on `config_name`).
303290
"""
304291
input AdminBulkPurgeAppConfigPolicyInput
305292
@join__type(graph: STRAWBERRY)
306293
{
307-
"""Policy row ids to purge."""
308-
ids: [UUID!]!
294+
"""`config_name`s to purge."""
295+
configNames: [String!]!
309296
}
310297

311298
"""Added in UNRELEASED. Admin bulk update input."""
@@ -343,7 +330,7 @@ input AdminBulkUpdateAppConfigPolicyInput
343330
@join__type(graph: STRAWBERRY)
344331
{
345332
"""Policies to update."""
346-
items: [AdminAppConfigPolicyUpdateItemInput!]!
333+
items: [AdminAppConfigPolicyItemInput!]!
347334
}
348335

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

10791066
"""Filter by target user id (admin cross-user search only)."""
10801067
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
10871068
}
10881069

1089-
"""Added in UNRELEASED. Raw per-scope app-config fragment."""
1070+
"""Added in UNRELEASED. Raw per-scope app-config fragment (BEP-1052 §2)."""
10901071
type AppConfigFragment
10911072
@join__type(graph: STRAWBERRY)
10921073
{
@@ -1182,7 +1163,6 @@ enum AppConfigFragmentOrderField
11821163
SCOPE_ID @join__enumValue(graph: STRAWBERRY)
11831164
NAME @join__enumValue(graph: STRAWBERRY)
11841165
CREATED_AT @join__enumValue(graph: STRAWBERRY)
1185-
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
11861166
}
11871167

11881168
"""Added in UNRELEASED. Specifies ordering for merged AppConfig results."""
@@ -1202,8 +1182,6 @@ enum AppConfigOrderField
12021182
{
12031183
USER_ID @join__enumValue(graph: STRAWBERRY)
12041184
NAME @join__enumValue(graph: STRAWBERRY)
1205-
CREATED_AT @join__enumValue(graph: STRAWBERRY)
1206-
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
12071185
}
12081186

12091187
"""Added in UNRELEASED. Scoped app-config policy."""
@@ -1234,6 +1212,9 @@ type AppConfigPolicyBulkError
12341212
"""Original position in the input list."""
12351213
index: Int!
12361214

1215+
"""`config_name` of the failed row."""
1216+
configName: String!
1217+
12371218
"""Reason for the failure."""
12381219
message: String!
12391220
}
@@ -11287,7 +11268,7 @@ type Mutation
1128711268
adminBulkUpdateAppConfigPolicies(input: AdminBulkUpdateAppConfigPolicyInput!): AdminBulkUpdateAppConfigPoliciesPayload! @join__field(graph: STRAWBERRY)
1128811269

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

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

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

1391213893
"""
1391313894
Added in UNRELEASED. List app-config policies with filtering and pagination. Available to any authenticated user.
@@ -13925,12 +13906,12 @@ type Query
1392513906
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)
1392613907

1392713908
"""
13928-
Added in UNRELEASED. Public (no-auth) `PUBLIC`-scope app-config fragments — the subset of raw fragments that carry no personally-scoped data.
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).
1392913910
"""
1393013911
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)
1393113912

1393213913
"""
13933-
Added in UNRELEASED. Caller's own merged AppConfig list (auth required). Chain per policy ; the adapter pins `(USER, current_user)` internally.
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.
1393413915
"""
1393513916
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)
1393613917

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

Lines changed: 19 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,8 @@ input AdminAppConfigFragmentItemInput {
154154
config: JSON!
155155
}
156156

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

@@ -166,17 +164,8 @@ input AdminAppConfigPolicyCreateItemInput {
166164
}
167165

168166
"""
169-
Added in UNRELEASED. Per-item input for admin bulk update — target row id + new `scope_sources`.
167+
Added in UNRELEASED. Admin bulk create input — items carry any scope (BEP-1052 §3).
170168
"""
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."""
180169
input AdminBulkCreateAppConfigFragmentInput {
181170
"""Rows to create."""
182171
items: [AdminAppConfigFragmentItemInput!]!
@@ -203,7 +192,7 @@ type AdminBulkCreateAppConfigPoliciesPayload {
203192
"""Added in UNRELEASED. Admin bulk create input for app-config policies."""
204193
input AdminBulkCreateAppConfigPolicyInput {
205194
"""Policies to create."""
206-
items: [AdminAppConfigPolicyCreateItemInput!]!
195+
items: [AdminAppConfigPolicyItemInput!]!
207196
}
208197

209198
"""
@@ -225,19 +214,19 @@ type AdminBulkPurgeAppConfigFragmentsPayload {
225214

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

231220
"""Per-item failures."""
232221
failed: [AppConfigPolicyBulkError!]!
233222
}
234223

235224
"""
236-
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on row id).
225+
Added in UNRELEASED. Admin bulk purge input for app-config policies (keyed on `config_name`).
237226
"""
238227
input AdminBulkPurgeAppConfigPolicyInput {
239-
"""Policy row ids to purge."""
240-
ids: [UUID!]!
228+
"""`config_name`s to purge."""
229+
configNames: [String!]!
241230
}
242231

243232
"""Added in UNRELEASED. Admin bulk update input."""
@@ -267,7 +256,7 @@ type AdminBulkUpdateAppConfigPoliciesPayload {
267256
"""Added in UNRELEASED. Admin bulk update input for app-config policies."""
268257
input AdminBulkUpdateAppConfigPolicyInput {
269258
"""Policies to update."""
270-
items: [AdminAppConfigPolicyUpdateItemInput!]!
259+
items: [AdminAppConfigPolicyItemInput!]!
271260
}
272261

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

759748
"""Filter by target user id (admin cross-user search only)."""
760749
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
767750
}
768751

769-
"""Added in UNRELEASED. Raw per-scope app-config fragment."""
752+
"""Added in UNRELEASED. Raw per-scope app-config fragment (BEP-1052 §2)."""
770753
type AppConfigFragment {
771754
"""Row ID."""
772755
id: UUID!
@@ -850,7 +833,6 @@ enum AppConfigFragmentOrderField {
850833
SCOPE_ID
851834
NAME
852835
CREATED_AT
853-
UPDATED_AT
854836
}
855837

856838
"""Added in UNRELEASED. Specifies ordering for merged AppConfig results."""
@@ -866,8 +848,6 @@ input AppConfigOrderBy {
866848
enum AppConfigOrderField {
867849
USER_ID
868850
NAME
869-
CREATED_AT
870-
UPDATED_AT
871851
}
872852

873853
"""Added in UNRELEASED. Scoped app-config policy."""
@@ -893,6 +873,9 @@ type AppConfigPolicyBulkError {
893873
"""Original position in the input list."""
894874
index: Int!
895875

876+
"""`config_name` of the failed row."""
877+
configName: String!
878+
896879
"""Reason for the failure."""
897880
message: String!
898881
}
@@ -7177,7 +7160,7 @@ type Mutation {
71777160
adminBulkUpdateAppConfigPolicies(input: AdminBulkUpdateAppConfigPolicyInput!): AdminBulkUpdateAppConfigPoliciesPayload!
71787161

71797162
"""
7180-
Added in UNRELEASED. Hard-delete policies by row id; rows still referenced by fragments surface in `failed`. Admin only.
7163+
Added in UNRELEASED. Rejects items whose `config_name` still has referencing fragment rows. Admin only.
71817164
"""
71827165
adminBulkPurgeAppConfigPolicies(input: AdminBulkPurgeAppConfigPolicyInput!): AdminBulkPurgeAppConfigPoliciesPayload!
71837166

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

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

90058988
"""
90068989
Added in UNRELEASED. List app-config policies with filtering and pagination. Available to any authenticated user.
@@ -9018,12 +9001,12 @@ type Query {
90189001
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!]!
90199002

90209003
"""
9021-
Added in UNRELEASED. Public (no-auth) `PUBLIC`-scope app-config fragments — the subset of raw fragments that carry no personally-scoped data.
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).
90229005
"""
90239006
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!]!
90249007

90259008
"""
9026-
Added in UNRELEASED. Caller's own merged AppConfig list (auth required). Chain per policy ; the adapter pins `(USER, current_user)` internally.
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.
90279010
"""
90289011
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!]!
90299012

0 commit comments

Comments
 (0)