@strapi/content-releases 5.0.0-beta.10 → 5.0.0-beta.11
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/dist/_chunks/{App-CEwOQkKT.js → App-B5UOQWbt.js} +150 -136
- package/dist/_chunks/App-B5UOQWbt.js.map +1 -0
- package/dist/_chunks/{App-B2R2exNT.mjs → App-DcXlnXrr.mjs} +152 -138
- package/dist/_chunks/App-DcXlnXrr.mjs.map +1 -0
- package/dist/_chunks/SettingsPage-ped5WZ6Q.js +40 -0
- package/dist/_chunks/SettingsPage-ped5WZ6Q.js.map +1 -0
- package/dist/_chunks/SettingsPage-w5dOMAtL.mjs +40 -0
- package/dist/_chunks/SettingsPage-w5dOMAtL.mjs.map +1 -0
- package/dist/_chunks/{en-DtFJ5ViE.js → en-aH5E5UNw.js} +2 -1
- package/dist/_chunks/en-aH5E5UNw.js.map +1 -0
- package/dist/_chunks/{en-B9Ur3VsE.mjs → en-ahPQUZv2.mjs} +2 -1
- package/dist/_chunks/en-ahPQUZv2.mjs.map +1 -0
- package/dist/_chunks/{index-BrWv-zV4.js → index-BgID5UQ7.js} +477 -428
- package/dist/_chunks/index-BgID5UQ7.js.map +1 -0
- package/dist/_chunks/{index-DbmynICx.mjs → index-LUuvped4.mjs} +479 -430
- package/dist/_chunks/index-LUuvped4.mjs.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/ReleaseActionMenu.d.ts +2 -2
- package/dist/admin/src/components/{CMReleasesContainer.d.ts → ReleaseActionModal.d.ts} +3 -1
- package/dist/admin/src/components/ReleasesPanel.d.ts +3 -0
- package/dist/admin/src/pages/SettingsPage.d.ts +1 -0
- package/dist/admin/src/services/release.d.ts +9 -7
- package/dist/server/index.js +784 -600
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +785 -601
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/bootstrap.d.ts.map +1 -1
- package/dist/server/src/constants.d.ts +11 -2
- package/dist/server/src/constants.d.ts.map +1 -1
- package/dist/server/src/content-types/index.d.ts +3 -5
- package/dist/server/src/content-types/index.d.ts.map +1 -1
- package/dist/server/src/content-types/release-action/index.d.ts +3 -5
- package/dist/server/src/content-types/release-action/index.d.ts.map +1 -1
- package/dist/server/src/content-types/release-action/schema.d.ts +3 -5
- package/dist/server/src/content-types/release-action/schema.d.ts.map +1 -1
- package/dist/server/src/controllers/index.d.ts +6 -3
- package/dist/server/src/controllers/index.d.ts.map +1 -1
- package/dist/server/src/controllers/release-action.d.ts +0 -1
- package/dist/server/src/controllers/release-action.d.ts.map +1 -1
- package/dist/server/src/controllers/release.d.ts +7 -2
- package/dist/server/src/controllers/release.d.ts.map +1 -1
- package/dist/server/src/controllers/settings.d.ts +11 -0
- package/dist/server/src/controllers/settings.d.ts.map +1 -0
- package/dist/server/src/controllers/validation/release-action.d.ts +7 -1
- package/dist/server/src/controllers/validation/release-action.d.ts.map +1 -1
- package/dist/server/src/controllers/validation/release.d.ts +1 -0
- package/dist/server/src/controllers/validation/release.d.ts.map +1 -1
- package/dist/server/src/controllers/validation/settings.d.ts +2 -0
- package/dist/server/src/controllers/validation/settings.d.ts.map +1 -0
- package/dist/server/src/index.d.ts +66 -51
- package/dist/server/src/index.d.ts.map +1 -1
- package/dist/server/src/middlewares/documents.d.ts +6 -0
- package/dist/server/src/middlewares/documents.d.ts.map +1 -0
- package/dist/server/src/migrations/database/5.0.0-document-id-in-actions.d.ts +9 -0
- package/dist/server/src/migrations/database/5.0.0-document-id-in-actions.d.ts.map +1 -0
- package/dist/server/src/migrations/index.d.ts.map +1 -1
- package/dist/server/src/register.d.ts.map +1 -1
- package/dist/server/src/routes/index.d.ts +16 -0
- package/dist/server/src/routes/index.d.ts.map +1 -1
- package/dist/server/src/routes/release-action.d.ts.map +1 -1
- package/dist/server/src/routes/release.d.ts.map +1 -1
- package/dist/server/src/routes/settings.d.ts +18 -0
- package/dist/server/src/routes/settings.d.ts.map +1 -0
- package/dist/server/src/services/index.d.ts +38 -38
- package/dist/server/src/services/index.d.ts.map +1 -1
- package/dist/server/src/services/release-action.d.ts +36 -0
- package/dist/server/src/services/release-action.d.ts.map +1 -0
- package/dist/server/src/services/release.d.ts +6 -41
- package/dist/server/src/services/release.d.ts.map +1 -1
- package/dist/server/src/services/settings.d.ts +13 -0
- package/dist/server/src/services/settings.d.ts.map +1 -0
- package/dist/server/src/services/validation.d.ts +1 -1
- package/dist/server/src/services/validation.d.ts.map +1 -1
- package/dist/server/src/utils/index.d.ts +29 -8
- package/dist/server/src/utils/index.d.ts.map +1 -1
- package/dist/shared/contracts/release-actions.d.ts +6 -5
- package/dist/shared/contracts/release-actions.d.ts.map +1 -1
- package/dist/shared/contracts/releases.d.ts +6 -5
- package/dist/shared/contracts/releases.d.ts.map +1 -1
- package/dist/shared/contracts/settings.d.ts +39 -0
- package/dist/shared/contracts/settings.d.ts.map +1 -0
- package/dist/shared/validation-schemas.d.ts +1 -0
- package/dist/shared/validation-schemas.d.ts.map +1 -1
- package/package.json +8 -7
- package/dist/_chunks/App-B2R2exNT.mjs.map +0 -1
- package/dist/_chunks/App-CEwOQkKT.js.map +0 -1
- package/dist/_chunks/en-B9Ur3VsE.mjs.map +0 -1
- package/dist/_chunks/en-DtFJ5ViE.js.map +0 -1
- package/dist/_chunks/index-BrWv-zV4.js.map +0 -1
- package/dist/_chunks/index-DbmynICx.mjs.map +0 -1
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
export declare const RELEASE_MODEL_UID = "plugin::content-releases.release";
|
|
2
2
|
export declare const RELEASE_ACTION_MODEL_UID = "plugin::content-releases.release-action";
|
|
3
|
-
export declare const ACTIONS: {
|
|
3
|
+
export declare const ACTIONS: ({
|
|
4
4
|
section: string;
|
|
5
5
|
displayName: string;
|
|
6
6
|
uid: string;
|
|
7
7
|
pluginName: string;
|
|
8
|
-
|
|
8
|
+
category?: undefined;
|
|
9
|
+
subCategory?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
uid: string;
|
|
12
|
+
section: string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
category: string;
|
|
15
|
+
subCategory: string;
|
|
16
|
+
pluginName: string;
|
|
17
|
+
})[];
|
|
9
18
|
export declare const ALLOWED_WEBHOOK_EVENTS: {
|
|
10
19
|
RELEASES_PUBLISH: string;
|
|
11
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../server/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,qCAAqC,CAAC;AACpE,eAAO,MAAM,wBAAwB,4CAA4C,CAAC;AAElF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../server/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,qCAAqC,CAAC;AACpE,eAAO,MAAM,wBAAwB,4CAA4C,CAAC;AAElF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;IA8DnB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAElC,CAAC"}
|
|
@@ -71,15 +71,13 @@ export declare const contentTypes: {
|
|
|
71
71
|
enum: string[];
|
|
72
72
|
required: boolean;
|
|
73
73
|
};
|
|
74
|
-
entry: {
|
|
75
|
-
type: string;
|
|
76
|
-
relation: string;
|
|
77
|
-
configurable: boolean;
|
|
78
|
-
};
|
|
79
74
|
contentType: {
|
|
80
75
|
type: string;
|
|
81
76
|
required: boolean;
|
|
82
77
|
};
|
|
78
|
+
entryDocumentId: {
|
|
79
|
+
type: string;
|
|
80
|
+
};
|
|
83
81
|
locale: {
|
|
84
82
|
type: string;
|
|
85
83
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAC"}
|
|
@@ -23,15 +23,13 @@ export declare const releaseAction: {
|
|
|
23
23
|
enum: string[];
|
|
24
24
|
required: boolean;
|
|
25
25
|
};
|
|
26
|
-
entry: {
|
|
27
|
-
type: string;
|
|
28
|
-
relation: string;
|
|
29
|
-
configurable: boolean;
|
|
30
|
-
};
|
|
31
26
|
contentType: {
|
|
32
27
|
type: string;
|
|
33
28
|
required: boolean;
|
|
34
29
|
};
|
|
30
|
+
entryDocumentId: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
35
33
|
locale: {
|
|
36
34
|
type: string;
|
|
37
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release-action/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release-action/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEzB,CAAC"}
|
|
@@ -22,15 +22,13 @@ declare const _default: {
|
|
|
22
22
|
enum: string[];
|
|
23
23
|
required: boolean;
|
|
24
24
|
};
|
|
25
|
-
entry: {
|
|
26
|
-
type: string;
|
|
27
|
-
relation: string;
|
|
28
|
-
configurable: boolean;
|
|
29
|
-
};
|
|
30
25
|
contentType: {
|
|
31
26
|
type: string;
|
|
32
27
|
required: boolean;
|
|
33
28
|
};
|
|
29
|
+
entryDocumentId: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
34
32
|
locale: {
|
|
35
33
|
type: string;
|
|
36
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release-action/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release-action/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA4CE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="koa" />
|
|
2
2
|
export declare const controllers: {
|
|
3
3
|
release: {
|
|
4
|
-
|
|
4
|
+
findByDocumentAttached(ctx: import("koa").Context): Promise<void>;
|
|
5
|
+
findPage(ctx: import("koa").Context): Promise<void>;
|
|
5
6
|
findOne(ctx: import("koa").Context): Promise<void>;
|
|
6
|
-
mapEntriesToReleases(ctx: import("koa").Context): Promise<void>;
|
|
7
7
|
create(ctx: import("koa").Context): Promise<void>;
|
|
8
8
|
update(ctx: import("koa").Context): Promise<void>;
|
|
9
9
|
delete(ctx: import("koa").Context): Promise<void>;
|
|
@@ -11,10 +11,13 @@ export declare const controllers: {
|
|
|
11
11
|
};
|
|
12
12
|
'release-action': {
|
|
13
13
|
create(ctx: import("koa").Context): Promise<void>;
|
|
14
|
-
createMany(ctx: import("koa").Context): Promise<void>;
|
|
15
14
|
findMany(ctx: import("koa").Context): Promise<void>;
|
|
16
15
|
update(ctx: import("koa").Context): Promise<void>;
|
|
17
16
|
delete(ctx: import("koa").Context): Promise<void>;
|
|
18
17
|
};
|
|
18
|
+
settings: {
|
|
19
|
+
find(ctx: import("koa").Context): Promise<void>;
|
|
20
|
+
update(ctx: import("koa").Context): Promise<void>;
|
|
21
|
+
};
|
|
19
22
|
};
|
|
20
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type Koa from 'koa';
|
|
2
2
|
declare const releaseActionController: {
|
|
3
3
|
create(ctx: Koa.Context): Promise<void>;
|
|
4
|
-
createMany(ctx: Koa.Context): Promise<void>;
|
|
5
4
|
findMany(ctx: Koa.Context): Promise<void>;
|
|
6
5
|
update(ctx: Koa.Context): Promise<void>;
|
|
7
6
|
delete(ctx: Koa.Context): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/release-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/release-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAmB3B,QAAA,MAAM,uBAAuB;gBACT,IAAI,OAAO;kBAkDT,IAAI,OAAO;gBA2Eb,IAAI,OAAO;gBAoBX,IAAI,OAAO;CAY9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type Koa from 'koa';
|
|
2
2
|
declare const releaseController: {
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Find releases based on documents attached or not to the release.
|
|
5
|
+
* If `hasEntryAttached` is true, it will return all releases that have the entry attached.
|
|
6
|
+
* If `hasEntryAttached` is false, it will return all releases that don't have the entry attached.
|
|
7
|
+
*/
|
|
8
|
+
findByDocumentAttached(ctx: Koa.Context): Promise<void>;
|
|
9
|
+
findPage(ctx: Koa.Context): Promise<void>;
|
|
4
10
|
findOne(ctx: Koa.Context): Promise<void>;
|
|
5
|
-
mapEntriesToReleases(ctx: Koa.Context): Promise<void>;
|
|
6
11
|
create(ctx: Koa.Context): Promise<void>;
|
|
7
12
|
update(ctx: Koa.Context): Promise<void>;
|
|
8
13
|
delete(ctx: Koa.Context): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAmB3B,QAAA,MAAM,iBAAiB;IACrB;;;;OAIG;gCAC+B,IAAI,OAAO;kBA+DzB,IAAI,OAAO;iBAmCZ,IAAI,OAAO;gBAyEZ,IAAI,OAAO;gBAmBX,IAAI,OAAO;gBAoBX,IAAI,OAAO;iBAWV,IAAI,OAAO;CA+B/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Used to store user configurations related to releases.
|
|
3
|
+
* E.g the default timezone for the release schedule.
|
|
4
|
+
*/
|
|
5
|
+
import type Koa from 'koa';
|
|
6
|
+
declare const settingsController: {
|
|
7
|
+
find(ctx: Koa.Context): Promise<void>;
|
|
8
|
+
update(ctx: Koa.Context): Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
export default settingsController;
|
|
11
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAM3B,QAAA,MAAM,kBAAkB;cACN,IAAI,OAAO;gBAST,IAAI,OAAO;CAY9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { yup } from '@strapi/utils';
|
|
1
2
|
export declare const validateReleaseAction: (body: unknown, errorMessage?: string | undefined) => Promise<import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
2
|
-
|
|
3
|
+
contentType: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
|
+
entryDocumentId: yup.StrapiIDSchema;
|
|
5
|
+
locale: import("yup").StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
3
6
|
type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
7
|
}>>>;
|
|
5
8
|
export declare const validateReleaseActionUpdateSchema: (body: unknown, errorMessage?: string | undefined) => Promise<import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
6
9
|
type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
7
10
|
}>>>;
|
|
11
|
+
export declare const validateFindManyActionsParams: (body: unknown, errorMessage?: string | undefined) => Promise<import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
12
|
+
groupBy: import("yup").StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
13
|
+
}>>>;
|
|
8
14
|
//# sourceMappingURL=release-action.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../../server/src/controllers/validation/release-action.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../../server/src/controllers/validation/release-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,eAAe,CAAC;AAiBvD,eAAO,MAAM,qBAAqB;;;;;IAA2C,CAAC;AAC9E,eAAO,MAAM,iCAAiC;;IAAkD,CAAC;AACjG,eAAO,MAAM,6BAA6B;;IAA8C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../../server/src/controllers/validation/release.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../../server/src/controllers/validation/release.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe,oEAAoC,CAAC;AAEjE,eAAO,MAAM,oCAAoC,oEAEhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../server/src/controllers/validation/settings.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,oEAAqC,CAAC"}
|
|
@@ -83,15 +83,13 @@ declare const _default: {
|
|
|
83
83
|
enum: string[];
|
|
84
84
|
required: boolean;
|
|
85
85
|
};
|
|
86
|
-
entry: {
|
|
87
|
-
type: string;
|
|
88
|
-
relation: string;
|
|
89
|
-
configurable: boolean;
|
|
90
|
-
};
|
|
91
86
|
contentType: {
|
|
92
87
|
type: string;
|
|
93
88
|
required: boolean;
|
|
94
89
|
};
|
|
90
|
+
entryDocumentId: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
95
93
|
locale: {
|
|
96
94
|
type: string;
|
|
97
95
|
};
|
|
@@ -129,27 +127,32 @@ declare const _default: {
|
|
|
129
127
|
total: number;
|
|
130
128
|
};
|
|
131
129
|
}>;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
update(id: number, releaseData: {
|
|
130
|
+
findMany(query?: any): Promise<any[]>;
|
|
131
|
+
update(id: import("@strapi/types/dist/data").ID, releaseData: {
|
|
135
132
|
name: string;
|
|
136
133
|
scheduledAt?: Date | null | undefined;
|
|
137
134
|
timezone?: string | null | undefined;
|
|
138
135
|
}, { user }: {
|
|
139
136
|
user: import("../../shared/types").UserInfo;
|
|
140
137
|
}): Promise<any>;
|
|
141
|
-
|
|
138
|
+
getAllComponents(): Promise<any>;
|
|
139
|
+
delete(releaseId: import("@strapi/types/dist/data").ID): Promise<import("../../shared/contracts/releases").Release>;
|
|
140
|
+
publish(releaseId: import("@strapi/types/dist/data").ID): Promise<Pick<import("../../shared/contracts/releases").Release, "id" | "releasedAt" | "status"> | null>;
|
|
141
|
+
updateReleaseStatus(releaseId: import("@strapi/types/dist/data").ID): Promise<any>;
|
|
142
|
+
};
|
|
143
|
+
'release-action': ({ strapi }: {
|
|
144
|
+
strapi: import("@strapi/types/dist/core").Strapi;
|
|
145
|
+
}) => {
|
|
146
|
+
create(releaseId: import("@strapi/types/dist/data").ID, action: {
|
|
142
147
|
type: "publish" | "unpublish";
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}, "type" | "entry">): Promise<any>;
|
|
149
|
-
findActions(releaseId: import("@strapi/types/dist/data").ID, query?: (Partial<Pick<import("../../shared/contracts/releases").Pagination, "page" | "pageSize">> & {
|
|
148
|
+
contentType: import("@strapi/types/dist/uid").ContentType;
|
|
149
|
+
entryDocumentId?: string | undefined;
|
|
150
|
+
locale?: string | undefined;
|
|
151
|
+
}): Promise<any>;
|
|
152
|
+
findPage(releaseId: import("@strapi/types/dist/data").ID, query?: (Partial<Pick<import("../../shared/contracts/releases").Pagination, "page" | "pageSize">> & {
|
|
150
153
|
groupBy?: import("../../shared/contracts/release-actions").ReleaseActionGroupBy | undefined;
|
|
151
154
|
}) | undefined): Promise<{
|
|
152
|
-
results: any
|
|
155
|
+
results: any;
|
|
153
156
|
pagination: {
|
|
154
157
|
page: number;
|
|
155
158
|
pageSize: number;
|
|
@@ -157,6 +160,13 @@ declare const _default: {
|
|
|
157
160
|
total: number;
|
|
158
161
|
};
|
|
159
162
|
}>;
|
|
163
|
+
groupActions(actions: import("../../shared/contracts/release-actions").ReleaseAction[], groupBy: import("../../shared/contracts/release-actions").ReleaseActionGroupBy): Promise<import("lodash").Dictionary<(null | undefined)[]>>;
|
|
164
|
+
getContentTypeModelsFromActions(actions: import("../../shared/contracts/release-actions").ReleaseAction[]): {
|
|
165
|
+
[key: `admin::${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
166
|
+
[key: `strapi::${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
167
|
+
[key: `api::${string}.${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
168
|
+
[key: `plugin::${string}.${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
169
|
+
};
|
|
160
170
|
countActions(query: {
|
|
161
171
|
filters?: ({
|
|
162
172
|
$and?: (any & {
|
|
@@ -1884,41 +1894,21 @@ declare const _default: {
|
|
|
1884
1894
|
}) | undefined;
|
|
1885
1895
|
} & import("@strapi/types/dist/modules/entity-service/params/filters").AbstractAttributesFiltering<"plugin::content-releases.release-action">) | undefined;
|
|
1886
1896
|
}): Promise<number>;
|
|
1887
|
-
|
|
1888
|
-
getLocalesDataForActions(): Promise<{
|
|
1889
|
-
[key: string]: Pick<import("./services/release").Locale, "name" | "code">;
|
|
1890
|
-
}>;
|
|
1891
|
-
getContentTypesDataForActions(contentTypesUids: import("@strapi/types/dist/uid").ContentType[]): Promise<Record<`admin::${string}` | `strapi::${string}` | `api::${string}.${string}` | `plugin::${string}.${string}`, {
|
|
1892
|
-
mainField: string;
|
|
1893
|
-
displayName: string;
|
|
1894
|
-
}>>;
|
|
1895
|
-
getContentTypeModelsFromActions(actions: import("../../shared/contracts/release-actions").ReleaseAction[]): {
|
|
1896
|
-
[key: `admin::${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
1897
|
-
[key: `strapi::${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
1898
|
-
[key: `api::${string}.${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
1899
|
-
[key: `plugin::${string}.${string}`]: import("@strapi/types/dist/struct").ContentTypeSchema;
|
|
1900
|
-
};
|
|
1901
|
-
getAllComponents(): Promise<any>;
|
|
1902
|
-
delete(releaseId: import("@strapi/types/dist/data").ID): Promise<import("../../shared/contracts/releases").Release>;
|
|
1903
|
-
publish(releaseId: import("@strapi/types/dist/data").ID): Promise<Pick<import("../../shared/contracts/releases").Release, "id" | "releasedAt" | "status"> | null>;
|
|
1904
|
-
updateAction(actionId: import("@strapi/types/dist/data").ID, releaseId: import("@strapi/types/dist/data").ID, update: {
|
|
1897
|
+
update(actionId: import("@strapi/types/dist/data").ID, releaseId: import("@strapi/types/dist/data").ID, update: {
|
|
1905
1898
|
type: "publish" | "unpublish";
|
|
1906
1899
|
}): Promise<any>;
|
|
1907
|
-
|
|
1908
|
-
updateReleaseStatus(releaseId: import("@strapi/types/dist/data").ID): Promise<any>;
|
|
1900
|
+
delete(actionId: import("@strapi/types/dist/data").ID, releaseId: import("@strapi/types/dist/data").ID): Promise<any>;
|
|
1909
1901
|
};
|
|
1910
1902
|
'release-validation': ({ strapi }: {
|
|
1911
1903
|
strapi: import("@strapi/types/dist/core").Strapi;
|
|
1912
1904
|
}) => {
|
|
1913
1905
|
validateUniqueEntry(releaseId: import("@strapi/types/dist/data").ID, releaseActionArgs: {
|
|
1914
1906
|
type: "publish" | "unpublish";
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
contentType: import("@strapi/types/dist/uid").ContentType;
|
|
1919
|
-
};
|
|
1907
|
+
contentType: import("@strapi/types/dist/uid").ContentType;
|
|
1908
|
+
entryDocumentId?: string | undefined;
|
|
1909
|
+
locale?: string | undefined;
|
|
1920
1910
|
}): Promise<void>;
|
|
1921
|
-
|
|
1911
|
+
validateEntryData(contentTypeUid: import("@strapi/types/dist/uid").ContentType, entryDocumentId: string | undefined): void;
|
|
1922
1912
|
validatePendingReleasesLimit(): Promise<void>;
|
|
1923
1913
|
validateUniqueNameForPendingRelease(name: string, id?: import("@strapi/types/dist/data").ID | undefined): Promise<void>;
|
|
1924
1914
|
validateScheduledAtIsLaterThanNow(scheduledAt: Date | null): Promise<void>;
|
|
@@ -1931,12 +1921,20 @@ declare const _default: {
|
|
|
1931
1921
|
getAll(): Map<import("@strapi/types/dist/data").ID, import("node-schedule").Job>;
|
|
1932
1922
|
syncFromDatabase(): Promise<Map<import("@strapi/types/dist/data").ID, import("node-schedule").Job>>;
|
|
1933
1923
|
};
|
|
1924
|
+
settings: ({ strapi }: {
|
|
1925
|
+
strapi: import("@strapi/types/dist/core").Strapi;
|
|
1926
|
+
}) => {
|
|
1927
|
+
update({ settings }: {
|
|
1928
|
+
settings: import("../../shared/contracts/settings").Settings;
|
|
1929
|
+
}): Promise<import("../../shared/contracts/settings").Settings>;
|
|
1930
|
+
find(): Promise<import("../../shared/contracts/settings").Settings>;
|
|
1931
|
+
};
|
|
1934
1932
|
};
|
|
1935
1933
|
controllers: {
|
|
1936
1934
|
release: {
|
|
1937
|
-
|
|
1935
|
+
findByDocumentAttached(ctx: import("koa").Context): Promise<void>;
|
|
1936
|
+
findPage(ctx: import("koa").Context): Promise<void>;
|
|
1938
1937
|
findOne(ctx: import("koa").Context): Promise<void>;
|
|
1939
|
-
mapEntriesToReleases(ctx: import("koa").Context): Promise<void>;
|
|
1940
1938
|
create(ctx: import("koa").Context): Promise<void>;
|
|
1941
1939
|
update(ctx: import("koa").Context): Promise<void>;
|
|
1942
1940
|
delete(ctx: import("koa").Context): Promise<void>;
|
|
@@ -1944,13 +1942,32 @@ declare const _default: {
|
|
|
1944
1942
|
};
|
|
1945
1943
|
'release-action': {
|
|
1946
1944
|
create(ctx: import("koa").Context): Promise<void>;
|
|
1947
|
-
createMany(ctx: import("koa").Context): Promise<void>;
|
|
1948
1945
|
findMany(ctx: import("koa").Context): Promise<void>;
|
|
1949
1946
|
update(ctx: import("koa").Context): Promise<void>;
|
|
1950
1947
|
delete(ctx: import("koa").Context): Promise<void>;
|
|
1951
1948
|
};
|
|
1949
|
+
settings: {
|
|
1950
|
+
find(ctx: import("koa").Context): Promise<void>;
|
|
1951
|
+
update(ctx: import("koa").Context): Promise<void>;
|
|
1952
|
+
};
|
|
1952
1953
|
};
|
|
1953
1954
|
routes: {
|
|
1955
|
+
settings: {
|
|
1956
|
+
type: string;
|
|
1957
|
+
routes: {
|
|
1958
|
+
method: string;
|
|
1959
|
+
path: string;
|
|
1960
|
+
handler: string;
|
|
1961
|
+
config: {
|
|
1962
|
+
policies: (string | {
|
|
1963
|
+
name: string;
|
|
1964
|
+
config: {
|
|
1965
|
+
actions: string[];
|
|
1966
|
+
};
|
|
1967
|
+
})[];
|
|
1968
|
+
};
|
|
1969
|
+
}[];
|
|
1970
|
+
};
|
|
1954
1971
|
release: {
|
|
1955
1972
|
type: string;
|
|
1956
1973
|
routes: {
|
|
@@ -2061,15 +2078,13 @@ declare const _default: {
|
|
|
2061
2078
|
enum: string[];
|
|
2062
2079
|
required: boolean;
|
|
2063
2080
|
};
|
|
2064
|
-
entry: {
|
|
2065
|
-
type: string;
|
|
2066
|
-
relation: string;
|
|
2067
|
-
configurable: boolean;
|
|
2068
|
-
};
|
|
2069
2081
|
contentType: {
|
|
2070
2082
|
type: string;
|
|
2071
2083
|
required: boolean;
|
|
2072
2084
|
};
|
|
2085
|
+
entryDocumentId: {
|
|
2086
|
+
type: string;
|
|
2087
|
+
};
|
|
2073
2088
|
locale: {
|
|
2074
2089
|
type: string;
|
|
2075
2090
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,wBAA2B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Modules } from '@strapi/types';
|
|
2
|
+
type Middleware = Modules.Documents.Middleware.Middleware;
|
|
3
|
+
declare const deleteActionsOnDelete: Middleware;
|
|
4
|
+
declare const updateActionsOnUpdate: Middleware;
|
|
5
|
+
export { deleteActionsOnDelete, updateActionsOnUpdate };
|
|
6
|
+
//# sourceMappingURL=documents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../../../server/src/middlewares/documents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAO,MAAM,eAAe,CAAC;AAK7C,KAAK,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC;AAwD1D,QAAA,MAAM,qBAAqB,EAAE,UA+B5B,CAAC;AAEF,QAAA,MAAM,qBAAqB,EAAE,UA0B5B,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Migration } from '@strapi/database';
|
|
2
|
+
/**
|
|
3
|
+
* On v4, release actions are linked with entries using the built in Polymorphic relations.
|
|
4
|
+
*
|
|
5
|
+
* On v5, we are going to save entryDocumentId on the release action and make the link manually.
|
|
6
|
+
* This because entryId is not a reliable way to link documents, as it can change.
|
|
7
|
+
*/
|
|
8
|
+
export declare const addEntryDocumentToReleaseActions: Migration;
|
|
9
|
+
//# sourceMappingURL=5.0.0-document-id-in-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"5.0.0-document-id-in-actions.d.ts","sourceRoot":"","sources":["../../../../../server/src/migrations/database/5.0.0-document-id-in-actions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,kBAAkB,CAAC;AAI5D;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,EAAE,SAsC9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,eAAe,CAAC;AAUjD,UAAU,KAAK;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;IACpD,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;CAClD;AAED,wBAAsB,qCAAqC,CAAC,EAC1D,eAAe,EACf,YAAY,GACb,EAAE,KAAK,iBAwBP;AAED,wBAAsB,gCAAgC,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,KAAK,iBAY9F;AAED,wBAAsB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,eAAe,CAAC;AAUjD,UAAU,KAAK;IACb,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;IACpD,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;CAClD;AAED,wBAAsB,qCAAqC,CAAC,EAC1D,eAAe,EACf,YAAY,GACb,EAAE,KAAK,iBAwBP;AAED,wBAAsB,gCAAgC,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,KAAK,iBAY9F;AAED,wBAAsB,+BAA+B,kBAkEpD;AAED,wBAAsB,6BAA6B,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,KAAK,iBAwD3F;AAED,wBAAsB,2BAA2B,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,KAAK,iBA+BzF;AAED,wBAAsB,0BAA0B,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,KAAK,iBAkCxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../server/src/register.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../server/src/register.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAa1C,eAAO,MAAM,QAAQ,eAAsB;IAAE,MAAM,EAAE,KAAK,MAAM,CAAA;CAAE,kBAyBjE,CAAC"}
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
export declare const routes: {
|
|
2
|
+
settings: {
|
|
3
|
+
type: string;
|
|
4
|
+
routes: {
|
|
5
|
+
method: string;
|
|
6
|
+
path: string;
|
|
7
|
+
handler: string;
|
|
8
|
+
config: {
|
|
9
|
+
policies: (string | {
|
|
10
|
+
name: string;
|
|
11
|
+
config: {
|
|
12
|
+
actions: string[];
|
|
13
|
+
};
|
|
14
|
+
})[];
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
2
18
|
release: {
|
|
3
19
|
type: string;
|
|
4
20
|
routes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/release-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/release-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAsFE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/release.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/release.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAsIE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
routes: {
|
|
4
|
+
method: string;
|
|
5
|
+
path: string;
|
|
6
|
+
handler: string;
|
|
7
|
+
config: {
|
|
8
|
+
policies: (string | {
|
|
9
|
+
name: string;
|
|
10
|
+
config: {
|
|
11
|
+
actions: string[];
|
|
12
|
+
};
|
|
13
|
+
})[];
|
|
14
|
+
};
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/settings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAqCE"}
|