@cedarjs/graphql-server 0.7.1 → 0.7.2-next.49

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.
@@ -1,5 +1,7 @@
1
1
  import type _gql from 'graphql-tag';
2
+ type Gql = typeof _gql;
2
3
  declare global {
3
- const gql: typeof _gql;
4
+ const gql: Gql['gql'] extends undefined ? Gql : Gql['gql'];
4
5
  }
6
+ export {};
5
7
  //# sourceMappingURL=global.api-auto-imports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"global.api-auto-imports.d.ts","sourceRoot":"","sources":["../../src/global.api-auto-imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAA;AAEnC,OAAO,CAAC,MAAM,CAAC;IACb,MAAM,GAAG,EAAE,OAAO,IAAI,CAAA;CACvB"}
1
+ {"version":3,"file":"global.api-auto-imports.d.ts","sourceRoot":"","sources":["../../src/global.api-auto-imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAA;AAEnC,KAAK,GAAG,GAAG,OAAO,IAAI,CAAA;AAEtB,OAAO,CAAC,MAAM,CAAC;IACb,MAAM,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,SAAS,SAAS,GAAG,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAA;CAC3D"}
@@ -33,7 +33,7 @@ const configureGraphiQLPlayground = ({
33
33
  const isDevEnv = process.env.NODE_ENV === "development";
34
34
  const disableGraphiQL = isDevEnv && (allowGraphiQL ?? true) ? false : !allowGraphiQL;
35
35
  return !disableGraphiQL ? {
36
- title: "Redwood GraphQL Playground",
36
+ title: "CedarJS GraphQL Playground",
37
37
  headers: generateGraphiQLHeader?.(),
38
38
  defaultQuery: DEFAULT_QUERY,
39
39
  headerEditorEnabled: true
@@ -1,5 +1,7 @@
1
1
  import type _gql from 'graphql-tag';
2
+ type Gql = typeof _gql;
2
3
  declare global {
3
- const gql: typeof _gql;
4
+ const gql: Gql['gql'] extends undefined ? Gql : Gql['gql'];
4
5
  }
6
+ export {};
5
7
  //# sourceMappingURL=global.api-auto-imports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"global.api-auto-imports.d.ts","sourceRoot":"","sources":["../src/global.api-auto-imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAA;AAEnC,OAAO,CAAC,MAAM,CAAC;IACb,MAAM,GAAG,EAAE,OAAO,IAAI,CAAA;CACvB"}
1
+ {"version":3,"file":"global.api-auto-imports.d.ts","sourceRoot":"","sources":["../src/global.api-auto-imports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAA;AAEnC,KAAK,GAAG,GAAG,OAAO,IAAI,CAAA;AAEtB,OAAO,CAAC,MAAM,CAAC;IACb,MAAM,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,SAAS,SAAS,GAAG,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAA;CAC3D"}
package/dist/graphiql.js CHANGED
@@ -10,7 +10,7 @@ const configureGraphiQLPlayground = ({
10
10
  const isDevEnv = process.env.NODE_ENV === "development";
11
11
  const disableGraphiQL = isDevEnv && (allowGraphiQL ?? true) ? false : !allowGraphiQL;
12
12
  return !disableGraphiQL ? {
13
- title: "Redwood GraphQL Playground",
13
+ title: "CedarJS GraphQL Playground",
14
14
  headers: generateGraphiQLHeader?.(),
15
15
  defaultQuery: DEFAULT_QUERY,
16
16
  headerEditorEnabled: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/graphql-server",
3
- "version": "0.7.1",
3
+ "version": "0.7.2-next.49+eaf36e897",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@babel/runtime-corejs3": "7.27.6",
41
- "@cedarjs/api": "0.7.1",
42
- "@cedarjs/context": "0.7.1",
41
+ "@cedarjs/api": "0.7.2-next.49+eaf36e897",
42
+ "@cedarjs/context": "0.7.2-next.49+eaf36e897",
43
43
  "@envelop/core": "5.0.2",
44
44
  "@envelop/depth-limit": "4.0.0",
45
45
  "@envelop/disable-introspection": "6.0.0",
@@ -62,9 +62,9 @@
62
62
  "devDependencies": {
63
63
  "@babel/cli": "7.27.2",
64
64
  "@babel/core": "^7.26.10",
65
- "@cedarjs/framework-tools": "0.7.1",
66
- "@cedarjs/project-config": "0.7.1",
67
- "@cedarjs/realtime": "0.7.1",
65
+ "@cedarjs/framework-tools": "0.7.2-next.49",
66
+ "@cedarjs/project-config": "0.7.2-next.49+eaf36e897",
67
+ "@cedarjs/realtime": "0.7.2-next.49+eaf36e897",
68
68
  "@envelop/types": "5.0.0",
69
69
  "@types/aws-lambda": "8.10.152",
70
70
  "@types/jsonwebtoken": "9.0.10",
@@ -75,12 +75,12 @@
75
75
  "concurrently": "8.2.2",
76
76
  "jsonwebtoken": "9.0.2",
77
77
  "publint": "0.3.12",
78
- "tsx": "4.20.3",
78
+ "tsx": "4.20.4",
79
79
  "typescript": "5.6.2",
80
80
  "vitest": "3.2.4"
81
81
  },
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "08a86400b657e2ca4235fe007292d05e183e52a5"
85
+ "gitHead": "eaf36e897609e775295faca150fe4a3b448841e3"
86
86
  }