@cedarjs/graphql-server 8.0.0-canary.3592 → 8.0.0-canary.3597

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/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export * from './functions/graphql.js';
5
5
  export * from './functions/useRequireAuth.js';
6
6
  export * from './makeMergedSchema.js';
7
7
  export * from './createGraphQLServer.js';
8
- export * from './types.js';
8
+ export type { Resolver, Services, ResolverArgs, SdlGlobImports, ServicesGlobImports, MakeServicesInterface, MakeServices, GraphQLTypeWithFields, UseCedarDirectiveReturn, useRedwoodDirectiveReturn, DirectivePluginOptions, CedarTrustedDocumentOptions, RedwoodTrustedDocumentOptions, GetCurrentUser, GenerateGraphiQLHeader, Context, ContextFunction, ArmorConfig, CedarGraphQLContext, RedwoodGraphQLContext, CedarOpenTelemetryConfig, RedwoodOpenTelemetryConfig, CedarScalarConfig, RedwoodScalarConfig, RealtimeTypeMap, MinimalRealtimeOptions, RealtimeOptions, GraphQLYogaOptions, GraphQLHandlerOptions, GraphiQLOptions, } from './types.js';
9
9
  export { createValidatorDirective, createTransformerDirective, getDirectiveName, makeDirectivesForPlugin, } from './directives/makeDirectives.js';
10
10
  export { hasDirective, DirectiveType, useCedarDirective, useRedwoodDirective, } from './plugins/useRedwoodDirective.js';
11
11
  export type { DirectiveParams, CedarDirective, RedwoodDirective, ValidatorDirective, ValidatorDirectiveFunc, TransformerDirective, TransformerDirectiveFunc, ValidateArgs, TransformArgs, } from './plugins/useRedwoodDirective.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAA;AAErC,cAAc,8BAA8B,CAAA;AAE5C,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACx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,GACxB,MAAM,gCAAgC,CAAA;AAEvC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,kCAAkC,CAAA;AAEzC,YAAY,EACV,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,YAAY,EACZ,aAAa,GACd,MAAM,kCAAkC,CAAA;AAEzC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAG7C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA"}
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ export * from "./functions/graphql.js";
5
5
  export * from "./functions/useRequireAuth.js";
6
6
  export * from "./makeMergedSchema.js";
7
7
  export * from "./createGraphQLServer.js";
8
- export * from "./types.js";
9
8
  import {
10
9
  createValidatorDirective,
11
10
  createTransformerDirective,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/graphql-server",
3
- "version": "8.0.0-canary.3592",
3
+ "version": "8.0.0-canary.3597",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -14,6 +14,12 @@
14
14
  "types": "./dist/index.d.ts",
15
15
  "default": "./dist/index.js"
16
16
  }
17
+ },
18
+ "./types": {
19
+ "default": {
20
+ "types": "./dist/types.d.ts",
21
+ "default": "./dist/types.js"
22
+ }
17
23
  }
18
24
  },
19
25
  "types": "./dist/index.d.ts",
@@ -32,8 +38,8 @@
32
38
  "test:watch": "yarn test --watch"
33
39
  },
34
40
  "dependencies": {
35
- "@cedarjs/api": "8.0.0-canary.3592",
36
- "@cedarjs/context": "8.0.0-canary.3592",
41
+ "@cedarjs/api": "8.0.0-canary.3597",
42
+ "@cedarjs/context": "8.0.0-canary.3597",
37
43
  "@envelop/core": "5.6.1",
38
44
  "@envelop/disable-introspection": "6.0.0",
39
45
  "@envelop/filter-operation-type": "6.0.0",
@@ -53,8 +59,8 @@
53
59
  "uuid": "11.1.1"
54
60
  },
55
61
  "devDependencies": {
56
- "@cedarjs/framework-tools": "8.0.0-canary.3592",
57
- "@cedarjs/realtime": "8.0.0-canary.3592",
62
+ "@cedarjs/framework-tools": "8.0.0-canary.3597",
63
+ "@cedarjs/realtime": "8.0.0-canary.3597",
58
64
  "@envelop/types": "5.2.2",
59
65
  "@escape.tech/graphql-armor-types": "0.7.0",
60
66
  "@types/aws-lambda": "8.10.164",