@strapi/plugin-graphql 4.20.5 → 5.0.0-alpha.1
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/admin/index.js +29 -19
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/index.mjs +28 -18
- package/dist/admin/index.mjs.map +1 -1
- package/dist/admin/src/utils/prefixPluginTranslations.d.ts +3 -0
- package/dist/server/index.js +440 -296
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +438 -296
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/bootstrap.d.ts.map +1 -1
- package/dist/server/src/config/default-config.d.ts +1 -0
- package/dist/server/src/config/default-config.d.ts.map +1 -1
- package/dist/server/src/config/index.d.ts +1 -0
- package/dist/server/src/config/index.d.ts.map +1 -1
- package/dist/server/src/format-graphql-error.d.ts +7 -3
- package/dist/server/src/format-graphql-error.d.ts.map +1 -1
- package/dist/server/src/index.d.ts +31 -17
- package/dist/server/src/index.d.ts.map +1 -1
- package/dist/server/src/services/builders/entity.d.ts.map +1 -1
- package/dist/server/src/services/builders/index.d.ts +9 -5
- package/dist/server/src/services/builders/index.d.ts.map +1 -1
- package/dist/server/src/services/builders/mutations/collection-type.d.ts.map +1 -1
- package/dist/server/src/services/builders/mutations/single-type.d.ts.map +1 -1
- package/dist/server/src/services/builders/queries/collection-type.d.ts.map +1 -1
- package/dist/server/src/services/builders/queries/single-type.d.ts.map +1 -1
- package/dist/server/src/services/builders/relation-response-collection.d.ts.map +1 -1
- package/dist/server/src/services/builders/resolvers/association.d.ts.map +1 -1
- package/dist/server/src/services/builders/resolvers/component.d.ts.map +1 -1
- package/dist/server/src/services/builders/resolvers/index.d.ts +9 -33
- package/dist/server/src/services/builders/resolvers/index.d.ts.map +1 -1
- package/dist/server/src/services/builders/resolvers/pagination.d.ts +11 -0
- package/dist/server/src/services/builders/resolvers/pagination.d.ts.map +1 -0
- package/dist/server/src/services/builders/resolvers/query.d.ts +3 -14
- package/dist/server/src/services/builders/resolvers/query.d.ts.map +1 -1
- package/dist/server/src/services/builders/response-collection.d.ts.map +1 -1
- package/dist/server/src/services/builders/type.d.ts.map +1 -1
- package/dist/server/src/services/builders/utils.d.ts +11 -13
- package/dist/server/src/services/builders/utils.d.ts.map +1 -1
- package/dist/server/src/services/constants.d.ts +2 -1
- package/dist/server/src/services/constants.d.ts.map +1 -1
- package/dist/server/src/services/content-api/index.d.ts.map +1 -1
- package/dist/server/src/services/content-api/policy.d.ts +1 -1
- package/dist/server/src/services/content-api/policy.d.ts.map +1 -1
- package/dist/server/src/services/content-api/register-functions/{content-type/dynamic-zones.d.ts → dynamic-zones.d.ts} +1 -1
- package/dist/server/src/services/content-api/register-functions/dynamic-zones.d.ts.map +1 -0
- package/dist/server/src/services/content-api/register-functions/{content-type/enums.d.ts → enums.d.ts} +1 -1
- package/dist/server/src/services/content-api/register-functions/enums.d.ts.map +1 -0
- package/dist/server/src/services/content-api/register-functions/{content-type/filters.d.ts → filters.d.ts} +1 -1
- package/dist/server/src/services/content-api/register-functions/filters.d.ts.map +1 -0
- package/dist/server/src/services/content-api/register-functions/index.d.ts +5 -2
- package/dist/server/src/services/content-api/register-functions/index.d.ts.map +1 -1
- package/dist/server/src/services/content-api/register-functions/{content-type/inputs.d.ts → inputs.d.ts} +1 -1
- package/dist/server/src/services/content-api/register-functions/inputs.d.ts.map +1 -0
- package/dist/server/src/services/index.d.ts +30 -17
- package/dist/server/src/services/index.d.ts.map +1 -1
- package/dist/server/src/services/internals/args/index.d.ts +1 -1
- package/dist/server/src/services/internals/args/{publication-state.d.ts → publication-status.d.ts} +1 -1
- package/dist/server/src/services/internals/args/publication-status.d.ts.map +1 -0
- package/dist/server/src/services/internals/index.d.ts +14 -10
- package/dist/server/src/services/internals/index.d.ts.map +1 -1
- package/dist/server/src/services/internals/scalars/index.d.ts +4 -5
- package/dist/server/src/services/internals/scalars/index.d.ts.map +1 -1
- package/dist/server/src/services/internals/scalars/time.d.ts +1 -1
- package/dist/server/src/services/internals/scalars/time.d.ts.map +1 -1
- package/dist/server/src/services/internals/types/delete-mutation-response.d.ts +6 -0
- package/dist/server/src/services/internals/types/delete-mutation-response.d.ts.map +1 -0
- package/dist/server/src/services/internals/types/index.d.ts +9 -4
- package/dist/server/src/services/internals/types/index.d.ts.map +1 -1
- package/dist/server/src/services/internals/types/publication-status.d.ts +10 -0
- package/dist/server/src/services/internals/types/publication-status.d.ts.map +1 -0
- package/dist/server/src/services/internals/types/response-collection-meta.d.ts.map +1 -1
- package/dist/server/src/services/utils/index.d.ts +5 -1
- package/dist/server/src/services/utils/index.d.ts.map +1 -1
- package/dist/server/src/services/utils/naming.d.ts +1 -0
- package/dist/server/src/services/utils/naming.d.ts.map +1 -1
- package/dist/server/src/services/utils/playground.d.ts +6 -0
- package/dist/server/src/services/utils/playground.d.ts.map +1 -0
- package/package.json +20 -18
- package/dist/server/src/services/builders/entity-meta.d.ts +0 -6
- package/dist/server/src/services/builders/entity-meta.d.ts.map +0 -1
- package/dist/server/src/services/builders/resolvers/mutation.d.ts +0 -25
- package/dist/server/src/services/builders/resolvers/mutation.d.ts.map +0 -1
- package/dist/server/src/services/content-api/register-functions/content-type/dynamic-zones.d.ts.map +0 -1
- package/dist/server/src/services/content-api/register-functions/content-type/enums.d.ts.map +0 -1
- package/dist/server/src/services/content-api/register-functions/content-type/filters.d.ts.map +0 -1
- package/dist/server/src/services/content-api/register-functions/content-type/index.d.ts +0 -24
- package/dist/server/src/services/content-api/register-functions/content-type/index.d.ts.map +0 -1
- package/dist/server/src/services/content-api/register-functions/content-type/inputs.d.ts.map +0 -1
- package/dist/server/src/services/internals/args/publication-state.d.ts.map +0 -1
- package/dist/server/src/services/internals/types/publication-state.d.ts +0 -10
- package/dist/server/src/services/internals/types/publication-state.d.ts.map +0 -1
|
@@ -3,7 +3,7 @@ export declare const services: {
|
|
|
3
3
|
builders: ({ strapi }: {
|
|
4
4
|
strapi: import("@strapi/types").Strapi;
|
|
5
5
|
}) => {
|
|
6
|
-
new(name: string, registry: import("./type-registry").TypeRegistry): unknown;
|
|
6
|
+
"new"(name: string, registry: import("./type-registry").TypeRegistry): unknown;
|
|
7
7
|
delete(name: string): void;
|
|
8
8
|
get(name: string): any;
|
|
9
9
|
filters: {
|
|
@@ -14,20 +14,24 @@ export declare const services: {
|
|
|
14
14
|
}>;
|
|
15
15
|
};
|
|
16
16
|
utils: {
|
|
17
|
-
getContentTypeArgs(contentType: import("@strapi/types/dist/types/core/schemas").Any, { multiple }?: {
|
|
17
|
+
getContentTypeArgs(contentType: import("@strapi/types/dist/types/core/schemas").Any, { multiple, isNested }?: {
|
|
18
18
|
multiple?: boolean | undefined;
|
|
19
|
+
isNested?: boolean | undefined;
|
|
19
20
|
}): {
|
|
20
21
|
filters?: undefined;
|
|
21
22
|
pagination?: undefined;
|
|
22
23
|
sort?: undefined;
|
|
23
|
-
|
|
24
|
+
documentId?: undefined;
|
|
25
|
+
status?: undefined;
|
|
24
26
|
} | {
|
|
25
27
|
filters: any;
|
|
26
28
|
pagination: any;
|
|
27
29
|
sort: any;
|
|
28
|
-
|
|
30
|
+
documentId?: undefined;
|
|
31
|
+
status?: undefined;
|
|
29
32
|
} | {
|
|
30
|
-
|
|
33
|
+
documentId: import("nexus/dist/core").NexusNonNullDef<any>;
|
|
34
|
+
status: any;
|
|
31
35
|
filters?: undefined;
|
|
32
36
|
pagination?: undefined;
|
|
33
37
|
sort?: undefined;
|
|
@@ -50,7 +54,8 @@ export declare const services: {
|
|
|
50
54
|
constants: () => {
|
|
51
55
|
PAGINATION_TYPE_NAME: string;
|
|
52
56
|
RESPONSE_COLLECTION_META_TYPE_NAME: string;
|
|
53
|
-
|
|
57
|
+
DELETE_MUTATION_RESPONSE_TYPE_NAME: string;
|
|
58
|
+
PUBLICATION_STATUS_TYPE_NAME: string;
|
|
54
59
|
GRAPHQL_SCALARS: readonly ["ID", "Boolean", "Int", "String", "Long", "Float", "JSON", "Date", "Time", "DateTime"];
|
|
55
60
|
STRAPI_SCALARS: readonly ["boolean", "integer", "string", "richtext", "blocks", "enumeration", "biginteger", "float", "decimal", "json", "date", "time", "datetime", "timestamp", "uid", "email", "password", "text"];
|
|
56
61
|
GENERIC_MORPH_TYPENAME: string;
|
|
@@ -163,15 +168,14 @@ export declare const services: {
|
|
|
163
168
|
args: {
|
|
164
169
|
SortArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
165
170
|
PaginationArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
166
|
-
|
|
171
|
+
PublicationStatusArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
167
172
|
};
|
|
168
173
|
scalars: {
|
|
169
|
-
JSON:
|
|
170
|
-
DateTime:
|
|
174
|
+
JSON: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
175
|
+
DateTime: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
171
176
|
Time: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
172
|
-
Date:
|
|
173
|
-
Long:
|
|
174
|
-
Upload: import("graphql").GraphQLScalarType | import("graphql").GraphQLEnumType | import("graphql").GraphQLInputObjectType | import("graphql").GraphQLList<any> | import("nexus/dist/core").NexusUnionTypeDef<any> | import("nexus/dist/core").NexusObjectTypeDef<any> | import("graphql").GraphQLNonNull<any> | import("nexus/dist/core").NexusListDef<any> | import("nexus/dist/core").NexusNonNullDef<any> | import("nexus/dist/core").NexusNullDef<any> | import("nexus/dist/core").NexusInputObjectTypeDef<any> | import("nexus/dist/core").NexusEnumTypeDef<any> | import("nexus/dist/core").NexusScalarTypeDef<any> | import("nexus/dist/core").NexusInterfaceTypeDef<any>;
|
|
177
|
+
Date: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
178
|
+
Long: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
175
179
|
};
|
|
176
180
|
buildInternalTypes: () => {
|
|
177
181
|
[x: number]: {
|
|
@@ -182,20 +186,25 @@ export declare const services: {
|
|
|
182
186
|
responseCollectionMeta: {
|
|
183
187
|
ResponseCollectionMeta: import("nexus/dist/core").NexusObjectTypeDef<any>;
|
|
184
188
|
};
|
|
185
|
-
|
|
189
|
+
deleteDocumentResponse: {
|
|
190
|
+
DeleteMutationResponse: import("nexus/dist/core").NexusObjectTypeDef<any>;
|
|
191
|
+
};
|
|
192
|
+
publicationStatus?: undefined;
|
|
186
193
|
} | {
|
|
187
|
-
|
|
188
|
-
|
|
194
|
+
publicationStatus: {
|
|
195
|
+
PublicationStatus: import("nexus/dist/core").NexusEnumTypeDef<any>;
|
|
189
196
|
};
|
|
190
197
|
error?: undefined;
|
|
191
198
|
pagination?: undefined;
|
|
192
199
|
responseCollectionMeta?: undefined;
|
|
200
|
+
deleteDocumentResponse?: undefined;
|
|
193
201
|
} | {
|
|
194
202
|
scalars: any;
|
|
195
203
|
error?: undefined;
|
|
196
204
|
pagination?: undefined;
|
|
197
205
|
responseCollectionMeta?: undefined;
|
|
198
|
-
|
|
206
|
+
deleteDocumentResponse?: undefined;
|
|
207
|
+
publicationStatus?: undefined;
|
|
199
208
|
};
|
|
200
209
|
};
|
|
201
210
|
helpers: {
|
|
@@ -206,6 +215,9 @@ export declare const services: {
|
|
|
206
215
|
new: () => import("./type-registry").TypeRegistry;
|
|
207
216
|
};
|
|
208
217
|
utils: (context: import("./types").Context) => {
|
|
218
|
+
playground: {
|
|
219
|
+
isEnabled(): boolean;
|
|
220
|
+
};
|
|
209
221
|
naming: {
|
|
210
222
|
getEnumName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, attributeName: string) => string;
|
|
211
223
|
getTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, { plurality, }?: {
|
|
@@ -217,7 +229,7 @@ export declare const services: {
|
|
|
217
229
|
getEntityResponseCollectionName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
218
230
|
getRelationResponseCollectionName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
219
231
|
getComponentName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
220
|
-
getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/types/core/attributes").Component<`${string}.${string}`,
|
|
232
|
+
getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/types/core/attributes").Component<`${string}.${string}`, import("@strapi/types/dist/types/utils/expression").BooleanValue>) => string;
|
|
221
233
|
getDynamicZoneName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, attributeName: string) => string;
|
|
222
234
|
getDynamicZoneInputName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, attributeName: string) => string;
|
|
223
235
|
getComponentInputName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
@@ -238,6 +250,7 @@ export declare const services: {
|
|
|
238
250
|
getCreateMutationTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
239
251
|
getUpdateMutationTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
240
252
|
getDeleteMutationTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
253
|
+
getFindConnectionQueryName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
241
254
|
};
|
|
242
255
|
attributes: {
|
|
243
256
|
isStrapiScalar: (attribute: import("@strapi/types/dist/types/core/attributes").Any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASpB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { Context } from '../../types';
|
|
|
2
2
|
declare const _default: (context: Context) => {
|
|
3
3
|
SortArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
4
4
|
PaginationArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
5
|
-
|
|
5
|
+
PublicationStatusArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publication-status.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/args/publication-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAEV,OAAO;AAAnC,wBAOE"}
|
|
@@ -3,15 +3,14 @@ declare const _default: (context: Context) => {
|
|
|
3
3
|
args: {
|
|
4
4
|
SortArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
5
5
|
PaginationArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
6
|
-
|
|
6
|
+
PublicationStatusArg: import("nexus/dist/core").NexusArgDef<any>;
|
|
7
7
|
};
|
|
8
8
|
scalars: {
|
|
9
|
-
JSON:
|
|
10
|
-
DateTime:
|
|
9
|
+
JSON: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
10
|
+
DateTime: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
11
11
|
Time: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
12
|
-
Date:
|
|
13
|
-
Long:
|
|
14
|
-
Upload: import("graphql").GraphQLScalarType | import("graphql").GraphQLEnumType | import("graphql").GraphQLInputObjectType | import("graphql").GraphQLList<any> | import("nexus/dist/core").NexusUnionTypeDef<any> | import("nexus/dist/core").NexusObjectTypeDef<any> | import("graphql").GraphQLNonNull<any> | import("nexus/dist/core").NexusListDef<any> | import("nexus/dist/core").NexusNonNullDef<any> | import("nexus/dist/core").NexusNullDef<any> | import("nexus/dist/core").NexusInputObjectTypeDef<any> | import("nexus/dist/core").NexusEnumTypeDef<any> | import("nexus/dist/core").NexusScalarTypeDef<any> | import("nexus/dist/core").NexusInterfaceTypeDef<any>;
|
|
12
|
+
Date: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
13
|
+
Long: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
15
14
|
};
|
|
16
15
|
buildInternalTypes: () => {
|
|
17
16
|
[x: number]: {
|
|
@@ -22,20 +21,25 @@ declare const _default: (context: Context) => {
|
|
|
22
21
|
responseCollectionMeta: {
|
|
23
22
|
ResponseCollectionMeta: import("nexus/dist/core").NexusObjectTypeDef<any>;
|
|
24
23
|
};
|
|
25
|
-
|
|
24
|
+
deleteDocumentResponse: {
|
|
25
|
+
DeleteMutationResponse: import("nexus/dist/core").NexusObjectTypeDef<any>;
|
|
26
|
+
};
|
|
27
|
+
publicationStatus?: undefined;
|
|
26
28
|
} | {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
publicationStatus: {
|
|
30
|
+
PublicationStatus: import("nexus/dist/core").NexusEnumTypeDef<any>;
|
|
29
31
|
};
|
|
30
32
|
error?: undefined;
|
|
31
33
|
pagination?: undefined;
|
|
32
34
|
responseCollectionMeta?: undefined;
|
|
35
|
+
deleteDocumentResponse?: undefined;
|
|
33
36
|
} | {
|
|
34
37
|
scalars: any;
|
|
35
38
|
error?: undefined;
|
|
36
39
|
pagination?: undefined;
|
|
37
40
|
responseCollectionMeta?: undefined;
|
|
38
|
-
|
|
41
|
+
deleteDocumentResponse?: undefined;
|
|
42
|
+
publicationStatus?: undefined;
|
|
39
43
|
};
|
|
40
44
|
};
|
|
41
45
|
helpers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/internals/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;kCAEf,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/internals/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;kCAEf,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAhC,wBAKG"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
declare const _default: () => {
|
|
2
|
-
JSON:
|
|
3
|
-
DateTime:
|
|
2
|
+
JSON: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
3
|
+
DateTime: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
4
4
|
Time: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
5
|
-
Date:
|
|
6
|
-
Long:
|
|
7
|
-
Upload: import("graphql").GraphQLScalarType | import("graphql").GraphQLEnumType | import("graphql").GraphQLInputObjectType | import("graphql").GraphQLList<any> | import("nexus/dist/core").NexusUnionTypeDef<any> | import("nexus/dist/core").NexusObjectTypeDef<any> | import("graphql").GraphQLNonNull<any> | import("nexus/dist/core").NexusListDef<any> | import("nexus/dist/core").NexusNonNullDef<any> | import("nexus/dist/core").NexusNullDef<any> | import("nexus/dist/core").NexusInputObjectTypeDef<any> | import("nexus/dist/core").NexusEnumTypeDef<any> | import("nexus/dist/core").NexusScalarTypeDef<any> | import("nexus/dist/core").NexusInterfaceTypeDef<any>;
|
|
5
|
+
Date: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
6
|
+
Long: import("nexus/dist/core").AllNexusOutputTypeDefs;
|
|
8
7
|
};
|
|
9
8
|
export default _default;
|
|
10
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/scalars/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/scalars/index.ts"],"names":[],"mappings":";;;;;;;AAMA,wBAMG"}
|
|
@@ -3,6 +3,6 @@ import { GraphQLScalarType } from 'graphql';
|
|
|
3
3
|
* A GraphQL scalar used to store Time (HH:mm:ss.SSS) values
|
|
4
4
|
* @type {GraphQLScalarType}
|
|
5
5
|
*/
|
|
6
|
-
declare const TimeScalar: GraphQLScalarType
|
|
6
|
+
declare const TimeScalar: GraphQLScalarType<string, string>;
|
|
7
7
|
export default TimeScalar;
|
|
8
8
|
//# sourceMappingURL=time.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/scalars/time.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAQ,MAAM,SAAS,CAAC;AAKlD;;;GAGG;AACH,QAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/scalars/time.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAQ,MAAM,SAAS,CAAC;AAKlD;;;GAGG;AACH,QAAA,MAAM,UAAU,mCAsBd,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-mutation-response.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/delete-mutation-response.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAEf,OAAO;;;AAAnC,wBAYE"}
|
|
@@ -8,20 +8,25 @@ declare const _default: (context: Context) => () => {
|
|
|
8
8
|
responseCollectionMeta: {
|
|
9
9
|
ResponseCollectionMeta: import("nexus/dist/core").NexusObjectTypeDef<any>;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
deleteDocumentResponse: {
|
|
12
|
+
DeleteMutationResponse: import("nexus/dist/core").NexusObjectTypeDef<any>;
|
|
13
|
+
};
|
|
14
|
+
publicationStatus?: undefined;
|
|
12
15
|
} | {
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
publicationStatus: {
|
|
17
|
+
PublicationStatus: import("nexus/dist/core").NexusEnumTypeDef<any>;
|
|
15
18
|
};
|
|
16
19
|
error?: undefined;
|
|
17
20
|
pagination?: undefined;
|
|
18
21
|
responseCollectionMeta?: undefined;
|
|
22
|
+
deleteDocumentResponse?: undefined;
|
|
19
23
|
} | {
|
|
20
24
|
scalars: any;
|
|
21
25
|
error?: undefined;
|
|
22
26
|
pagination?: undefined;
|
|
23
27
|
responseCollectionMeta?: undefined;
|
|
24
|
-
|
|
28
|
+
deleteDocumentResponse?: undefined;
|
|
29
|
+
publicationStatus?: undefined;
|
|
25
30
|
};
|
|
26
31
|
};
|
|
27
32
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;kCAElB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAhC,wBAqBE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Context } from '../../types';
|
|
2
|
+
declare const _default: ({ strapi }: Context) => {
|
|
3
|
+
/**
|
|
4
|
+
* An enum type definition representing a publication status
|
|
5
|
+
* @type {NexusEnumTypeDef}
|
|
6
|
+
*/
|
|
7
|
+
PublicationStatus: import("nexus/dist/core").NexusEnumTypeDef<any>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=publication-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publication-status.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/publication-status.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAEf,OAAO;IAI/B;;;OAGG;;;AAPP,wBAiBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-collection-meta.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/response-collection-meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"response-collection-meta.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/response-collection-meta.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAEf,OAAO;IAM/B;;;;OAIG;;;AAVP,wBAwBE"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { Context } from '../types';
|
|
2
2
|
declare const _default: (context: Context) => {
|
|
3
|
+
playground: {
|
|
4
|
+
isEnabled(): boolean;
|
|
5
|
+
};
|
|
3
6
|
naming: {
|
|
4
7
|
getEnumName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, attributeName: string) => string;
|
|
5
8
|
getTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, { plurality, }?: {
|
|
@@ -11,7 +14,7 @@ declare const _default: (context: Context) => {
|
|
|
11
14
|
getEntityResponseCollectionName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
12
15
|
getRelationResponseCollectionName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
13
16
|
getComponentName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
14
|
-
getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/types/core/attributes").Component<`${string}.${string}`,
|
|
17
|
+
getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/types/core/attributes").Component<`${string}.${string}`, import("@strapi/types/dist/types/utils/expression").BooleanValue>) => string;
|
|
15
18
|
getDynamicZoneName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, attributeName: string) => string;
|
|
16
19
|
getDynamicZoneInputName: (contentType: import("@strapi/types/dist/types/core/schemas").Any, attributeName: string) => string;
|
|
17
20
|
getComponentInputName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
@@ -32,6 +35,7 @@ declare const _default: (context: Context) => {
|
|
|
32
35
|
getCreateMutationTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
33
36
|
getUpdateMutationTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
34
37
|
getDeleteMutationTypeName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
38
|
+
getFindConnectionQueryName: (contentType: import("@strapi/types/dist/types/core/schemas").Any) => string;
|
|
35
39
|
};
|
|
36
40
|
attributes: {
|
|
37
41
|
isStrapiScalar: (attribute: import("@strapi/types/dist/types/core/attributes").Any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;kCAEf,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAhC,wBAKG"}
|
|
@@ -32,6 +32,7 @@ declare const _default: ({ strapi }: Context) => {
|
|
|
32
32
|
getCreateMutationTypeName: (contentType: Schema.Any) => string;
|
|
33
33
|
getUpdateMutationTypeName: (contentType: Schema.Any) => string;
|
|
34
34
|
getDeleteMutationTypeName: (contentType: Schema.Any) => string;
|
|
35
|
+
getFindConnectionQueryName: (contentType: Schema.Any) => string;
|
|
35
36
|
};
|
|
36
37
|
export default _default;
|
|
37
38
|
//# sourceMappingURL=naming.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/naming.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;qCAIZ,OAAO;+BAIC,OAAO,GAAG,iBAAiB,MAAM;+BAiBpD,OAAO,GAAG;;;iCAuBW,OAAO,GAAG;qCAON,OAAO,GAAG;yCAON,OAAO,GAAG;mDAOA,OAAO,GAAG;qDAOR,OAAO,GAAG;oCAO3B,OAAO,GAAG;+CAOC,UAAU,SAAS;sCAO5B,OAAO,GAAG,iBAAiB,MAAM;2CAW5B,OAAO,GAAG,iBAAiB,MAAM;yCASnC,OAAO,GAAG;2CASR,OAAO,GAAG;4CAST,OAAO,GAAG;8CAOR,OAAO,GAAG;2CAOb,OAAO,GAAG;+CAWN,MAAM;4CAOT,OAAO,GAAG,iBAAiB,MAAM;4CAUjC;QAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,eAAe,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;QACpC,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;KACnC,mBAesB,OAAO,GAAG;oCAAV,OAAO,GAAG;uCAAV,OAAO,GAAG;6CAAV,OAAO,GAAG;6CAAV,OAAO,GAAG;6CAAV,OAAO,GAAG;;
|
|
1
|
+
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/naming.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;qCAIZ,OAAO;+BAIC,OAAO,GAAG,iBAAiB,MAAM;+BAiBpD,OAAO,GAAG;;;iCAuBW,OAAO,GAAG;qCAON,OAAO,GAAG;yCAON,OAAO,GAAG;mDAOA,OAAO,GAAG;qDAOR,OAAO,GAAG;oCAO3B,OAAO,GAAG;+CAOC,UAAU,SAAS;sCAO5B,OAAO,GAAG,iBAAiB,MAAM;2CAW5B,OAAO,GAAG,iBAAiB,MAAM;yCASnC,OAAO,GAAG;2CASR,OAAO,GAAG;4CAST,OAAO,GAAG;8CAOR,OAAO,GAAG;2CAOb,OAAO,GAAG;+CAWN,MAAM;4CAOT,OAAO,GAAG,iBAAiB,MAAM;4CAUjC;QAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,eAAe,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;QACpC,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;KACnC,mBAesB,OAAO,GAAG;oCAAV,OAAO,GAAG;uCAAV,OAAO,GAAG;6CAAV,OAAO,GAAG;6CAAV,OAAO,GAAG;6CAAV,OAAO,GAAG;8CAQgB,OAAO,GAAG;;AAzM7D,wBAyPE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playground.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/playground.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;8BAEd,OAAO;;;AAA5B,wBASE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-graphql",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.1",
|
|
4
4
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"./package.json": "./package.json"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
|
-
"
|
|
41
|
+
"dist/",
|
|
42
42
|
"strapi-server.js"
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
@@ -48,44 +48,46 @@
|
|
|
48
48
|
"watch": "strapi plugin:watch"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
+
"@apollo/server": "4.10.0",
|
|
52
|
+
"@as-integrations/koa": "1.1.1",
|
|
51
53
|
"@graphql-tools/schema": "8.5.1",
|
|
52
54
|
"@graphql-tools/utils": "^8.13.1",
|
|
55
|
+
"@koa/cors": "3.4.3",
|
|
53
56
|
"@strapi/design-system": "1.16.0",
|
|
54
|
-
"@strapi/helper-plugin": "
|
|
57
|
+
"@strapi/helper-plugin": "5.0.0-alpha.1",
|
|
55
58
|
"@strapi/icons": "1.16.0",
|
|
56
|
-
"@strapi/utils": "
|
|
57
|
-
"
|
|
58
|
-
"apollo-server-koa": "3.10.0",
|
|
59
|
-
"graphql": "^15.5.1",
|
|
59
|
+
"@strapi/utils": "5.0.0-alpha.1",
|
|
60
|
+
"graphql": "^16.8.1",
|
|
60
61
|
"graphql-depth-limit": "^1.1.0",
|
|
61
62
|
"graphql-playground-middleware-koa": "^1.6.21",
|
|
62
63
|
"graphql-scalars": "1.22.2",
|
|
63
|
-
"
|
|
64
|
+
"koa-bodyparser": "4.4.1",
|
|
64
65
|
"koa-compose": "^4.1.0",
|
|
65
66
|
"lodash": "4.17.21",
|
|
66
67
|
"nexus": "1.3.0",
|
|
67
68
|
"pluralize": "8.0.0"
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
70
|
-
"@strapi/strapi": "
|
|
71
|
-
"@strapi/types": "
|
|
71
|
+
"@strapi/strapi": "5.0.0-alpha.1",
|
|
72
|
+
"@strapi/types": "5.0.0-alpha.1",
|
|
72
73
|
"@types/graphql-depth-limit": "1.1.5",
|
|
73
|
-
"@types/
|
|
74
|
+
"@types/koa-bodyparser": "4.3.12",
|
|
75
|
+
"@types/koa__cors": "5.0.0",
|
|
74
76
|
"cross-env": "^7.0.3",
|
|
75
|
-
"eslint-config-custom": "
|
|
77
|
+
"eslint-config-custom": "5.0.0-alpha.1",
|
|
76
78
|
"koa": "2.13.4",
|
|
77
79
|
"react": "^18.2.0",
|
|
78
80
|
"react-dom": "^18.2.0",
|
|
79
|
-
"react-router-dom": "
|
|
80
|
-
"styled-components": "5.3.
|
|
81
|
-
"tsconfig": "
|
|
82
|
-
"typescript": "5.
|
|
81
|
+
"react-router-dom": "6.22.3",
|
|
82
|
+
"styled-components": "5.3.11",
|
|
83
|
+
"tsconfig": "5.0.0-alpha.1",
|
|
84
|
+
"typescript": "5.3.2"
|
|
83
85
|
},
|
|
84
86
|
"peerDependencies": {
|
|
85
87
|
"@strapi/strapi": "^4.0.0",
|
|
86
88
|
"react": "^17.0.0 || ^18.0.0",
|
|
87
89
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
88
|
-
"react-router-dom": "^
|
|
90
|
+
"react-router-dom": "^6.0.0",
|
|
89
91
|
"styled-components": "^5.2.1"
|
|
90
92
|
},
|
|
91
93
|
"engines": {
|
|
@@ -98,5 +100,5 @@
|
|
|
98
100
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
99
101
|
"kind": "plugin"
|
|
100
102
|
},
|
|
101
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "eb70e07ea981311a3ddfbb2fdda0417034b22881"
|
|
102
104
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-meta.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/builders/entity-meta.ts"],"names":[],"mappings":"AAAA,iBAAS,yBAAyB,SAAsB;;;;AAExD,wBAEG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Schema } from '@strapi/types';
|
|
2
|
-
import type { Context } from '../../types';
|
|
3
|
-
declare const _default: ({ strapi }: Context) => {
|
|
4
|
-
buildMutationsResolvers({ contentType }: {
|
|
5
|
-
contentType: Schema.ContentType;
|
|
6
|
-
}): {
|
|
7
|
-
create(parent: any, args: any): Promise<{
|
|
8
|
-
id: import("@strapi/types/dist/types/core/entity").ID;
|
|
9
|
-
} & {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}>;
|
|
12
|
-
update(parent: any, args: any): Promise<({
|
|
13
|
-
id: import("@strapi/types/dist/types/core/entity").ID;
|
|
14
|
-
} & {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}) | null>;
|
|
17
|
-
delete(parent: any, args: any, ctx: any): Promise<({
|
|
18
|
-
id: import("@strapi/types/dist/types/core/entity").ID;
|
|
19
|
-
} & {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}) | null>;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default _default;
|
|
25
|
-
//# sourceMappingURL=mutation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mutation.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/builders/resolvers/mutation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAIf,OAAO;;qBACuB,OAAO,WAAW;;uBAIjD,GAAG,QAAQ,GAAG;;;;;uBAQd,GAAG,QAAQ,GAAG;;;;;uBAKd,GAAG,QAAQ,GAAG,OAAO,GAAG;;;;;;;AAlBnD,wBA8BG"}
|
package/dist/server/src/services/content-api/register-functions/content-type/dynamic-zones.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-zones.d.ts","sourceRoot":"","sources":["../../../../../../../server/src/services/content-api/register-functions/content-type/dynamic-zones.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,QAAA,MAAM,8BAA8B,gBACrB,OAAO,GAAG;cAMX,YAAY;YACd,MAAM;cACJ,GAAG;UAiChB,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../../../server/src/services/content-api/register-functions/content-type/enums.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,QAAA,MAAM,uBAAuB,gBACd,OAAO,GAAG;cAMX,YAAY;YACd,MAAM;cACJ,GAAG;UA8BhB,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
package/dist/server/src/services/content-api/register-functions/content-type/filters.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../../../../../server/src/services/content-api/register-functions/content-type/filters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,QAAA,MAAM,yBAAyB,gBAChB,OAAO,GAAG;cAMX,YAAY;YACd,MAAM;cACJ,GAAG;UAYhB,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
registerDynamicZonesDefinition: (contentType: import("@strapi/types/dist/types/core/schemas").Any, { registry, strapi, builders, }: {
|
|
3
|
-
registry: import("../../../type-registry").TypeRegistry;
|
|
4
|
-
strapi: import("@strapi/types").Strapi;
|
|
5
|
-
builders: any;
|
|
6
|
-
}) => void;
|
|
7
|
-
registerFiltersDefinition: (contentType: import("@strapi/types/dist/types/core/schemas").Any, { registry, strapi, builders, }: {
|
|
8
|
-
registry: import("../../../type-registry").TypeRegistry;
|
|
9
|
-
strapi: import("@strapi/types").Strapi;
|
|
10
|
-
builders: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
registerInputsDefinition: (contentType: import("@strapi/types/dist/types/core/schemas").Any, { registry, strapi, builders, }: {
|
|
13
|
-
registry: import("../../../type-registry").TypeRegistry;
|
|
14
|
-
strapi: import("@strapi/types").Strapi;
|
|
15
|
-
builders: any;
|
|
16
|
-
}) => void;
|
|
17
|
-
registerEnumsDefinition: (contentType: import("@strapi/types/dist/types/core/schemas").Any, { registry, strapi, builders, }: {
|
|
18
|
-
registry: import("../../../type-registry").TypeRegistry;
|
|
19
|
-
strapi: import("@strapi/types").Strapi;
|
|
20
|
-
builders: any;
|
|
21
|
-
}) => void;
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
24
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../server/src/services/content-api/register-functions/content-type/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
|
package/dist/server/src/services/content-api/register-functions/content-type/inputs.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../server/src/services/content-api/register-functions/content-type/inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,QAAA,MAAM,wBAAwB,gBACf,OAAO,GAAG;cAMX,YAAY;YACd,MAAM;cACJ,GAAG;UAkBhB,CAAC;AAEF,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publication-state.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/args/publication-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAEV,OAAO;AAAnC,wBAOE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Context } from '../../types';
|
|
2
|
-
declare const _default: ({ strapi }: Context) => {
|
|
3
|
-
/**
|
|
4
|
-
* An enum type definition representing a publication state
|
|
5
|
-
* @type {NexusEnumTypeDef}
|
|
6
|
-
*/
|
|
7
|
-
PublicationState: import("nexus/dist/core").NexusEnumTypeDef<any>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=publication-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publication-state.d.ts","sourceRoot":"","sources":["../../../../../../server/src/services/internals/types/publication-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;qCAEf,OAAO;IAI/B;;;OAGG;;;AAPP,wBAmBE"}
|