@strapi/content-releases 4.16.2 → 4.17.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.
Files changed (85) hide show
  1. package/dist/_chunks/{App-b83f4a97.mjs → App-a4843fda.mjs} +143 -63
  2. package/dist/_chunks/App-a4843fda.mjs.map +1 -0
  3. package/dist/_chunks/{App-b6df6b60.js → App-f2cafd81.js} +138 -58
  4. package/dist/_chunks/App-f2cafd81.js.map +1 -0
  5. package/dist/_chunks/{en-b5dfabe6.js → en-13576ce2.js} +8 -2
  6. package/dist/_chunks/en-13576ce2.js.map +1 -0
  7. package/dist/_chunks/{en-d837b82d.mjs → en-e98d8b57.mjs} +8 -2
  8. package/dist/_chunks/en-e98d8b57.mjs.map +1 -0
  9. package/dist/_chunks/{index-28e99164.js → index-66d129ac.js} +66 -12
  10. package/dist/_chunks/index-66d129ac.js.map +1 -0
  11. package/dist/_chunks/{index-c39292e3.mjs → index-937f8179.mjs} +68 -14
  12. package/dist/_chunks/index-937f8179.mjs.map +1 -0
  13. package/dist/admin/index.js +2 -2
  14. package/dist/admin/index.mjs +2 -2
  15. package/dist/server/index.js.map +1 -1
  16. package/dist/server/index.mjs.map +1 -1
  17. package/package.json +10 -10
  18. package/dist/_chunks/App-b6df6b60.js.map +0 -1
  19. package/dist/_chunks/App-b83f4a97.mjs.map +0 -1
  20. package/dist/_chunks/en-b5dfabe6.js.map +0 -1
  21. package/dist/_chunks/en-d837b82d.mjs.map +0 -1
  22. package/dist/_chunks/index-28e99164.js.map +0 -1
  23. package/dist/_chunks/index-c39292e3.mjs.map +0 -1
  24. package/dist/admin/src/components/CMReleasesContainer.d.ts +0 -1
  25. package/dist/admin/src/components/ReleaseActionMenu.d.ts +0 -7
  26. package/dist/admin/src/components/ReleaseActionOptions.d.ts +0 -8
  27. package/dist/admin/src/components/ReleaseModal.d.ts +0 -11
  28. package/dist/admin/src/constants.d.ts +0 -13
  29. package/dist/admin/src/index.d.ts +0 -3
  30. package/dist/admin/src/pages/App.d.ts +0 -1
  31. package/dist/admin/src/pages/ReleaseDetailsPage.d.ts +0 -10
  32. package/dist/admin/src/pages/ReleasesPage.d.ts +0 -11
  33. package/dist/admin/src/pages/tests/mockReleaseDetailsPageData.d.ts +0 -104
  34. package/dist/admin/src/pages/tests/mockReleasesPageData.d.ts +0 -38
  35. package/dist/admin/src/pluginId.d.ts +0 -1
  36. package/dist/admin/src/services/axios.d.ts +0 -29
  37. package/dist/admin/src/services/release.d.ts +0 -348
  38. package/dist/server/src/constants.d.ts +0 -9
  39. package/dist/server/src/constants.d.ts.map +0 -1
  40. package/dist/server/src/content-types/index.d.ts +0 -82
  41. package/dist/server/src/content-types/index.d.ts.map +0 -1
  42. package/dist/server/src/content-types/release/index.d.ts +0 -37
  43. package/dist/server/src/content-types/release/index.d.ts.map +0 -1
  44. package/dist/server/src/content-types/release/schema.d.ts +0 -36
  45. package/dist/server/src/content-types/release/schema.d.ts.map +0 -1
  46. package/dist/server/src/content-types/release-action/index.d.ts +0 -44
  47. package/dist/server/src/content-types/release-action/index.d.ts.map +0 -1
  48. package/dist/server/src/content-types/release-action/schema.d.ts +0 -43
  49. package/dist/server/src/content-types/release-action/schema.d.ts.map +0 -1
  50. package/dist/server/src/controllers/index.d.ts +0 -18
  51. package/dist/server/src/controllers/index.d.ts.map +0 -1
  52. package/dist/server/src/controllers/release-action.d.ts +0 -9
  53. package/dist/server/src/controllers/release-action.d.ts.map +0 -1
  54. package/dist/server/src/controllers/release.d.ts +0 -11
  55. package/dist/server/src/controllers/release.d.ts.map +0 -1
  56. package/dist/server/src/controllers/validation/release-action.d.ts +0 -3
  57. package/dist/server/src/controllers/validation/release-action.d.ts.map +0 -1
  58. package/dist/server/src/controllers/validation/release.d.ts +0 -2
  59. package/dist/server/src/controllers/validation/release.d.ts.map +0 -1
  60. package/dist/server/src/index.d.ts +0 -301
  61. package/dist/server/src/index.d.ts.map +0 -1
  62. package/dist/server/src/register.d.ts +0 -5
  63. package/dist/server/src/register.d.ts.map +0 -1
  64. package/dist/server/src/routes/index.d.ts +0 -35
  65. package/dist/server/src/routes/index.d.ts.map +0 -1
  66. package/dist/server/src/routes/release-action.d.ts +0 -18
  67. package/dist/server/src/routes/release-action.d.ts.map +0 -1
  68. package/dist/server/src/routes/release.d.ts +0 -18
  69. package/dist/server/src/routes/release.d.ts.map +0 -1
  70. package/dist/server/src/services/index.d.ts +0 -77
  71. package/dist/server/src/services/index.d.ts.map +0 -1
  72. package/dist/server/src/services/release.d.ts +0 -55
  73. package/dist/server/src/services/release.d.ts.map +0 -1
  74. package/dist/server/src/services/validation.d.ts +0 -10
  75. package/dist/server/src/services/validation.d.ts.map +0 -1
  76. package/dist/server/src/utils/index.d.ts +0 -4
  77. package/dist/server/src/utils/index.d.ts.map +0 -1
  78. package/dist/shared/contracts/release-actions.d.ts +0 -95
  79. package/dist/shared/contracts/release-actions.d.ts.map +0 -1
  80. package/dist/shared/contracts/releases.d.ts +0 -153
  81. package/dist/shared/contracts/releases.d.ts.map +0 -1
  82. package/dist/shared/types.d.ts +0 -24
  83. package/dist/shared/types.d.ts.map +0 -1
  84. package/dist/shared/validation-schemas.d.ts +0 -2
  85. package/dist/shared/validation-schemas.d.ts.map +0 -1
@@ -1,37 +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
- actions: {
29
- type: string;
30
- relation: string;
31
- target: string;
32
- mappedBy: string;
33
- };
34
- };
35
- };
36
- };
37
- //# 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,36 +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
- actions: {
28
- type: string;
29
- relation: string;
30
- target: string;
31
- mappedBy: string;
32
- };
33
- };
34
- };
35
- export default _default;
36
- //# 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,wBAiCE"}
@@ -1,44 +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
- entry: {
27
- type: string;
28
- relation: string;
29
- configurable: boolean;
30
- };
31
- contentType: {
32
- type: string;
33
- required: boolean;
34
- };
35
- release: {
36
- type: string;
37
- relation: string;
38
- target: string;
39
- inversedBy: string;
40
- };
41
- };
42
- };
43
- };
44
- //# 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,43 +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
- entry: {
26
- type: string;
27
- relation: string;
28
- configurable: boolean;
29
- };
30
- contentType: {
31
- type: string;
32
- required: boolean;
33
- };
34
- release: {
35
- type: string;
36
- relation: string;
37
- target: string;
38
- inversedBy: string;
39
- };
40
- };
41
- };
42
- export default _default;
43
- //# 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,wBAwCE"}
@@ -1,18 +0,0 @@
1
- /// <reference types="koa" />
2
- export declare const controllers: {
3
- release: {
4
- findMany(ctx: import("koa").Context): Promise<void>;
5
- findOne(ctx: import("koa").Context): Promise<void>;
6
- create(ctx: import("koa").Context): Promise<void>;
7
- update(ctx: import("koa").Context): Promise<void>;
8
- delete(ctx: import("koa").Context): Promise<void>;
9
- publish(ctx: import("koa").Context): Promise<void>;
10
- };
11
- 'release-action': {
12
- create(ctx: import("koa").Context): Promise<void>;
13
- findMany(ctx: import("koa").Context): Promise<void>;
14
- update(ctx: import("koa").Context): Promise<void>;
15
- delete(ctx: import("koa").Context): Promise<void>;
16
- };
17
- };
18
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/index.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;CAA+C,CAAC"}
@@ -1,9 +0,0 @@
1
- import type Koa from 'koa';
2
- declare const releaseActionController: {
3
- create(ctx: Koa.Context): Promise<void>;
4
- findMany(ctx: Koa.Context): Promise<void>;
5
- update(ctx: Koa.Context): Promise<void>;
6
- delete(ctx: Koa.Context): Promise<void>;
7
- };
8
- export default releaseActionController;
9
- //# 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;AA0B3B,QAAA,MAAM,uBAAuB;gBACT,IAAI,OAAO;kBAaT,IAAI,OAAO;gBA6Cb,IAAI,OAAO;gBAmBX,IAAI,OAAO;CAa9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,11 +0,0 @@
1
- import type Koa from 'koa';
2
- declare const releaseController: {
3
- findMany(ctx: Koa.Context): Promise<void>;
4
- findOne(ctx: Koa.Context): Promise<void>;
5
- create(ctx: Koa.Context): Promise<void>;
6
- update(ctx: Koa.Context): Promise<void>;
7
- delete(ctx: Koa.Context): Promise<void>;
8
- publish(ctx: Koa.Context): Promise<void>;
9
- };
10
- export default releaseController;
11
- //# 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;AAmB3B,QAAA,MAAM,iBAAiB;kBACD,IAAI,OAAO;iBAgDZ,IAAI,OAAO;gBAmCZ,IAAI,OAAO;gBAmBX,IAAI,OAAO;gBAoBX,IAAI,OAAO;iBAWV,IAAI,OAAO;CAW/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare const validateReleaseAction: (body: unknown, errorMessage?: string | undefined) => Promise<any>;
2
- export declare const validateReleaseActionUpdateSchema: (body: unknown, errorMessage?: string | undefined) => Promise<any>;
3
- //# 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":"AAiBA,eAAO,MAAM,qBAAqB,oEAA2C,CAAC;AAC9E,eAAO,MAAM,iCAAiC,oEAAkD,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const validateRelease: (body: unknown, errorMessage?: string | undefined) => Promise<any>;
2
- //# 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":"AAGA,eAAO,MAAM,eAAe,oEAAoC,CAAC"}
@@ -1,301 +0,0 @@
1
- /// <reference types="koa" />
2
- declare const _default: {
3
- register: ({ strapi }: {
4
- strapi: Required<import("@strapi/types").Strapi>;
5
- }) => Promise<void>;
6
- contentTypes: {
7
- release: {
8
- schema: {
9
- collectionName: string;
10
- info: {
11
- singularName: string;
12
- pluralName: string;
13
- displayName: string;
14
- };
15
- options: {
16
- draftAndPublish: boolean;
17
- };
18
- pluginOptions: {
19
- 'content-manager': {
20
- visible: boolean;
21
- };
22
- 'content-type-builder': {
23
- visible: boolean;
24
- };
25
- };
26
- attributes: {
27
- name: {
28
- type: string;
29
- required: boolean;
30
- };
31
- releasedAt: {
32
- type: string;
33
- };
34
- actions: {
35
- type: string;
36
- relation: string;
37
- target: string;
38
- mappedBy: string;
39
- };
40
- };
41
- };
42
- };
43
- 'release-action': {
44
- schema: {
45
- collectionName: string;
46
- info: {
47
- singularName: string;
48
- pluralName: string;
49
- displayName: string;
50
- };
51
- options: {
52
- draftAndPublish: boolean;
53
- };
54
- pluginOptions: {
55
- 'content-manager': {
56
- visible: boolean;
57
- };
58
- 'content-type-builder': {
59
- visible: boolean;
60
- };
61
- };
62
- attributes: {
63
- type: {
64
- type: string;
65
- enum: string[];
66
- required: boolean;
67
- };
68
- entry: {
69
- type: string;
70
- relation: string;
71
- configurable: boolean;
72
- };
73
- contentType: {
74
- type: string;
75
- required: boolean;
76
- };
77
- release: {
78
- type: string;
79
- relation: string;
80
- target: string;
81
- inversedBy: string;
82
- };
83
- };
84
- };
85
- };
86
- };
87
- services: {
88
- release: ({ strapi }: {
89
- strapi: Required<import("@strapi/types").Strapi>;
90
- }) => {
91
- create(releaseData: {
92
- name: string;
93
- }, { user }: {
94
- user: import("../../shared/types").UserInfo;
95
- }): Promise<import("@strapi/types/dist/types/core/attributes").GetValues<"plugin::content-releases.release", string>>;
96
- findOne(id: import("@strapi/types/dist/types/core/entity").ID, query?: {}): Promise<import("@strapi/types/dist/types/core/attributes").GetValues<"plugin::content-releases.release", string> | null>;
97
- findPage(query?: Partial<Pick<import("../../shared/contracts/releases").Pagination, "page" | "pageSize">> | undefined): Promise<import("@strapi/types/dist/modules/entity-service").PaginatedResult<"plugin::content-releases.release", {
98
- sort?: import("@strapi/types/dist/modules/entity-service/params/sort").Any<"plugin::content-releases.release"> | undefined;
99
- } & {
100
- fields?: import("@strapi/types/dist/modules/entity-service/params/fields").Any<"plugin::content-releases.release"> | undefined;
101
- } & {
102
- filters?: import("@strapi/types/dist/modules/entity-service/params/filters").Any<"plugin::content-releases.release"> | undefined;
103
- } & {
104
- populate?: import("@strapi/types/dist/modules/entity-service/params/populate").Any<"plugin::content-releases.release"> | undefined;
105
- } & ((import("@strapi/types/dist/types/utils").Without<import("@strapi/types/dist/modules/entity-service/params/pagination").PageNotation, import("@strapi/types/dist/modules/entity-service/params/pagination").OffsetNotation> & import("@strapi/types/dist/modules/entity-service/params/pagination").OffsetNotation) | (import("@strapi/types/dist/types/utils").Without<import("@strapi/types/dist/modules/entity-service/params/pagination").OffsetNotation, import("@strapi/types/dist/modules/entity-service/params/pagination").PageNotation> & import("@strapi/types/dist/modules/entity-service/params/pagination").PageNotation)) & {
106
- publicationState?: import("@strapi/types/dist/modules/entity-service/params/publication-state").Kind | undefined;
107
- } & {
108
- _q?: string | undefined;
109
- }>>;
110
- findManyForContentTypeEntry(contentTypeUid: import("@strapi/types/dist/types/core/common/uid").ContentType, entryId: import("@strapi/types/dist/types/core/entity").ID, { hasEntryAttached, }?: {
111
- hasEntryAttached?: boolean | undefined;
112
- }): Promise<any[]>;
113
- update(id: number, releaseData: {
114
- name: string;
115
- }, { user }: {
116
- user: import("../../shared/types").UserInfo;
117
- }): Promise<import("@strapi/types/dist/types/core/attributes").GetValues<"plugin::content-releases.release", string>>;
118
- createAction(releaseId: import("@strapi/types/dist/types/core/entity").ID, action: Pick<{
119
- type: "publish" | "unpublish";
120
- entry: {
121
- id: import("@strapi/types/dist/types/core/entity").ID;
122
- contentType: import("@strapi/types/dist/types/core/common/uid").ContentType;
123
- };
124
- }, "type" | "entry">): Promise<import("@strapi/types/dist/types/core/attributes").GetValues<"plugin::content-releases.release-action", string>>;
125
- findActions(releaseId: import("@strapi/types/dist/types/core/entity").ID, query?: Partial<Pick<import("../../shared/contracts/releases").Pagination, "page" | "pageSize">> | undefined): Promise<import("@strapi/types/dist/modules/entity-service").PaginatedResult<"plugin::content-releases.release-action", {
126
- populate: {
127
- entry: true;
128
- };
129
- filters: {
130
- release: import("@strapi/types/dist/types/core/entity").ID;
131
- };
132
- page?: number | undefined;
133
- pageSize?: number | undefined;
134
- }>>;
135
- countActions(query: {
136
- filters?: import("@strapi/types/dist/modules/entity-service/params/filters").Any<"plugin::content-releases.release-action"> | undefined;
137
- }): Promise<number>;
138
- getAllContentTypeUids(releaseId: import("@strapi/types/dist/types/core/entity").ID): Promise<(`admin::${string}` | `strapi::${string}` | `api::${string}.${string}` | `plugin::${string}.${string}`)[]>;
139
- getContentTypesDataForActions(releaseId: import("@strapi/types/dist/types/core/entity").ID): Promise<Record<`admin::${string}` | `strapi::${string}` | `api::${string}.${string}` | `plugin::${string}.${string}`, {
140
- mainField: string;
141
- displayName: string;
142
- }>>;
143
- delete(releaseId: import("@strapi/types/dist/types/core/entity").ID): Promise<import("../../shared/contracts/releases").Release>;
144
- publish(releaseId: import("@strapi/types/dist/types/core/entity").ID): Promise<import("@strapi/types/dist/types/core/attributes").GetValues<"plugin::content-releases.release", string> | null>;
145
- updateAction(actionId: import("@strapi/types/dist/types/core/entity").ID, releaseId: import("@strapi/types/dist/types/core/entity").ID, update: {
146
- type: "publish" | "unpublish";
147
- }): Promise<any>;
148
- deleteAction(actionId: import("@strapi/types/dist/types/core/entity").ID, releaseId: import("@strapi/types/dist/types/core/entity").ID): Promise<any>;
149
- };
150
- 'release-validation': ({ strapi }: {
151
- strapi: Required<import("@strapi/types").Strapi>;
152
- }) => {
153
- validateUniqueEntry(releaseId: import("@strapi/types/dist/types/core/entity").ID, releaseActionArgs: {
154
- type: "publish" | "unpublish";
155
- entry: {
156
- id: import("@strapi/types/dist/types/core/entity").ID;
157
- contentType: import("@strapi/types/dist/types/core/common/uid").ContentType;
158
- };
159
- }): Promise<void>;
160
- validateEntryContentType(contentTypeUid: import("@strapi/types/dist/types/core/common/uid").ContentType): void;
161
- };
162
- };
163
- controllers: {
164
- release: {
165
- findMany(ctx: import("koa").Context): Promise<void>;
166
- findOne(ctx: import("koa").Context): Promise<void>;
167
- create(ctx: import("koa").Context): Promise<void>;
168
- update(ctx: import("koa").Context): Promise<void>;
169
- delete(ctx: import("koa").Context): Promise<void>;
170
- publish(ctx: import("koa").Context): Promise<void>;
171
- };
172
- 'release-action': {
173
- create(ctx: import("koa").Context): Promise<void>;
174
- findMany(ctx: import("koa").Context): Promise<void>;
175
- update(ctx: import("koa").Context): Promise<void>;
176
- delete(ctx: import("koa").Context): Promise<void>;
177
- };
178
- };
179
- routes: {
180
- release: {
181
- type: string;
182
- routes: {
183
- method: string;
184
- path: string;
185
- handler: string;
186
- config: {
187
- policies: (string | {
188
- name: string;
189
- config: {
190
- actions: string[];
191
- };
192
- })[];
193
- };
194
- }[];
195
- };
196
- 'release-action': {
197
- type: string;
198
- routes: {
199
- method: string;
200
- path: string;
201
- handler: string;
202
- config: {
203
- policies: (string | {
204
- name: string;
205
- config: {
206
- actions: string[];
207
- };
208
- })[];
209
- };
210
- }[];
211
- };
212
- };
213
- } | {
214
- contentTypes: {
215
- release: {
216
- schema: {
217
- collectionName: string;
218
- info: {
219
- singularName: string;
220
- pluralName: string;
221
- displayName: string;
222
- };
223
- options: {
224
- draftAndPublish: boolean;
225
- };
226
- pluginOptions: {
227
- 'content-manager': {
228
- visible: boolean;
229
- };
230
- 'content-type-builder': {
231
- visible: boolean;
232
- };
233
- };
234
- attributes: {
235
- name: {
236
- type: string;
237
- required: boolean;
238
- };
239
- releasedAt: {
240
- type: string;
241
- };
242
- actions: {
243
- type: string;
244
- relation: string;
245
- target: string;
246
- mappedBy: string;
247
- };
248
- };
249
- };
250
- };
251
- 'release-action': {
252
- schema: {
253
- collectionName: string;
254
- info: {
255
- singularName: string;
256
- pluralName: string;
257
- displayName: string;
258
- };
259
- options: {
260
- draftAndPublish: boolean;
261
- };
262
- pluginOptions: {
263
- 'content-manager': {
264
- visible: boolean;
265
- };
266
- 'content-type-builder': {
267
- visible: boolean;
268
- };
269
- };
270
- attributes: {
271
- type: {
272
- type: string;
273
- enum: string[];
274
- required: boolean;
275
- };
276
- entry: {
277
- type: string;
278
- relation: string;
279
- configurable: boolean;
280
- };
281
- contentType: {
282
- type: string;
283
- required: boolean;
284
- };
285
- release: {
286
- type: string;
287
- relation: string;
288
- target: string;
289
- inversedBy: string;
290
- };
291
- };
292
- };
293
- };
294
- };
295
- register?: undefined;
296
- services?: undefined;
297
- controllers?: undefined;
298
- routes?: undefined;
299
- };
300
- export default _default;
301
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,wBAA2B"}
@@ -1,5 +0,0 @@
1
- import type { LoadedStrapi } from '@strapi/types';
2
- export declare const register: ({ strapi }: {
3
- strapi: LoadedStrapi;
4
- }) => Promise<void>;
5
- //# sourceMappingURL=register.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../server/src/register.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAKlD,eAAO,MAAM,QAAQ;YAAgC,YAAY;mBAOhE,CAAC"}
@@ -1,35 +0,0 @@
1
- export declare const routes: {
2
- release: {
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
- };
18
- 'release-action': {
19
- type: string;
20
- routes: {
21
- method: string;
22
- path: string;
23
- handler: string;
24
- config: {
25
- policies: (string | {
26
- name: string;
27
- config: {
28
- actions: string[];
29
- };
30
- })[];
31
- };
32
- }[];
33
- };
34
- };
35
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlB,CAAC"}
@@ -1,18 +0,0 @@
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=release-action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"release-action.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/release-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAoEE"}
@@ -1,18 +0,0 @@
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=release.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/release.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAoGE"}