@cedarjs/graphql-server 6.0.0-canary.2826 → 6.0.0-canary.2829
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,13 +1,13 @@
|
|
|
1
1
|
import type { IExecutableSchemaDefinition } from '@graphql-tools/schema';
|
|
2
2
|
import type { GraphQLSchema } from 'graphql';
|
|
3
3
|
import type { RedwoodDirective } from './plugins/useRedwoodDirective.js';
|
|
4
|
-
import type {
|
|
4
|
+
import type { CedarSubscription } from './subscriptions/makeSubscriptions.js';
|
|
5
5
|
import type { ServicesGlobImports, SdlGlobImports, RedwoodScalarConfig } from './types.js';
|
|
6
6
|
export declare const makeMergedSchema: ({ sdls, services, schemaOptions, directives, subscriptions, includeScalars, }: {
|
|
7
7
|
sdls: SdlGlobImports;
|
|
8
8
|
services: ServicesGlobImports;
|
|
9
9
|
directives: RedwoodDirective[];
|
|
10
|
-
subscriptions:
|
|
10
|
+
subscriptions: CedarSubscription[];
|
|
11
11
|
includeScalars?: RedwoodScalarConfig;
|
|
12
12
|
/**
|
|
13
13
|
* A list of options passed to [makeExecutableSchema](https://www.graphql-tools.com/docs/generate-schema/#makeexecutableschemaoptions).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"makeMergedSchema.d.ts","sourceRoot":"","sources":["../src/makeMergedSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAA;AAUxE,OAAO,KAAK,EACV,aAAa,EAKd,MAAM,SAAS,CAAA;AAIhB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAExE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"makeMergedSchema.d.ts","sourceRoot":"","sources":["../src/makeMergedSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAA;AAUxE,OAAO,KAAK,EACV,aAAa,EAKd,MAAM,SAAS,CAAA;AAIhB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,KAAK,EAEV,mBAAmB,EAEnB,cAAc,EACd,mBAAmB,EACpB,MAAM,YAAY,CAAA;AAuUnB,eAAO,MAAM,gBAAgB,GAAI,+EAO9B;IACD,IAAI,EAAE,cAAc,CAAA;IACpB,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,UAAU,EAAE,gBAAgB,EAAE,CAAA;IAC9B,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,cAAc,CAAC,EAAE,mBAAmB,CAAA;IAEpC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,2BAA2B,CAAC,CAAA;CACrD,kBA+CA,CAAA"}
|
|
@@ -5,14 +5,14 @@ import type { DocumentNode } from 'graphql';
|
|
|
5
5
|
* But not fully supported in TS
|
|
6
6
|
* {
|
|
7
7
|
* schema: DocumentNode // <-- required
|
|
8
|
-
* [string]:
|
|
8
|
+
* [string]: CedarSubscription
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export type SubscriptionGlobImports = Record<string, any>;
|
|
12
|
-
export type
|
|
12
|
+
export type CedarSubscription = {
|
|
13
13
|
schema: DocumentNode;
|
|
14
14
|
resolvers: any;
|
|
15
15
|
name: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const makeSubscriptions: (SubscriptionGlobs: SubscriptionGlobImports) =>
|
|
17
|
+
export declare const makeSubscriptions: (SubscriptionGlobs: SubscriptionGlobImports) => CedarSubscription[];
|
|
18
18
|
//# sourceMappingURL=makeSubscriptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"makeSubscriptions.d.ts","sourceRoot":"","sources":["../../src/subscriptions/makeSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAEzD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"makeSubscriptions.d.ts","sourceRoot":"","sources":["../../src/subscriptions/makeSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAEzD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,YAAY,CAAA;IACpB,SAAS,EAAE,GAAG,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,iBAAiB,GAC5B,mBAAmB,uBAAuB,KACzC,iBAAiB,EAmBnB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/graphql-server",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2829",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"test:watch": "yarn test --watch"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@cedarjs/api": "6.0.0-canary.
|
|
36
|
-
"@cedarjs/context": "6.0.0-canary.
|
|
35
|
+
"@cedarjs/api": "6.0.0-canary.2829",
|
|
36
|
+
"@cedarjs/context": "6.0.0-canary.2829",
|
|
37
37
|
"@envelop/core": "5.5.1",
|
|
38
38
|
"@envelop/depth-limit": "4.0.0",
|
|
39
39
|
"@envelop/disable-introspection": "6.0.0",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@babel/cli": "7.29.7",
|
|
58
58
|
"@babel/core": "^7.26.10",
|
|
59
|
-
"@cedarjs/framework-tools": "6.0.0-canary.
|
|
60
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
61
|
-
"@cedarjs/realtime": "6.0.0-canary.
|
|
59
|
+
"@cedarjs/framework-tools": "6.0.0-canary.2829",
|
|
60
|
+
"@cedarjs/project-config": "6.0.0-canary.2829",
|
|
61
|
+
"@cedarjs/realtime": "6.0.0-canary.2829",
|
|
62
62
|
"@envelop/types": "5.2.1",
|
|
63
63
|
"@types/aws-lambda": "8.10.162",
|
|
64
64
|
"@types/jsonwebtoken": "9.0.10",
|