@strapi/content-releases 0.0.0-experimental.e576af447d9f97e89e24c6daa32d8f714376cd5f → 0.0.0-experimental.e86ac7192458208dc921b643405f97aeba7cccb9
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-dLXY5ei3.js +1353 -0
- package/dist/_chunks/App-dLXY5ei3.js.map +1 -0
- package/dist/_chunks/App-jrh58sXY.mjs +1330 -0
- package/dist/_chunks/App-jrh58sXY.mjs.map +1 -0
- package/dist/_chunks/PurchaseContentReleases-3tRbmbY3.mjs +51 -0
- package/dist/_chunks/PurchaseContentReleases-3tRbmbY3.mjs.map +1 -0
- package/dist/_chunks/PurchaseContentReleases-bpIYXOfu.js +51 -0
- package/dist/_chunks/PurchaseContentReleases-bpIYXOfu.js.map +1 -0
- package/dist/_chunks/en-HrREghh3.js +86 -0
- package/dist/_chunks/en-HrREghh3.js.map +1 -0
- package/dist/_chunks/en-ltT1TlKQ.mjs +86 -0
- package/dist/_chunks/en-ltT1TlKQ.mjs.map +1 -0
- package/dist/_chunks/index-CVO0Rqdm.js +1336 -0
- package/dist/_chunks/index-CVO0Rqdm.js.map +1 -0
- package/dist/_chunks/index-PiOGBETy.mjs +1315 -0
- package/dist/_chunks/index-PiOGBETy.mjs.map +1 -0
- package/dist/admin/index.js +17 -18
- package/dist/admin/index.mjs +19 -13
- package/dist/admin/index.mjs.map +1 -1
- package/dist/server/index.js +1636 -2197
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +1627 -2189
- package/dist/server/index.mjs.map +1 -1
- package/package.json +42 -39
- package/strapi-server.js +3 -0
- package/dist/admin/chunks/App-Ccfr_N2a.js +0 -1866
- package/dist/admin/chunks/App-Ccfr_N2a.js.map +0 -1
- package/dist/admin/chunks/App-nCn9ijZP.mjs +0 -1845
- package/dist/admin/chunks/App-nCn9ijZP.mjs.map +0 -1
- package/dist/admin/chunks/PurchaseContentReleases-BCME5SQU.js +0 -55
- package/dist/admin/chunks/PurchaseContentReleases-BCME5SQU.js.map +0 -1
- package/dist/admin/chunks/PurchaseContentReleases-S1ccDSwp.mjs +0 -53
- package/dist/admin/chunks/PurchaseContentReleases-S1ccDSwp.mjs.map +0 -1
- package/dist/admin/chunks/ReleasesSettingsPage-BDN7ia8_.mjs +0 -206
- package/dist/admin/chunks/ReleasesSettingsPage-BDN7ia8_.mjs.map +0 -1
- package/dist/admin/chunks/ReleasesSettingsPage-DgUoq8_y.js +0 -208
- package/dist/admin/chunks/ReleasesSettingsPage-DgUoq8_y.js.map +0 -1
- package/dist/admin/chunks/en-B2EeDoOz.mjs +0 -101
- package/dist/admin/chunks/en-B2EeDoOz.mjs.map +0 -1
- package/dist/admin/chunks/en-BzpFfVeO.js +0 -103
- package/dist/admin/chunks/en-BzpFfVeO.js.map +0 -1
- package/dist/admin/chunks/index-BFXwEPqg.js +0 -1658
- package/dist/admin/chunks/index-BFXwEPqg.js.map +0 -1
- package/dist/admin/chunks/index-TSoOtDGF.mjs +0 -1619
- package/dist/admin/chunks/index-TSoOtDGF.mjs.map +0 -1
- package/dist/admin/chunks/schemas-DMt8h1z-.mjs +0 -43
- package/dist/admin/chunks/schemas-DMt8h1z-.mjs.map +0 -1
- package/dist/admin/chunks/schemas-DS7NeFDN.js +0 -65
- package/dist/admin/chunks/schemas-DS7NeFDN.js.map +0 -1
- package/dist/admin/chunks/uk-9T9su-bj.js +0 -103
- package/dist/admin/chunks/uk-9T9su-bj.js.map +0 -1
- package/dist/admin/chunks/uk-Bp9HotPq.mjs +0 -101
- package/dist/admin/chunks/uk-Bp9HotPq.mjs.map +0 -1
- package/dist/admin/src/components/EntryValidationPopover.d.ts +0 -13
- package/dist/admin/src/components/RelativeTime.d.ts +0 -28
- package/dist/admin/src/components/ReleaseAction.d.ts +0 -3
- package/dist/admin/src/components/ReleaseActionMenu.d.ts +0 -26
- package/dist/admin/src/components/ReleaseActionModal.d.ts +0 -24
- package/dist/admin/src/components/ReleaseActionOptions.d.ts +0 -9
- package/dist/admin/src/components/ReleaseListCell.d.ts +0 -28
- package/dist/admin/src/components/ReleaseModal.d.ts +0 -17
- package/dist/admin/src/components/ReleasesPanel.d.ts +0 -3
- package/dist/admin/src/constants.d.ts +0 -76
- package/dist/admin/src/index.d.ts +0 -3
- package/dist/admin/src/modules/hooks.d.ts +0 -7
- package/dist/admin/src/pages/App.d.ts +0 -1
- package/dist/admin/src/pages/PurchaseContentReleases.d.ts +0 -2
- package/dist/admin/src/pages/ReleaseDetailsPage.d.ts +0 -2
- package/dist/admin/src/pages/ReleasesPage.d.ts +0 -8
- package/dist/admin/src/pages/ReleasesSettingsPage.d.ts +0 -1
- package/dist/admin/src/pages/tests/mockReleaseDetailsPageData.d.ts +0 -181
- package/dist/admin/src/pages/tests/mockReleasesPageData.d.ts +0 -39
- package/dist/admin/src/pluginId.d.ts +0 -1
- package/dist/admin/src/services/release.d.ts +0 -112
- package/dist/admin/src/store/hooks.d.ts +0 -7
- package/dist/admin/src/utils/api.d.ts +0 -6
- package/dist/admin/src/utils/prefixPluginTranslations.d.ts +0 -3
- package/dist/admin/src/utils/time.d.ts +0 -10
- package/dist/admin/src/validation/schemas.d.ts +0 -6
- package/dist/server/src/bootstrap.d.ts +0 -5
- package/dist/server/src/bootstrap.d.ts.map +0 -1
- package/dist/server/src/constants.d.ts +0 -21
- package/dist/server/src/constants.d.ts.map +0 -1
- package/dist/server/src/content-types/index.d.ts +0 -97
- package/dist/server/src/content-types/index.d.ts.map +0 -1
- package/dist/server/src/content-types/release/index.d.ts +0 -48
- package/dist/server/src/content-types/release/index.d.ts.map +0 -1
- package/dist/server/src/content-types/release/schema.d.ts +0 -47
- package/dist/server/src/content-types/release/schema.d.ts.map +0 -1
- package/dist/server/src/content-types/release-action/index.d.ts +0 -48
- package/dist/server/src/content-types/release-action/index.d.ts.map +0 -1
- package/dist/server/src/content-types/release-action/schema.d.ts +0 -47
- package/dist/server/src/content-types/release-action/schema.d.ts.map +0 -1
- package/dist/server/src/controllers/index.d.ts +0 -25
- package/dist/server/src/controllers/index.d.ts.map +0 -1
- package/dist/server/src/controllers/release-action.d.ts +0 -10
- package/dist/server/src/controllers/release-action.d.ts.map +0 -1
- package/dist/server/src/controllers/release.d.ts +0 -18
- package/dist/server/src/controllers/release.d.ts.map +0 -1
- package/dist/server/src/controllers/settings.d.ts +0 -11
- package/dist/server/src/controllers/settings.d.ts.map +0 -1
- package/dist/server/src/controllers/validation/release-action.d.ts +0 -14
- package/dist/server/src/controllers/validation/release-action.d.ts.map +0 -1
- package/dist/server/src/controllers/validation/release.d.ts +0 -4
- package/dist/server/src/controllers/validation/release.d.ts.map +0 -1
- package/dist/server/src/controllers/validation/settings.d.ts +0 -3
- package/dist/server/src/controllers/validation/settings.d.ts.map +0 -1
- package/dist/server/src/destroy.d.ts +0 -5
- package/dist/server/src/destroy.d.ts.map +0 -1
- package/dist/server/src/index.d.ts +0 -2111
- package/dist/server/src/index.d.ts.map +0 -1
- package/dist/server/src/middlewares/documents.d.ts +0 -6
- package/dist/server/src/middlewares/documents.d.ts.map +0 -1
- package/dist/server/src/migrations/database/5.0.0-document-id-in-actions.d.ts +0 -9
- package/dist/server/src/migrations/database/5.0.0-document-id-in-actions.d.ts.map +0 -1
- package/dist/server/src/migrations/index.d.ts +0 -13
- package/dist/server/src/migrations/index.d.ts.map +0 -1
- package/dist/server/src/register.d.ts +0 -5
- package/dist/server/src/register.d.ts.map +0 -1
- package/dist/server/src/routes/index.d.ts +0 -51
- package/dist/server/src/routes/index.d.ts.map +0 -1
- package/dist/server/src/routes/release-action.d.ts +0 -18
- package/dist/server/src/routes/release-action.d.ts.map +0 -1
- package/dist/server/src/routes/release.d.ts +0 -18
- package/dist/server/src/routes/release.d.ts.map +0 -1
- package/dist/server/src/routes/settings.d.ts +0 -18
- package/dist/server/src/routes/settings.d.ts.map +0 -1
- package/dist/server/src/services/index.d.ts +0 -1824
- package/dist/server/src/services/index.d.ts.map +0 -1
- package/dist/server/src/services/release-action.d.ts +0 -34
- package/dist/server/src/services/release-action.d.ts.map +0 -1
- package/dist/server/src/services/release.d.ts +0 -31
- package/dist/server/src/services/release.d.ts.map +0 -1
- package/dist/server/src/services/scheduling.d.ts +0 -18
- package/dist/server/src/services/scheduling.d.ts.map +0 -1
- package/dist/server/src/services/settings.d.ts +0 -13
- package/dist/server/src/services/settings.d.ts.map +0 -1
- package/dist/server/src/services/validation.d.ts +0 -18
- package/dist/server/src/services/validation.d.ts.map +0 -1
- package/dist/server/src/utils/index.d.ts +0 -35
- package/dist/server/src/utils/index.d.ts.map +0 -1
- package/dist/shared/contracts/release-actions.d.ts +0 -136
- package/dist/shared/contracts/release-actions.d.ts.map +0 -1
- package/dist/shared/contracts/releases.d.ts +0 -183
- package/dist/shared/contracts/releases.d.ts.map +0 -1
- package/dist/shared/contracts/settings.d.ts +0 -38
- package/dist/shared/contracts/settings.d.ts.map +0 -1
- package/dist/shared/types.d.ts +0 -23
- package/dist/shared/types.d.ts.map +0 -1
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { CreateReleaseAction, CreateManyReleaseActions, DeleteReleaseAction } from '../../../shared/contracts/release-actions';
|
|
2
|
-
import type { GetReleaseActions, UpdateReleaseAction, ReleaseActionGroupBy } from '../../../shared/contracts/release-actions';
|
|
3
|
-
import type { CreateRelease, DeleteRelease, GetReleases, GetReleasesByDocumentAttached, GetRelease, PublishRelease } from '../../../shared/contracts/releases';
|
|
4
|
-
import type { GetSettings } from '../../../shared/contracts/settings';
|
|
5
|
-
export interface GetReleasesQueryParams {
|
|
6
|
-
page?: number;
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
filters?: {
|
|
9
|
-
releasedAt?: {
|
|
10
|
-
$notNull?: boolean | 'true' | 'false';
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export interface GetReleaseActionsQueryParams {
|
|
15
|
-
page?: number;
|
|
16
|
-
pageSize?: number;
|
|
17
|
-
groupBy?: ReleaseActionGroupBy;
|
|
18
|
-
}
|
|
19
|
-
type GetReleasesTabResponse = GetReleases.Response & {
|
|
20
|
-
meta: {
|
|
21
|
-
activeTab: 'pending' | 'done';
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
declare const releaseApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, import("@reduxjs/toolkit/dist/query/endpointDefinitions").UpdateDefinitions<{}, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", never> & {
|
|
25
|
-
getReleasesForEntry: import("@reduxjs/toolkit/query").QueryDefinition<Partial<{
|
|
26
|
-
contentType: string;
|
|
27
|
-
entryDocumentId: any;
|
|
28
|
-
locale?: string | undefined;
|
|
29
|
-
hasEntryAttached?: boolean | undefined;
|
|
30
|
-
}>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetReleasesByDocumentAttached.Response, "adminApi">;
|
|
31
|
-
getReleases: import("@reduxjs/toolkit/query").QueryDefinition<void | GetReleasesQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetReleasesTabResponse, "adminApi">;
|
|
32
|
-
getRelease: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
33
|
-
id: import("@strapi/types/dist/data").ID;
|
|
34
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetRelease.Response, "adminApi">;
|
|
35
|
-
getReleaseActions: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
36
|
-
releaseId: import("@strapi/types/dist/data").ID;
|
|
37
|
-
} & Partial<Pick<import("../../../shared/contracts/releases").Pagination, "page" | "pageSize">> & {
|
|
38
|
-
groupBy?: ReleaseActionGroupBy | undefined;
|
|
39
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetReleaseActions.Response, "adminApi">;
|
|
40
|
-
createRelease: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
41
|
-
name: string;
|
|
42
|
-
scheduledAt: Date | null;
|
|
43
|
-
timezone: string | null;
|
|
44
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", CreateRelease.Response, "adminApi">;
|
|
45
|
-
updateRelease: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
46
|
-
id: import("@strapi/types/dist/data").ID;
|
|
47
|
-
} & {
|
|
48
|
-
name: string;
|
|
49
|
-
scheduledAt?: Date | null | undefined;
|
|
50
|
-
timezone?: string | null | undefined;
|
|
51
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", void, "adminApi">;
|
|
52
|
-
createReleaseAction: import("@reduxjs/toolkit/query").MutationDefinition<CreateReleaseAction.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", CreateReleaseAction.Response, "adminApi">;
|
|
53
|
-
createManyReleaseActions: import("@reduxjs/toolkit/query").MutationDefinition<CreateManyReleaseActions.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", CreateManyReleaseActions.Response, "adminApi">;
|
|
54
|
-
updateReleaseAction: import("@reduxjs/toolkit/query").MutationDefinition<UpdateReleaseAction.Request & {
|
|
55
|
-
query: GetReleaseActions.Request['query'];
|
|
56
|
-
} & {
|
|
57
|
-
actionPath: [string, number];
|
|
58
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", UpdateReleaseAction.Response, "adminApi">;
|
|
59
|
-
deleteReleaseAction: import("@reduxjs/toolkit/query").MutationDefinition<DeleteReleaseAction.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", DeleteReleaseAction.Response, "adminApi">;
|
|
60
|
-
publishRelease: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
61
|
-
id: import("@strapi/types/dist/data").ID;
|
|
62
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", PublishRelease.Response, "adminApi">;
|
|
63
|
-
deleteRelease: import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
64
|
-
id: import("@strapi/types/dist/data").ID;
|
|
65
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", DeleteRelease.Response, "adminApi">;
|
|
66
|
-
getMappedEntriesInReleases: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
67
|
-
contentTypeUid: import("@strapi/types/dist/uid").ContentType;
|
|
68
|
-
documentIds: string[];
|
|
69
|
-
locale?: string | undefined;
|
|
70
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", {
|
|
71
|
-
[documentId: string]: Pick<import("../../../shared/contracts/releases").Release, "id" | "name">[];
|
|
72
|
-
}, "adminApi">;
|
|
73
|
-
getReleaseSettings: import("@reduxjs/toolkit/query").QueryDefinition<void | GetSettings.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetSettings.Response, "adminApi">;
|
|
74
|
-
updateReleaseSettings: import("@reduxjs/toolkit/query").MutationDefinition<import("../../../shared/contracts/settings").Settings, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", void, "adminApi">;
|
|
75
|
-
}, "adminApi", "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
76
|
-
declare const useGetReleasesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | GetReleasesQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetReleasesTabResponse, "adminApi">>, useGetReleasesForEntryQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<Partial<{
|
|
77
|
-
contentType: string;
|
|
78
|
-
entryDocumentId: any;
|
|
79
|
-
locale?: string | undefined;
|
|
80
|
-
hasEntryAttached?: boolean | undefined;
|
|
81
|
-
}>, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetReleasesByDocumentAttached.Response, "adminApi">>, useGetReleaseQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
82
|
-
id: import("@strapi/types/dist/data").ID;
|
|
83
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetRelease.Response, "adminApi">>, useGetReleaseActionsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
84
|
-
releaseId: import("@strapi/types/dist/data").ID;
|
|
85
|
-
} & Partial<Pick<import("../../../shared/contracts/releases").Pagination, "page" | "pageSize">> & {
|
|
86
|
-
groupBy?: ReleaseActionGroupBy | undefined;
|
|
87
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetReleaseActions.Response, "adminApi">>, useCreateReleaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
88
|
-
name: string;
|
|
89
|
-
scheduledAt: Date | null;
|
|
90
|
-
timezone: string | null;
|
|
91
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", CreateRelease.Response, "adminApi">>, useCreateReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<CreateReleaseAction.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", CreateReleaseAction.Response, "adminApi">>, useCreateManyReleaseActionsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<CreateManyReleaseActions.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", CreateManyReleaseActions.Response, "adminApi">>, useUpdateReleaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
92
|
-
id: import("@strapi/types/dist/data").ID;
|
|
93
|
-
} & {
|
|
94
|
-
name: string;
|
|
95
|
-
scheduledAt?: Date | null | undefined;
|
|
96
|
-
timezone?: string | null | undefined;
|
|
97
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", void, "adminApi">>, useUpdateReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<UpdateReleaseAction.Request & {
|
|
98
|
-
query: GetReleaseActions.Request['query'];
|
|
99
|
-
} & {
|
|
100
|
-
actionPath: [string, number];
|
|
101
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", UpdateReleaseAction.Response, "adminApi">>, usePublishReleaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
102
|
-
id: import("@strapi/types/dist/data").ID;
|
|
103
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", PublishRelease.Response, "adminApi">>, useDeleteReleaseActionMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<DeleteReleaseAction.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", DeleteReleaseAction.Response, "adminApi">>, useDeleteReleaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
104
|
-
id: import("@strapi/types/dist/data").ID;
|
|
105
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", DeleteRelease.Response, "adminApi">>, useGetMappedEntriesInReleasesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
106
|
-
contentTypeUid: import("@strapi/types/dist/uid").ContentType;
|
|
107
|
-
documentIds: string[];
|
|
108
|
-
locale?: string | undefined;
|
|
109
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", {
|
|
110
|
-
[documentId: string]: Pick<import("../../../shared/contracts/releases").Release, "id" | "name">[];
|
|
111
|
-
}, "adminApi">>, useGetReleaseSettingsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | GetSettings.Request, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", GetSettings.Response, "adminApi">>, useUpdateReleaseSettingsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<import("../../../shared/contracts/settings").Settings, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@strapi/admin/strapi-admin").QueryArguments, unknown, import("@strapi/admin/strapi-admin").BaseQueryError, {}, {}>, "Release" | "ReleaseAction" | "EntriesInRelease" | "ReleaseSettings" | "Document", void, "adminApi">>;
|
|
112
|
-
export { useGetReleasesQuery, useGetReleasesForEntryQuery, useGetReleaseQuery, useGetReleaseActionsQuery, useCreateReleaseMutation, useCreateReleaseActionMutation, useCreateManyReleaseActionsMutation, useUpdateReleaseMutation, useUpdateReleaseActionMutation, usePublishReleaseMutation, useDeleteReleaseActionMutation, useDeleteReleaseMutation, useGetMappedEntriesInReleasesQuery, useGetReleaseSettingsQuery, useUpdateReleaseSettingsMutation, releaseApi, };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Dispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import { TypedUseSelectorHook } from 'react-redux';
|
|
3
|
-
import type { Store } from '@strapi/admin/strapi-admin';
|
|
4
|
-
type RootState = ReturnType<Store['getState']>;
|
|
5
|
-
declare const useTypedDispatch: () => Dispatch;
|
|
6
|
-
declare const useTypedSelector: TypedUseSelectorHook<RootState>;
|
|
7
|
-
export { useTypedSelector, useTypedDispatch };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SerializedError } from '@reduxjs/toolkit';
|
|
2
|
-
import { ApiError } from '@strapi/admin/strapi-admin';
|
|
3
|
-
type BaseQueryError = ApiError | SerializedError;
|
|
4
|
-
declare const isBaseQueryError: (error?: BaseQueryError) => error is BaseQueryError;
|
|
5
|
-
export { isBaseQueryError };
|
|
6
|
-
export type { BaseQueryError };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const getTimezoneOffset: (timezone: string, date: Date) => string;
|
|
2
|
-
interface ITimezoneOption {
|
|
3
|
-
offset: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const getTimezones: (selectedDate: Date) => {
|
|
7
|
-
timezoneList: ITimezoneOption[];
|
|
8
|
-
systemTimezone: ITimezoneOption | undefined;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FormikErrors type enforce us to always return a string as error.
|
|
3
|
-
* We need these errors to be translated, so we need to create a hook to be able to use the formatMessage function.
|
|
4
|
-
*/
|
|
5
|
-
export declare const RELEASE_SCHEMA: any;
|
|
6
|
-
export declare const SETTINGS_SCHEMA: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../../server/src/bootstrap.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AA6BxD,eAAO,MAAM,SAAS,eAAsB;IAAE,MAAM,EAAE,KAAK,MAAM,CAAA;CAAE,kBAoDlE,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const RELEASE_MODEL_UID = "plugin::content-releases.release";
|
|
2
|
-
export declare const RELEASE_ACTION_MODEL_UID = "plugin::content-releases.release-action";
|
|
3
|
-
export declare const ACTIONS: ({
|
|
4
|
-
section: string;
|
|
5
|
-
displayName: string;
|
|
6
|
-
uid: string;
|
|
7
|
-
pluginName: string;
|
|
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
|
-
})[];
|
|
18
|
-
export declare const ALLOWED_WEBHOOK_EVENTS: {
|
|
19
|
-
RELEASES_PUBLISH: string;
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
export declare const contentTypes: {
|
|
2
|
-
release: {
|
|
3
|
-
schema: {
|
|
4
|
-
collectionName: string;
|
|
5
|
-
info: {
|
|
6
|
-
singularName: string;
|
|
7
|
-
pluralName: string;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
options: {
|
|
11
|
-
draftAndPublish: boolean;
|
|
12
|
-
};
|
|
13
|
-
pluginOptions: {
|
|
14
|
-
'content-manager': {
|
|
15
|
-
visible: boolean;
|
|
16
|
-
};
|
|
17
|
-
'content-type-builder': {
|
|
18
|
-
visible: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
attributes: {
|
|
22
|
-
name: {
|
|
23
|
-
type: string;
|
|
24
|
-
required: boolean;
|
|
25
|
-
};
|
|
26
|
-
releasedAt: {
|
|
27
|
-
type: string;
|
|
28
|
-
};
|
|
29
|
-
scheduledAt: {
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
timezone: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
status: {
|
|
36
|
-
type: string;
|
|
37
|
-
enum: string[];
|
|
38
|
-
required: boolean;
|
|
39
|
-
};
|
|
40
|
-
actions: {
|
|
41
|
-
type: string;
|
|
42
|
-
relation: string;
|
|
43
|
-
target: string;
|
|
44
|
-
mappedBy: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
'release-action': {
|
|
50
|
-
schema: {
|
|
51
|
-
collectionName: string;
|
|
52
|
-
info: {
|
|
53
|
-
singularName: string;
|
|
54
|
-
pluralName: string;
|
|
55
|
-
displayName: string;
|
|
56
|
-
};
|
|
57
|
-
options: {
|
|
58
|
-
draftAndPublish: boolean;
|
|
59
|
-
};
|
|
60
|
-
pluginOptions: {
|
|
61
|
-
'content-manager': {
|
|
62
|
-
visible: boolean;
|
|
63
|
-
};
|
|
64
|
-
'content-type-builder': {
|
|
65
|
-
visible: boolean;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
attributes: {
|
|
69
|
-
type: {
|
|
70
|
-
type: string;
|
|
71
|
-
enum: string[];
|
|
72
|
-
required: boolean;
|
|
73
|
-
};
|
|
74
|
-
contentType: {
|
|
75
|
-
type: string;
|
|
76
|
-
required: boolean;
|
|
77
|
-
};
|
|
78
|
-
entryDocumentId: {
|
|
79
|
-
type: string;
|
|
80
|
-
};
|
|
81
|
-
locale: {
|
|
82
|
-
type: string;
|
|
83
|
-
};
|
|
84
|
-
release: {
|
|
85
|
-
type: string;
|
|
86
|
-
relation: string;
|
|
87
|
-
target: string;
|
|
88
|
-
inversedBy: string;
|
|
89
|
-
};
|
|
90
|
-
isEntryValid: {
|
|
91
|
-
type: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/content-types/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare const release: {
|
|
2
|
-
schema: {
|
|
3
|
-
collectionName: string;
|
|
4
|
-
info: {
|
|
5
|
-
singularName: string;
|
|
6
|
-
pluralName: string;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
options: {
|
|
10
|
-
draftAndPublish: boolean;
|
|
11
|
-
};
|
|
12
|
-
pluginOptions: {
|
|
13
|
-
'content-manager': {
|
|
14
|
-
visible: boolean;
|
|
15
|
-
};
|
|
16
|
-
'content-type-builder': {
|
|
17
|
-
visible: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
attributes: {
|
|
21
|
-
name: {
|
|
22
|
-
type: string;
|
|
23
|
-
required: boolean;
|
|
24
|
-
};
|
|
25
|
-
releasedAt: {
|
|
26
|
-
type: string;
|
|
27
|
-
};
|
|
28
|
-
scheduledAt: {
|
|
29
|
-
type: string;
|
|
30
|
-
};
|
|
31
|
-
timezone: {
|
|
32
|
-
type: string;
|
|
33
|
-
};
|
|
34
|
-
status: {
|
|
35
|
-
type: string;
|
|
36
|
-
enum: string[];
|
|
37
|
-
required: boolean;
|
|
38
|
-
};
|
|
39
|
-
actions: {
|
|
40
|
-
type: string;
|
|
41
|
-
relation: string;
|
|
42
|
-
target: string;
|
|
43
|
-
mappedBy: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEnB,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
collectionName: string;
|
|
3
|
-
info: {
|
|
4
|
-
singularName: string;
|
|
5
|
-
pluralName: string;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
options: {
|
|
9
|
-
draftAndPublish: boolean;
|
|
10
|
-
};
|
|
11
|
-
pluginOptions: {
|
|
12
|
-
'content-manager': {
|
|
13
|
-
visible: boolean;
|
|
14
|
-
};
|
|
15
|
-
'content-type-builder': {
|
|
16
|
-
visible: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
attributes: {
|
|
20
|
-
name: {
|
|
21
|
-
type: string;
|
|
22
|
-
required: boolean;
|
|
23
|
-
};
|
|
24
|
-
releasedAt: {
|
|
25
|
-
type: string;
|
|
26
|
-
};
|
|
27
|
-
scheduledAt: {
|
|
28
|
-
type: string;
|
|
29
|
-
};
|
|
30
|
-
timezone: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
status: {
|
|
34
|
-
type: string;
|
|
35
|
-
enum: string[];
|
|
36
|
-
required: boolean;
|
|
37
|
-
};
|
|
38
|
-
actions: {
|
|
39
|
-
type: string;
|
|
40
|
-
relation: string;
|
|
41
|
-
target: string;
|
|
42
|
-
mappedBy: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export default _default;
|
|
47
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA4CE"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare const releaseAction: {
|
|
2
|
-
schema: {
|
|
3
|
-
collectionName: string;
|
|
4
|
-
info: {
|
|
5
|
-
singularName: string;
|
|
6
|
-
pluralName: string;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
options: {
|
|
10
|
-
draftAndPublish: boolean;
|
|
11
|
-
};
|
|
12
|
-
pluginOptions: {
|
|
13
|
-
'content-manager': {
|
|
14
|
-
visible: boolean;
|
|
15
|
-
};
|
|
16
|
-
'content-type-builder': {
|
|
17
|
-
visible: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
attributes: {
|
|
21
|
-
type: {
|
|
22
|
-
type: string;
|
|
23
|
-
enum: string[];
|
|
24
|
-
required: boolean;
|
|
25
|
-
};
|
|
26
|
-
contentType: {
|
|
27
|
-
type: string;
|
|
28
|
-
required: boolean;
|
|
29
|
-
};
|
|
30
|
-
entryDocumentId: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
locale: {
|
|
34
|
-
type: string;
|
|
35
|
-
};
|
|
36
|
-
release: {
|
|
37
|
-
type: string;
|
|
38
|
-
relation: string;
|
|
39
|
-
target: string;
|
|
40
|
-
inversedBy: string;
|
|
41
|
-
};
|
|
42
|
-
isEntryValid: {
|
|
43
|
-
type: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
collectionName: string;
|
|
3
|
-
info: {
|
|
4
|
-
singularName: string;
|
|
5
|
-
pluralName: string;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
options: {
|
|
9
|
-
draftAndPublish: boolean;
|
|
10
|
-
};
|
|
11
|
-
pluginOptions: {
|
|
12
|
-
'content-manager': {
|
|
13
|
-
visible: boolean;
|
|
14
|
-
};
|
|
15
|
-
'content-type-builder': {
|
|
16
|
-
visible: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
attributes: {
|
|
20
|
-
type: {
|
|
21
|
-
type: string;
|
|
22
|
-
enum: string[];
|
|
23
|
-
required: boolean;
|
|
24
|
-
};
|
|
25
|
-
contentType: {
|
|
26
|
-
type: string;
|
|
27
|
-
required: boolean;
|
|
28
|
-
};
|
|
29
|
-
entryDocumentId: {
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
locale: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
release: {
|
|
36
|
-
type: string;
|
|
37
|
-
relation: string;
|
|
38
|
-
target: string;
|
|
39
|
-
inversedBy: string;
|
|
40
|
-
};
|
|
41
|
-
isEntryValid: {
|
|
42
|
-
type: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export default _default;
|
|
47
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../server/src/content-types/release-action/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA4CE"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="koa" />
|
|
2
|
-
export declare const controllers: {
|
|
3
|
-
release: {
|
|
4
|
-
findByDocumentAttached(ctx: import("koa").Context): Promise<void>;
|
|
5
|
-
findPage(ctx: import("koa").Context): Promise<void>;
|
|
6
|
-
findOne(ctx: import("koa").Context): Promise<void>;
|
|
7
|
-
mapEntriesToReleases(ctx: import("koa").Context): Promise<void>;
|
|
8
|
-
create(ctx: import("koa").Context): Promise<void>;
|
|
9
|
-
update(ctx: import("koa").Context): Promise<void>;
|
|
10
|
-
delete(ctx: import("koa").Context): Promise<void>;
|
|
11
|
-
publish(ctx: import("koa").Context): Promise<void>;
|
|
12
|
-
};
|
|
13
|
-
'release-action': {
|
|
14
|
-
create(ctx: import("koa").Context): Promise<void>;
|
|
15
|
-
createMany(ctx: import("koa").Context): Promise<void>;
|
|
16
|
-
findMany(ctx: import("koa").Context): Promise<void>;
|
|
17
|
-
update(ctx: import("koa").Context): Promise<void>;
|
|
18
|
-
delete(ctx: import("koa").Context): Promise<void>;
|
|
19
|
-
};
|
|
20
|
-
settings: {
|
|
21
|
-
find(ctx: import("koa").Context): Promise<void>;
|
|
22
|
-
update(ctx: import("koa").Context): Promise<void>;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type Koa from 'koa';
|
|
2
|
-
declare const releaseActionController: {
|
|
3
|
-
create(ctx: Koa.Context): Promise<void>;
|
|
4
|
-
createMany(ctx: Koa.Context): Promise<void>;
|
|
5
|
-
findMany(ctx: Koa.Context): Promise<void>;
|
|
6
|
-
update(ctx: Koa.Context): Promise<void>;
|
|
7
|
-
delete(ctx: Koa.Context): Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
export default releaseActionController;
|
|
10
|
-
//# sourceMappingURL=release-action.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;oBAcP,IAAI,OAAO;kBA8Cb,IAAI,OAAO;gBA2Eb,IAAI,OAAO;gBAoBX,IAAI,OAAO;CAY9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type Koa from 'koa';
|
|
2
|
-
declare const releaseController: {
|
|
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>;
|
|
10
|
-
findOne(ctx: Koa.Context): Promise<void>;
|
|
11
|
-
mapEntriesToReleases(ctx: Koa.Context): Promise<void>;
|
|
12
|
-
create(ctx: Koa.Context): Promise<void>;
|
|
13
|
-
update(ctx: Koa.Context): Promise<void>;
|
|
14
|
-
delete(ctx: Koa.Context): Promise<void>;
|
|
15
|
-
publish(ctx: Koa.Context): Promise<void>;
|
|
16
|
-
};
|
|
17
|
-
export default releaseController;
|
|
18
|
-
//# sourceMappingURL=release.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAoB3B,QAAA,MAAM,iBAAiB;IACrB;;;;OAIG;gCAC+B,IAAI,OAAO;kBAiFzB,IAAI,OAAO;iBAmCZ,IAAI,OAAO;8BAmCE,IAAI,OAAO;gBAqDzB,IAAI,OAAO;gBAmBX,IAAI,OAAO;gBAoBX,IAAI,OAAO;iBAWV,IAAI,OAAO;CA+B/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,14 +0,0 @@
|
|
|
1
|
-
import { yup } from '@strapi/utils';
|
|
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, {
|
|
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>;
|
|
6
|
-
type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
7
|
-
}>>>;
|
|
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, {
|
|
9
|
-
type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
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
|
-
}>>>;
|
|
14
|
-
//# sourceMappingURL=release-action.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,4 +0,0 @@
|
|
|
1
|
-
export declare const RELEASE_SCHEMA: any;
|
|
2
|
-
export declare const validateRelease: (body: unknown, errorMessage?: string | undefined) => Promise<any>;
|
|
3
|
-
export declare const validatefindByDocumentAttachedParams: (body: unknown, errorMessage?: string | undefined) => Promise<any>;
|
|
4
|
-
//# sourceMappingURL=release.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../../server/src/controllers/validation/release.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,KAYb,CAAC;AAaf,eAAO,MAAM,eAAe,oEAAoC,CAAC;AAEjE,eAAO,MAAM,oCAAoC,oEAEhD,CAAC"}
|