@openrails/contentkit-ui 0.91.0 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -6
- package/dist/client/client.d.ts +2 -2
- package/dist/client/client.js +2 -2
- package/dist/client/client.js.map +1 -1
- package/dist/client/content/comments.js +3 -3
- package/dist/client/content/comments.js.map +1 -1
- package/dist/client/content/favorites.d.ts +2 -2
- package/dist/client/content/favorites.js +2 -2
- package/dist/client/content/favorites.js.map +1 -1
- package/dist/client/content/reactions.js +2 -2
- package/dist/client/content/reactions.js.map +1 -1
- package/dist/client/content/types.d.ts +2 -2
- package/dist/client/content/types.js.map +1 -1
- package/dist/client/contents.d.ts +4 -2
- package/dist/client/contents.js +7 -2
- package/dist/client/contents.js.map +1 -1
- package/dist/client/discovery.d.ts +2 -2
- package/dist/client/discovery.js +2 -2
- package/dist/client/discovery.js.map +1 -1
- package/dist/client/{groups.d.ts → entities.d.ts} +14 -14
- package/dist/client/{groups.js → entities.js} +19 -19
- package/dist/client/entities.js.map +1 -0
- package/dist/client/generated/error-codes.d.ts +1 -1
- package/dist/client/generated/error-codes.js +28 -0
- package/dist/client/generated/error-codes.js.map +1 -1
- package/dist/client/generated/routes.d.ts +158 -106
- package/dist/client/generated/routes.js +190 -106
- package/dist/client/generated/routes.js.map +1 -1
- package/dist/client/generated/wire.d.ts +75 -12
- package/dist/client/generated/wire.js.map +1 -1
- package/dist/client/http.d.ts +4 -2
- package/dist/client/http.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/offers.js +4 -4
- package/dist/client/offers.js.map +1 -1
- package/dist/client.js +2 -2
- package/dist/components/admin/content-admin.js +1 -1
- package/dist/components/admin/content-admin.js.map +1 -1
- package/dist/components/admin/group-manager.js +2 -2
- package/dist/components/admin/group-manager.js.map +1 -1
- package/dist/components/content/card.js +3 -3
- package/dist/components/content/card.js.map +1 -1
- package/dist/components/content/editors.js +2 -2
- package/dist/components/content/editors.js.map +1 -1
- package/dist/components/content/filters.js +6 -6
- package/dist/components/content/filters.js.map +1 -1
- package/dist/components/content/search.js +3 -3
- package/dist/components/content/search.js.map +1 -1
- package/dist/components/groups/banner.d.ts +2 -2
- package/dist/components/groups/banner.js.map +1 -1
- package/dist/components/groups/editor.js +2 -2
- package/dist/components/groups/editor.js.map +1 -1
- package/dist/components/groups/header.js +1 -1
- package/dist/components/groups/header.js.map +1 -1
- package/dist/components/groups/memberships.js +6 -6
- package/dist/components/groups/memberships.js.map +1 -1
- package/dist/components/groups/parts.js +4 -4
- package/dist/components/groups/parts.js.map +1 -1
- package/dist/locales/de.js +7 -0
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/en.d.ts +7 -0
- package/dist/locales/en.js +7 -0
- package/dist/locales/en.js.map +1 -1
- package/dist/locales/es.js +7 -0
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/ja.js +7 -0
- package/dist/locales/ja.js.map +1 -1
- package/dist/locales/ko.js +7 -0
- package/dist/locales/ko.js.map +1 -1
- package/dist/locales/zh.js +7 -0
- package/dist/locales/zh.js.map +1 -1
- package/dist/react/admin.js +1 -1
- package/dist/react/admin.js.map +1 -1
- package/dist/react/discovery.d.ts +1 -1
- package/dist/react/discovery.js +5 -5
- package/dist/react/discovery.js.map +1 -1
- package/dist/react/groups.d.ts +5 -5
- package/dist/react/groups.js +21 -21
- package/dist/react/groups.js.map +1 -1
- package/dist/react/resources.js +1 -1
- package/dist/react/resources.js.map +1 -1
- package/package.json +2 -2
- package/dist/client/groups.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type ContentKitModule = "kinds" | "content" | "contents" | "upload" | "media" | "codes" | "
|
|
1
|
+
export type ContentKitModule = "kinds" | "content" | "contents" | "upload" | "media" | "codes" | "entities" | "notifications" | "versions" | "offers" | "discovery" | "import" | "publishing";
|
|
2
2
|
export declare const CONTENTKIT_MODULES: Readonly<Record<ContentKitModule, string>>;
|
|
3
3
|
export type ContentKitRoute = {
|
|
4
4
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
5
5
|
module: ContentKitModule;
|
|
6
6
|
path: string;
|
|
7
|
-
auth: "open" | "public" | "user" | "staff" | "editor";
|
|
7
|
+
auth: "open" | "public" | "user" | "person" | "staff" | "editor";
|
|
8
8
|
permission: string | null;
|
|
9
9
|
query: readonly string[];
|
|
10
10
|
request: string | null;
|
|
@@ -68,7 +68,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
68
68
|
}, {
|
|
69
69
|
readonly method: "GET";
|
|
70
70
|
readonly module: "content";
|
|
71
|
-
readonly path: "/
|
|
71
|
+
readonly path: "/entities/{id}/comments";
|
|
72
72
|
readonly auth: "public";
|
|
73
73
|
readonly permission: null;
|
|
74
74
|
readonly query: readonly ["language", "sort", "limit", "offset"];
|
|
@@ -81,7 +81,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
81
81
|
}, {
|
|
82
82
|
readonly method: "POST";
|
|
83
83
|
readonly module: "content";
|
|
84
|
-
readonly path: "/
|
|
84
|
+
readonly path: "/entities/{id}/comments";
|
|
85
85
|
readonly auth: "public";
|
|
86
86
|
readonly permission: null;
|
|
87
87
|
readonly query: readonly [];
|
|
@@ -214,7 +214,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
214
214
|
readonly method: "POST";
|
|
215
215
|
readonly module: "content";
|
|
216
216
|
readonly path: "/comments/{cid}/hold";
|
|
217
|
-
readonly auth: "
|
|
217
|
+
readonly auth: "person";
|
|
218
218
|
readonly permission: null;
|
|
219
219
|
readonly query: readonly [];
|
|
220
220
|
readonly request: null;
|
|
@@ -227,7 +227,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
227
227
|
readonly method: "POST";
|
|
228
228
|
readonly module: "content";
|
|
229
229
|
readonly path: "/comments/{cid}/release";
|
|
230
|
-
readonly auth: "
|
|
230
|
+
readonly auth: "person";
|
|
231
231
|
readonly permission: null;
|
|
232
232
|
readonly query: readonly [];
|
|
233
233
|
readonly request: null;
|
|
@@ -291,7 +291,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
291
291
|
}, {
|
|
292
292
|
readonly method: "POST";
|
|
293
293
|
readonly module: "content";
|
|
294
|
-
readonly path: "/
|
|
294
|
+
readonly path: "/entities/{id}/like";
|
|
295
295
|
readonly auth: "public";
|
|
296
296
|
readonly permission: null;
|
|
297
297
|
readonly query: readonly [];
|
|
@@ -304,7 +304,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
304
304
|
}, {
|
|
305
305
|
readonly method: "POST";
|
|
306
306
|
readonly module: "content";
|
|
307
|
-
readonly path: "/
|
|
307
|
+
readonly path: "/entities/{id}/dislike";
|
|
308
308
|
readonly auth: "public";
|
|
309
309
|
readonly permission: null;
|
|
310
310
|
readonly query: readonly [];
|
|
@@ -317,7 +317,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
317
317
|
}, {
|
|
318
318
|
readonly method: "DELETE";
|
|
319
319
|
readonly module: "content";
|
|
320
|
-
readonly path: "/
|
|
320
|
+
readonly path: "/entities/{id}/reaction";
|
|
321
321
|
readonly auth: "public";
|
|
322
322
|
readonly permission: null;
|
|
323
323
|
readonly query: readonly [];
|
|
@@ -330,7 +330,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
330
330
|
}, {
|
|
331
331
|
readonly method: "GET";
|
|
332
332
|
readonly module: "content";
|
|
333
|
-
readonly path: "/
|
|
333
|
+
readonly path: "/entities/{id}/reaction";
|
|
334
334
|
readonly auth: "public";
|
|
335
335
|
readonly permission: null;
|
|
336
336
|
readonly query: readonly [];
|
|
@@ -382,7 +382,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
382
382
|
}, {
|
|
383
383
|
readonly method: "POST";
|
|
384
384
|
readonly module: "content";
|
|
385
|
-
readonly path: "/
|
|
385
|
+
readonly path: "/entities/{id}/favorite";
|
|
386
386
|
readonly auth: "user";
|
|
387
387
|
readonly permission: null;
|
|
388
388
|
readonly query: readonly [];
|
|
@@ -395,7 +395,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
395
395
|
}, {
|
|
396
396
|
readonly method: "DELETE";
|
|
397
397
|
readonly module: "content";
|
|
398
|
-
readonly path: "/
|
|
398
|
+
readonly path: "/entities/{id}/favorite";
|
|
399
399
|
readonly auth: "user";
|
|
400
400
|
readonly permission: null;
|
|
401
401
|
readonly query: readonly [];
|
|
@@ -408,7 +408,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
408
408
|
}, {
|
|
409
409
|
readonly method: "GET";
|
|
410
410
|
readonly module: "content";
|
|
411
|
-
readonly path: "/
|
|
411
|
+
readonly path: "/entities/{id}/favorite";
|
|
412
412
|
readonly auth: "public";
|
|
413
413
|
readonly permission: null;
|
|
414
414
|
readonly query: readonly [];
|
|
@@ -681,8 +681,8 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
681
681
|
}, {
|
|
682
682
|
readonly method: "GET";
|
|
683
683
|
readonly module: "content";
|
|
684
|
-
readonly path: "/
|
|
685
|
-
readonly auth: "
|
|
684
|
+
readonly path: "/entities/{id}/held-comments";
|
|
685
|
+
readonly auth: "person";
|
|
686
686
|
readonly permission: null;
|
|
687
687
|
readonly query: readonly ["cursor", "limit"];
|
|
688
688
|
readonly request: null;
|
|
@@ -694,8 +694,8 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
694
694
|
}, {
|
|
695
695
|
readonly method: "GET";
|
|
696
696
|
readonly module: "content";
|
|
697
|
-
readonly path: "/
|
|
698
|
-
readonly auth: "
|
|
697
|
+
readonly path: "/entities/{id}/comment-bans";
|
|
698
|
+
readonly auth: "person";
|
|
699
699
|
readonly permission: null;
|
|
700
700
|
readonly query: readonly ["limit", "offset"];
|
|
701
701
|
readonly request: null;
|
|
@@ -707,8 +707,8 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
707
707
|
}, {
|
|
708
708
|
readonly method: "PUT";
|
|
709
709
|
readonly module: "content";
|
|
710
|
-
readonly path: "/
|
|
711
|
-
readonly auth: "
|
|
710
|
+
readonly path: "/entities/{id}/comment-bans/{user}";
|
|
711
|
+
readonly auth: "person";
|
|
712
712
|
readonly permission: null;
|
|
713
713
|
readonly query: readonly [];
|
|
714
714
|
readonly request: "BanInput";
|
|
@@ -720,8 +720,8 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
720
720
|
}, {
|
|
721
721
|
readonly method: "DELETE";
|
|
722
722
|
readonly module: "content";
|
|
723
|
-
readonly path: "/
|
|
724
|
-
readonly auth: "
|
|
723
|
+
readonly path: "/entities/{id}/comment-bans/{user}";
|
|
724
|
+
readonly auth: "person";
|
|
725
725
|
readonly permission: null;
|
|
726
726
|
readonly query: readonly [];
|
|
727
727
|
readonly request: null;
|
|
@@ -746,7 +746,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
746
746
|
}, {
|
|
747
747
|
readonly method: "GET";
|
|
748
748
|
readonly module: "content";
|
|
749
|
-
readonly path: "/
|
|
749
|
+
readonly path: "/entities/{id}/can-comment";
|
|
750
750
|
readonly auth: "public";
|
|
751
751
|
readonly permission: null;
|
|
752
752
|
readonly query: readonly [];
|
|
@@ -902,16 +902,29 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
902
902
|
}, {
|
|
903
903
|
readonly method: "GET";
|
|
904
904
|
readonly module: "contents";
|
|
905
|
-
readonly path: "/manage
|
|
905
|
+
readonly path: "/manage";
|
|
906
906
|
readonly auth: "public";
|
|
907
907
|
readonly permission: null;
|
|
908
|
-
readonly query: readonly ["
|
|
908
|
+
readonly query: readonly ["state", "owner_group", "q", "language", "limit", "offset"];
|
|
909
909
|
readonly request: null;
|
|
910
910
|
readonly responses: {
|
|
911
911
|
readonly 200: "Content[]";
|
|
912
912
|
};
|
|
913
913
|
readonly errors: readonly [];
|
|
914
914
|
readonly errorSets: readonly ["module:contents", "auth", "request"];
|
|
915
|
+
}, {
|
|
916
|
+
readonly method: "GET";
|
|
917
|
+
readonly module: "contents";
|
|
918
|
+
readonly path: "/manage/{kind}";
|
|
919
|
+
readonly auth: "public";
|
|
920
|
+
readonly permission: null;
|
|
921
|
+
readonly query: readonly ["state", "owner_group", "q", "language", "limit", "offset"];
|
|
922
|
+
readonly request: null;
|
|
923
|
+
readonly responses: {
|
|
924
|
+
readonly 200: "Content[]";
|
|
925
|
+
};
|
|
926
|
+
readonly errors: readonly ["not_found"];
|
|
927
|
+
readonly errorSets: readonly ["module:contents", "auth", "request"];
|
|
915
928
|
}, {
|
|
916
929
|
readonly method: "POST";
|
|
917
930
|
readonly module: "contents";
|
|
@@ -1306,8 +1319,8 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1306
1319
|
readonly errorSets: readonly ["module:codes", "request"];
|
|
1307
1320
|
}, {
|
|
1308
1321
|
readonly method: "GET";
|
|
1309
|
-
readonly module: "
|
|
1310
|
-
readonly path: "/
|
|
1322
|
+
readonly module: "entities";
|
|
1323
|
+
readonly path: "/entities";
|
|
1311
1324
|
readonly auth: "public";
|
|
1312
1325
|
readonly permission: null;
|
|
1313
1326
|
readonly query: readonly ["kind", "parent", "scope", "slug", "letter", "language", "content_kind", "sort", "cursor", "limit"];
|
|
@@ -1316,11 +1329,11 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1316
1329
|
readonly 200: "GroupPage";
|
|
1317
1330
|
};
|
|
1318
1331
|
readonly errors: readonly [];
|
|
1319
|
-
readonly errorSets: readonly ["module:
|
|
1332
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1320
1333
|
}, {
|
|
1321
1334
|
readonly method: "GET";
|
|
1322
|
-
readonly module: "
|
|
1323
|
-
readonly path: "/
|
|
1335
|
+
readonly module: "entities";
|
|
1336
|
+
readonly path: "/entities/{id}";
|
|
1324
1337
|
readonly auth: "public";
|
|
1325
1338
|
readonly permission: null;
|
|
1326
1339
|
readonly query: readonly ["language"];
|
|
@@ -1329,11 +1342,11 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1329
1342
|
readonly 200: "GroupDetail";
|
|
1330
1343
|
};
|
|
1331
1344
|
readonly errors: readonly ["not_found"];
|
|
1332
|
-
readonly errorSets: readonly ["module:
|
|
1345
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1333
1346
|
}, {
|
|
1334
1347
|
readonly method: "GET";
|
|
1335
|
-
readonly module: "
|
|
1336
|
-
readonly path: "/me/
|
|
1348
|
+
readonly module: "entities";
|
|
1349
|
+
readonly path: "/me/entities";
|
|
1337
1350
|
readonly auth: "user";
|
|
1338
1351
|
readonly permission: null;
|
|
1339
1352
|
readonly query: readonly ["kind", "language", "sort", "cursor", "limit"];
|
|
@@ -1342,202 +1355,202 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1342
1355
|
readonly 200: "MyGroupPage";
|
|
1343
1356
|
};
|
|
1344
1357
|
readonly errors: readonly [];
|
|
1345
|
-
readonly errorSets: readonly ["module:
|
|
1358
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1346
1359
|
}, {
|
|
1347
1360
|
readonly method: "POST";
|
|
1348
|
-
readonly module: "
|
|
1349
|
-
readonly path: "/
|
|
1361
|
+
readonly module: "entities";
|
|
1362
|
+
readonly path: "/entities";
|
|
1350
1363
|
readonly auth: "editor";
|
|
1351
|
-
readonly permission: "root:
|
|
1364
|
+
readonly permission: "root:entities:write";
|
|
1352
1365
|
readonly query: readonly [];
|
|
1353
1366
|
readonly request: "GroupInput[]";
|
|
1354
1367
|
readonly responses: {
|
|
1355
1368
|
readonly 201: "Group[]";
|
|
1356
1369
|
};
|
|
1357
1370
|
readonly errors: readonly ["conflict", "not_found", "limit_reached"];
|
|
1358
|
-
readonly errorSets: readonly ["module:
|
|
1371
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1359
1372
|
}, {
|
|
1360
1373
|
readonly method: "PATCH";
|
|
1361
|
-
readonly module: "
|
|
1362
|
-
readonly path: "/
|
|
1374
|
+
readonly module: "entities";
|
|
1375
|
+
readonly path: "/entities/{id}";
|
|
1363
1376
|
readonly auth: "editor";
|
|
1364
|
-
readonly permission: "root:
|
|
1377
|
+
readonly permission: "root:entities:write";
|
|
1365
1378
|
readonly query: readonly [];
|
|
1366
1379
|
readonly request: "GroupUpdate";
|
|
1367
1380
|
readonly responses: {
|
|
1368
1381
|
readonly 200: "Group";
|
|
1369
1382
|
};
|
|
1370
1383
|
readonly errors: readonly ["conflict", "not_found", "limit_reached"];
|
|
1371
|
-
readonly errorSets: readonly ["module:
|
|
1384
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1372
1385
|
}, {
|
|
1373
1386
|
readonly method: "DELETE";
|
|
1374
|
-
readonly module: "
|
|
1375
|
-
readonly path: "/
|
|
1387
|
+
readonly module: "entities";
|
|
1388
|
+
readonly path: "/entities/{id}";
|
|
1376
1389
|
readonly auth: "editor";
|
|
1377
|
-
readonly permission: "root:
|
|
1390
|
+
readonly permission: "root:entities:write";
|
|
1378
1391
|
readonly query: readonly [];
|
|
1379
1392
|
readonly request: null;
|
|
1380
1393
|
readonly responses: {
|
|
1381
1394
|
readonly 200: "Group";
|
|
1382
1395
|
};
|
|
1383
1396
|
readonly errors: readonly ["not_found"];
|
|
1384
|
-
readonly errorSets: readonly ["module:
|
|
1397
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1385
1398
|
}, {
|
|
1386
1399
|
readonly method: "PUT";
|
|
1387
|
-
readonly module: "
|
|
1388
|
-
readonly path: "/
|
|
1400
|
+
readonly module: "entities";
|
|
1401
|
+
readonly path: "/entities/{id}/names";
|
|
1389
1402
|
readonly auth: "staff";
|
|
1390
|
-
readonly permission: "root:
|
|
1403
|
+
readonly permission: "root:entities:write";
|
|
1391
1404
|
readonly query: readonly [];
|
|
1392
1405
|
readonly request: "Name[]";
|
|
1393
1406
|
readonly responses: {
|
|
1394
1407
|
readonly 200: "Name[]";
|
|
1395
1408
|
};
|
|
1396
1409
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1397
|
-
readonly errorSets: readonly ["module:
|
|
1410
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1398
1411
|
}, {
|
|
1399
1412
|
readonly method: "POST";
|
|
1400
|
-
readonly module: "
|
|
1401
|
-
readonly path: "/
|
|
1413
|
+
readonly module: "entities";
|
|
1414
|
+
readonly path: "/entities/{id}/names";
|
|
1402
1415
|
readonly auth: "staff";
|
|
1403
|
-
readonly permission: "root:
|
|
1416
|
+
readonly permission: "root:entities:write";
|
|
1404
1417
|
readonly query: readonly [];
|
|
1405
1418
|
readonly request: "Name[]";
|
|
1406
1419
|
readonly responses: {
|
|
1407
1420
|
readonly 200: "Name[]";
|
|
1408
1421
|
};
|
|
1409
1422
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1410
|
-
readonly errorSets: readonly ["module:
|
|
1423
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1411
1424
|
}, {
|
|
1412
1425
|
readonly method: "DELETE";
|
|
1413
|
-
readonly module: "
|
|
1414
|
-
readonly path: "/
|
|
1426
|
+
readonly module: "entities";
|
|
1427
|
+
readonly path: "/entities/{id}/names";
|
|
1415
1428
|
readonly auth: "staff";
|
|
1416
|
-
readonly permission: "root:
|
|
1429
|
+
readonly permission: "root:entities:write";
|
|
1417
1430
|
readonly query: readonly [];
|
|
1418
1431
|
readonly request: "Name[]";
|
|
1419
1432
|
readonly responses: {
|
|
1420
1433
|
readonly 200: "Name[]";
|
|
1421
1434
|
};
|
|
1422
1435
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1423
|
-
readonly errorSets: readonly ["module:
|
|
1436
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1424
1437
|
}, {
|
|
1425
1438
|
readonly method: "POST";
|
|
1426
|
-
readonly module: "
|
|
1427
|
-
readonly path: "/
|
|
1439
|
+
readonly module: "entities";
|
|
1440
|
+
readonly path: "/entities/{id}/edges";
|
|
1428
1441
|
readonly auth: "staff";
|
|
1429
|
-
readonly permission: "root:
|
|
1442
|
+
readonly permission: "root:entities:write";
|
|
1430
1443
|
readonly query: readonly [];
|
|
1431
1444
|
readonly request: "EdgeInput[]";
|
|
1432
1445
|
readonly responses: {
|
|
1433
1446
|
readonly 200: "Edge[]";
|
|
1434
1447
|
};
|
|
1435
1448
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1436
|
-
readonly errorSets: readonly ["module:
|
|
1449
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1437
1450
|
}, {
|
|
1438
1451
|
readonly method: "DELETE";
|
|
1439
|
-
readonly module: "
|
|
1440
|
-
readonly path: "/
|
|
1452
|
+
readonly module: "entities";
|
|
1453
|
+
readonly path: "/entities/{id}/edges";
|
|
1441
1454
|
readonly auth: "staff";
|
|
1442
|
-
readonly permission: "root:
|
|
1455
|
+
readonly permission: "root:entities:write";
|
|
1443
1456
|
readonly query: readonly [];
|
|
1444
1457
|
readonly request: "EdgeInput[]";
|
|
1445
1458
|
readonly responses: {
|
|
1446
1459
|
readonly 200: "Edge[]";
|
|
1447
1460
|
};
|
|
1448
1461
|
readonly errors: readonly [];
|
|
1449
|
-
readonly errorSets: readonly ["module:
|
|
1462
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1450
1463
|
}, {
|
|
1451
1464
|
readonly method: "POST";
|
|
1452
|
-
readonly module: "
|
|
1453
|
-
readonly path: "/
|
|
1465
|
+
readonly module: "entities";
|
|
1466
|
+
readonly path: "/entities/{id}/merge";
|
|
1454
1467
|
readonly auth: "staff";
|
|
1455
|
-
readonly permission: "root:
|
|
1468
|
+
readonly permission: "root:entities:write";
|
|
1456
1469
|
readonly query: readonly [];
|
|
1457
1470
|
readonly request: "MergeInput";
|
|
1458
1471
|
readonly responses: {
|
|
1459
1472
|
readonly 200: "MergeReport";
|
|
1460
1473
|
};
|
|
1461
1474
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1462
|
-
readonly errorSets: readonly ["module:
|
|
1475
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1463
1476
|
}, {
|
|
1464
1477
|
readonly method: "GET";
|
|
1465
|
-
readonly module: "
|
|
1466
|
-
readonly path: "/
|
|
1478
|
+
readonly module: "entities";
|
|
1479
|
+
readonly path: "/entities/{id}/members";
|
|
1467
1480
|
readonly auth: "staff";
|
|
1468
|
-
readonly permission: "root:
|
|
1481
|
+
readonly permission: "root:entities:write";
|
|
1469
1482
|
readonly query: readonly ["cursor", "limit"];
|
|
1470
1483
|
readonly request: null;
|
|
1471
1484
|
readonly responses: {
|
|
1472
1485
|
readonly 200: "MemberPage";
|
|
1473
1486
|
};
|
|
1474
1487
|
readonly errors: readonly ["not_found"];
|
|
1475
|
-
readonly errorSets: readonly ["module:
|
|
1488
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1476
1489
|
}, {
|
|
1477
1490
|
readonly method: "POST";
|
|
1478
|
-
readonly module: "
|
|
1479
|
-
readonly path: "/
|
|
1491
|
+
readonly module: "entities";
|
|
1492
|
+
readonly path: "/entities/{id}/members";
|
|
1480
1493
|
readonly auth: "staff";
|
|
1481
|
-
readonly permission: "root:
|
|
1494
|
+
readonly permission: "root:entities:write";
|
|
1482
1495
|
readonly query: readonly [];
|
|
1483
1496
|
readonly request: "Membership[]";
|
|
1484
1497
|
readonly responses: {
|
|
1485
1498
|
readonly 200: "Written";
|
|
1486
1499
|
};
|
|
1487
1500
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1488
|
-
readonly errorSets: readonly ["module:
|
|
1501
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1489
1502
|
}, {
|
|
1490
1503
|
readonly method: "DELETE";
|
|
1491
|
-
readonly module: "
|
|
1492
|
-
readonly path: "/
|
|
1504
|
+
readonly module: "entities";
|
|
1505
|
+
readonly path: "/entities/{id}/members";
|
|
1493
1506
|
readonly auth: "staff";
|
|
1494
|
-
readonly permission: "root:
|
|
1507
|
+
readonly permission: "root:entities:write";
|
|
1495
1508
|
readonly query: readonly [];
|
|
1496
1509
|
readonly request: "Membership[]";
|
|
1497
1510
|
readonly responses: {
|
|
1498
1511
|
readonly 200: "Written";
|
|
1499
1512
|
};
|
|
1500
1513
|
readonly errors: readonly [];
|
|
1501
|
-
readonly errorSets: readonly ["module:
|
|
1514
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1502
1515
|
}, {
|
|
1503
1516
|
readonly method: "PUT";
|
|
1504
|
-
readonly module: "
|
|
1505
|
-
readonly path: "/
|
|
1517
|
+
readonly module: "entities";
|
|
1518
|
+
readonly path: "/entities/{id}/members/order";
|
|
1506
1519
|
readonly auth: "staff";
|
|
1507
|
-
readonly permission: "root:
|
|
1520
|
+
readonly permission: "root:entities:write";
|
|
1508
1521
|
readonly query: readonly [];
|
|
1509
1522
|
readonly request: "Order";
|
|
1510
1523
|
readonly responses: {
|
|
1511
1524
|
readonly 200: "Written";
|
|
1512
1525
|
};
|
|
1513
1526
|
readonly errors: readonly ["not_found"];
|
|
1514
|
-
readonly errorSets: readonly ["module:
|
|
1527
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1515
1528
|
}, {
|
|
1516
1529
|
readonly method: "GET";
|
|
1517
|
-
readonly module: "
|
|
1518
|
-
readonly path: "/contents/{id}/
|
|
1530
|
+
readonly module: "entities";
|
|
1531
|
+
readonly path: "/contents/{id}/entities";
|
|
1519
1532
|
readonly auth: "staff";
|
|
1520
|
-
readonly permission: "root:
|
|
1533
|
+
readonly permission: "root:entities:write";
|
|
1521
1534
|
readonly query: readonly ["language"];
|
|
1522
1535
|
readonly request: null;
|
|
1523
1536
|
readonly responses: {
|
|
1524
1537
|
readonly 200: "ContentMemberships";
|
|
1525
1538
|
};
|
|
1526
1539
|
readonly errors: readonly [];
|
|
1527
|
-
readonly errorSets: readonly ["module:
|
|
1540
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1528
1541
|
}, {
|
|
1529
1542
|
readonly method: "PUT";
|
|
1530
|
-
readonly module: "
|
|
1531
|
-
readonly path: "/contents/{id}/
|
|
1543
|
+
readonly module: "entities";
|
|
1544
|
+
readonly path: "/contents/{id}/entities";
|
|
1532
1545
|
readonly auth: "staff";
|
|
1533
|
-
readonly permission: "root:
|
|
1546
|
+
readonly permission: "root:entities:write";
|
|
1534
1547
|
readonly query: readonly ["language"];
|
|
1535
1548
|
readonly request: "ContentGroups";
|
|
1536
1549
|
readonly responses: {
|
|
1537
1550
|
readonly 200: "ContentMemberships";
|
|
1538
1551
|
};
|
|
1539
1552
|
readonly errors: readonly ["conflict", "not_found"];
|
|
1540
|
-
readonly errorSets: readonly ["module:
|
|
1553
|
+
readonly errorSets: readonly ["module:entities", "auth", "request"];
|
|
1541
1554
|
}, {
|
|
1542
1555
|
readonly method: "GET";
|
|
1543
1556
|
readonly module: "notifications";
|
|
@@ -1738,7 +1751,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1738
1751
|
}, {
|
|
1739
1752
|
readonly method: "PUT";
|
|
1740
1753
|
readonly module: "offers";
|
|
1741
|
-
readonly path: "/
|
|
1754
|
+
readonly path: "/entities/{id}/offer";
|
|
1742
1755
|
readonly auth: "editor";
|
|
1743
1756
|
readonly permission: "root:offers:write";
|
|
1744
1757
|
readonly query: readonly [];
|
|
@@ -1751,7 +1764,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1751
1764
|
}, {
|
|
1752
1765
|
readonly method: "DELETE";
|
|
1753
1766
|
readonly module: "offers";
|
|
1754
|
-
readonly path: "/
|
|
1767
|
+
readonly path: "/entities/{id}/offer";
|
|
1755
1768
|
readonly auth: "editor";
|
|
1756
1769
|
readonly permission: "root:offers:write";
|
|
1757
1770
|
readonly query: readonly [];
|
|
@@ -1764,7 +1777,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1764
1777
|
}, {
|
|
1765
1778
|
readonly method: "POST";
|
|
1766
1779
|
readonly module: "offers";
|
|
1767
|
-
readonly path: "/
|
|
1780
|
+
readonly path: "/entities/{id}/join";
|
|
1768
1781
|
readonly auth: "user";
|
|
1769
1782
|
readonly permission: null;
|
|
1770
1783
|
readonly query: readonly [];
|
|
@@ -1777,7 +1790,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1777
1790
|
}, {
|
|
1778
1791
|
readonly method: "DELETE";
|
|
1779
1792
|
readonly module: "offers";
|
|
1780
|
-
readonly path: "/
|
|
1793
|
+
readonly path: "/entities/{id}/join";
|
|
1781
1794
|
readonly auth: "user";
|
|
1782
1795
|
readonly permission: null;
|
|
1783
1796
|
readonly query: readonly [];
|
|
@@ -1819,7 +1832,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1819
1832
|
readonly path: "/contents";
|
|
1820
1833
|
readonly auth: "public";
|
|
1821
1834
|
readonly permission: null;
|
|
1822
|
-
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "
|
|
1835
|
+
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "card_entities", "cursor", "limit"];
|
|
1823
1836
|
readonly request: null;
|
|
1824
1837
|
readonly responses: {
|
|
1825
1838
|
readonly 200: "ContentPage";
|
|
@@ -1832,7 +1845,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1832
1845
|
readonly path: "/search";
|
|
1833
1846
|
readonly auth: "public";
|
|
1834
1847
|
readonly permission: null;
|
|
1835
|
-
readonly query: readonly ["q", "kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "
|
|
1848
|
+
readonly query: readonly ["q", "kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "card_entities", "personalize", "session", "cursor", "limit"];
|
|
1836
1849
|
readonly request: null;
|
|
1837
1850
|
readonly responses: {
|
|
1838
1851
|
readonly 200: "ContentPage";
|
|
@@ -1845,7 +1858,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1845
1858
|
readonly path: "/typeahead";
|
|
1846
1859
|
readonly auth: "public";
|
|
1847
1860
|
readonly permission: null;
|
|
1848
|
-
readonly query: readonly ["q", "kind", "
|
|
1861
|
+
readonly query: readonly ["q", "kind", "entity_kinds", "language", "display_language", "mode", "limit"];
|
|
1849
1862
|
readonly request: null;
|
|
1850
1863
|
readonly responses: {
|
|
1851
1864
|
readonly 200: "Typeahead";
|
|
@@ -1858,7 +1871,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1858
1871
|
readonly path: "/contents/{id}/similar";
|
|
1859
1872
|
readonly auth: "public";
|
|
1860
1873
|
readonly permission: null;
|
|
1861
|
-
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "
|
|
1874
|
+
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "card_entities", "limit"];
|
|
1862
1875
|
readonly request: null;
|
|
1863
1876
|
readonly responses: {
|
|
1864
1877
|
readonly 200: "ContentPage";
|
|
@@ -1871,7 +1884,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1871
1884
|
readonly path: "/recommendations";
|
|
1872
1885
|
readonly auth: "user";
|
|
1873
1886
|
readonly permission: null;
|
|
1874
|
-
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "
|
|
1887
|
+
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "card_entities", "limit"];
|
|
1875
1888
|
readonly request: null;
|
|
1876
1889
|
readonly responses: {
|
|
1877
1890
|
readonly 200: "ContentPage";
|
|
@@ -1923,7 +1936,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1923
1936
|
readonly path: "/me/history";
|
|
1924
1937
|
readonly auth: "user";
|
|
1925
1938
|
readonly permission: null;
|
|
1926
|
-
readonly query: readonly ["kind", "status", "
|
|
1939
|
+
readonly query: readonly ["kind", "status", "card_entities", "language", "display_language", "mode", "cursor", "limit"];
|
|
1927
1940
|
readonly request: null;
|
|
1928
1941
|
readonly responses: {
|
|
1929
1942
|
readonly 200: "ContentPage";
|
|
@@ -1975,7 +1988,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1975
1988
|
readonly path: "/me/favorites";
|
|
1976
1989
|
readonly auth: "user";
|
|
1977
1990
|
readonly permission: null;
|
|
1978
|
-
readonly query: readonly ["target", "kind", "
|
|
1991
|
+
readonly query: readonly ["target", "kind", "card_entities", "cursor", "limit", "language", "display_language", "mode"];
|
|
1979
1992
|
readonly request: null;
|
|
1980
1993
|
readonly responses: {
|
|
1981
1994
|
readonly 200: "InteractionPage";
|
|
@@ -1988,7 +2001,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1988
2001
|
readonly path: "/me/reactions";
|
|
1989
2002
|
readonly auth: "user";
|
|
1990
2003
|
readonly permission: null;
|
|
1991
|
-
readonly query: readonly ["value", "target", "kind", "
|
|
2004
|
+
readonly query: readonly ["value", "target", "kind", "card_entities", "cursor", "limit", "language", "display_language", "mode"];
|
|
1992
2005
|
readonly request: null;
|
|
1993
2006
|
readonly responses: {
|
|
1994
2007
|
readonly 200: "InteractionPage";
|
|
@@ -2037,7 +2050,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
2037
2050
|
}, {
|
|
2038
2051
|
readonly method: "GET";
|
|
2039
2052
|
readonly module: "discovery";
|
|
2040
|
-
readonly path: "/sitemap/
|
|
2053
|
+
readonly path: "/sitemap/entities";
|
|
2041
2054
|
readonly auth: "open";
|
|
2042
2055
|
readonly permission: null;
|
|
2043
2056
|
readonly query: readonly ["kind", "cursor", "limit"];
|
|
@@ -2112,5 +2125,44 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
2112
2125
|
};
|
|
2113
2126
|
readonly errors: readonly [];
|
|
2114
2127
|
readonly errorSets: readonly ["module:import", "auth", "request"];
|
|
2128
|
+
}, {
|
|
2129
|
+
readonly method: "PUT";
|
|
2130
|
+
readonly module: "publishing";
|
|
2131
|
+
readonly path: "/publishing-operations/{id}";
|
|
2132
|
+
readonly auth: "public";
|
|
2133
|
+
readonly permission: null;
|
|
2134
|
+
readonly query: readonly [];
|
|
2135
|
+
readonly request: "Request";
|
|
2136
|
+
readonly responses: {
|
|
2137
|
+
readonly 200: "Operation";
|
|
2138
|
+
};
|
|
2139
|
+
readonly errors: readonly ["operation_conflict", "source_conflict", "ambiguous_entity", "unknown_entity", "operation_busy", "forbidden", "not_configured"];
|
|
2140
|
+
readonly errorSets: readonly ["module:publishing", "auth", "request"];
|
|
2141
|
+
}, {
|
|
2142
|
+
readonly method: "POST";
|
|
2143
|
+
readonly module: "publishing";
|
|
2144
|
+
readonly path: "/publishing-operations/{id}/complete";
|
|
2145
|
+
readonly auth: "public";
|
|
2146
|
+
readonly permission: null;
|
|
2147
|
+
readonly query: readonly [];
|
|
2148
|
+
readonly request: "CompleteRequest";
|
|
2149
|
+
readonly responses: {
|
|
2150
|
+
readonly 202: "Operation";
|
|
2151
|
+
};
|
|
2152
|
+
readonly errors: readonly ["not_found", "forbidden", "not_uploaded", "operation_busy"];
|
|
2153
|
+
readonly errorSets: readonly ["module:publishing", "auth", "request"];
|
|
2154
|
+
}, {
|
|
2155
|
+
readonly method: "GET";
|
|
2156
|
+
readonly module: "publishing";
|
|
2157
|
+
readonly path: "/publishing-operations/{id}";
|
|
2158
|
+
readonly auth: "public";
|
|
2159
|
+
readonly permission: null;
|
|
2160
|
+
readonly query: readonly [];
|
|
2161
|
+
readonly request: null;
|
|
2162
|
+
readonly responses: {
|
|
2163
|
+
readonly 200: "Operation";
|
|
2164
|
+
};
|
|
2165
|
+
readonly errors: readonly ["not_found", "forbidden"];
|
|
2166
|
+
readonly errorSets: readonly ["module:publishing", "auth", "request"];
|
|
2115
2167
|
}];
|
|
2116
2168
|
export declare const CONTENTKIT_ERROR_SETS: Readonly<Record<string, readonly string[]>>;
|