@payloadcms/graphql 3.37.0-internal.ed5ddac → 3.37.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.
|
@@ -15,7 +15,7 @@ export const buildPaginatedListType = (name, docType)=>new GraphQLObjectType({
|
|
|
15
15
|
type: new GraphQLNonNull(GraphQLInt)
|
|
16
16
|
},
|
|
17
17
|
nextPage: {
|
|
18
|
-
type:
|
|
18
|
+
type: GraphQLInt
|
|
19
19
|
},
|
|
20
20
|
offset: {
|
|
21
21
|
type: GraphQLInt
|
|
@@ -27,7 +27,7 @@ export const buildPaginatedListType = (name, docType)=>new GraphQLObjectType({
|
|
|
27
27
|
type: new GraphQLNonNull(GraphQLInt)
|
|
28
28
|
},
|
|
29
29
|
prevPage: {
|
|
30
|
-
type:
|
|
30
|
+
type: GraphQLInt
|
|
31
31
|
},
|
|
32
32
|
totalDocs: {
|
|
33
33
|
type: new GraphQLNonNull(GraphQLInt)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schema/buildPaginatedListType.ts"],"sourcesContent":["import { GraphQLBoolean, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLObjectType } from 'graphql'\n\nexport const buildPaginatedListType = (name, docType) =>\n new GraphQLObjectType({\n name,\n fields: {\n docs: {\n type: new GraphQLNonNull(new GraphQLList(new GraphQLNonNull(docType))),\n },\n hasNextPage: { type: new GraphQLNonNull(GraphQLBoolean) },\n hasPrevPage: { type: new GraphQLNonNull(GraphQLBoolean) },\n limit: { type: new GraphQLNonNull(GraphQLInt) },\n nextPage: { type:
|
|
1
|
+
{"version":3,"sources":["../../src/schema/buildPaginatedListType.ts"],"sourcesContent":["import { GraphQLBoolean, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLObjectType } from 'graphql'\n\nexport const buildPaginatedListType = (name, docType) =>\n new GraphQLObjectType({\n name,\n fields: {\n docs: {\n type: new GraphQLNonNull(new GraphQLList(new GraphQLNonNull(docType))),\n },\n hasNextPage: { type: new GraphQLNonNull(GraphQLBoolean) },\n hasPrevPage: { type: new GraphQLNonNull(GraphQLBoolean) },\n limit: { type: new GraphQLNonNull(GraphQLInt) },\n nextPage: { type: GraphQLInt },\n offset: { type: GraphQLInt },\n page: { type: new GraphQLNonNull(GraphQLInt) },\n pagingCounter: { type: new GraphQLNonNull(GraphQLInt) },\n prevPage: { type: GraphQLInt },\n totalDocs: { type: new GraphQLNonNull(GraphQLInt) },\n totalPages: { type: new GraphQLNonNull(GraphQLInt) },\n },\n })\n"],"names":["GraphQLBoolean","GraphQLInt","GraphQLList","GraphQLNonNull","GraphQLObjectType","buildPaginatedListType","name","docType","fields","docs","type","hasNextPage","hasPrevPage","limit","nextPage","offset","page","pagingCounter","prevPage","totalDocs","totalPages"],"mappings":"AAAA,SAASA,cAAc,EAAEC,UAAU,EAAEC,WAAW,EAAEC,cAAc,EAAEC,iBAAiB,QAAQ,UAAS;AAEpG,OAAO,MAAMC,yBAAyB,CAACC,MAAMC,UAC3C,IAAIH,kBAAkB;QACpBE;QACAE,QAAQ;YACNC,MAAM;gBACJC,MAAM,IAAIP,eAAe,IAAID,YAAY,IAAIC,eAAeI;YAC9D;YACAI,aAAa;gBAAED,MAAM,IAAIP,eAAeH;YAAgB;YACxDY,aAAa;gBAAEF,MAAM,IAAIP,eAAeH;YAAgB;YACxDa,OAAO;gBAAEH,MAAM,IAAIP,eAAeF;YAAY;YAC9Ca,UAAU;gBAAEJ,MAAMT;YAAW;YAC7Bc,QAAQ;gBAAEL,MAAMT;YAAW;YAC3Be,MAAM;gBAAEN,MAAM,IAAIP,eAAeF;YAAY;YAC7CgB,eAAe;gBAAEP,MAAM,IAAIP,eAAeF;YAAY;YACtDiB,UAAU;gBAAER,MAAMT;YAAW;YAC7BkB,WAAW;gBAAET,MAAM,IAAIP,eAAeF;YAAY;YAClDmB,YAAY;gBAAEV,MAAM,IAAIP,eAAeF;YAAY;QACrD;IACF,GAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloadcms/graphql",
|
|
3
|
-
"version": "3.37.0
|
|
3
|
+
"version": "3.37.0",
|
|
4
4
|
"homepage": "https://payloadcms.com",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/pluralize": "^0.0.33",
|
|
53
53
|
"graphql-http": "^1.22.0",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
54
|
+
"payload": "3.37.0",
|
|
55
|
+
"@payloadcms/eslint-config": "3.28.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"graphql": "^16.8.1",
|
|
59
|
-
"payload": "3.37.0
|
|
59
|
+
"payload": "3.37.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "pnpm build:types && pnpm build:swc",
|