@cedarjs/graphql-server 0.1.1 → 0.1.2-next.95
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/rootSchema.d.ts.map +1 -1
- package/dist/rootSchema.js +10 -1
- package/package.json +10 -10
package/dist/rootSchema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rootSchema.d.ts","sourceRoot":"","sources":["../src/rootSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,iBAAiB,CAAA;AAMxB;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"rootSchema.d.ts","sourceRoot":"","sources":["../src/rootSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,iBAAiB,CAAA;AAMxB;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,gCAgClB,CAAA;AAED,eAAO,MAAM,aAAa;;CAIzB,CAAA;AACD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,aAAa,CAAA;AAEzD,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,OAAO,cAAc,CAAA;IAC7B,IAAI,EAAE,OAAO,YAAY,CAAA;IACzB,IAAI,EAAE,OAAO,YAAY,CAAA;IACzB,QAAQ,EAAE,OAAO,gBAAgB,CAAA;IACjC,IAAI,EAAE,OAAO,YAAY,CAAA;IACzB,UAAU,EAAE,OAAO,kBAAkB,CAAA;IACrC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,IAAI,EAAE,OAAO,YAAY,CAAA;CAC1B;AAED,eAAO,MAAM,SAAS,EAAE,SAwBvB,CAAA"}
|
package/dist/rootSchema.js
CHANGED
|
@@ -51,7 +51,7 @@ const schema = import_graphql_tag.default`
|
|
|
51
51
|
Defines details about Cedar such as the current user and version information.
|
|
52
52
|
"""
|
|
53
53
|
type Redwood {
|
|
54
|
-
"The version of
|
|
54
|
+
"The version of CedarJS."
|
|
55
55
|
version: String
|
|
56
56
|
"The current user."
|
|
57
57
|
currentUser: JSON
|
|
@@ -65,6 +65,8 @@ const schema = import_graphql_tag.default`
|
|
|
65
65
|
type Query {
|
|
66
66
|
"Fetches the Redwood root schema."
|
|
67
67
|
redwood: Redwood
|
|
68
|
+
"Fetches the CedarJS root schema."
|
|
69
|
+
cedarjs: Redwood
|
|
68
70
|
}
|
|
69
71
|
`;
|
|
70
72
|
const scalarSchemas = {
|
|
@@ -86,6 +88,13 @@ const resolvers = {
|
|
|
86
88
|
currentUser: (_args, context) => {
|
|
87
89
|
return context?.currentUser;
|
|
88
90
|
}
|
|
91
|
+
}),
|
|
92
|
+
cedarjs: () => ({
|
|
93
|
+
version: import_api.cedarjsVersion,
|
|
94
|
+
prismaVersion: import_api.prismaVersion,
|
|
95
|
+
currentUser: (_args, context) => {
|
|
96
|
+
return context?.currentUser;
|
|
97
|
+
}
|
|
89
98
|
})
|
|
90
99
|
},
|
|
91
100
|
Byte: import_graphql_scalars.ByteResolver
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/graphql-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2-next.95+a711c9cda",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"test:watch": "yarn test --watch"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@babel/runtime-corejs3": "7.27.
|
|
26
|
-
"@cedarjs/api": "0.1.
|
|
27
|
-
"@cedarjs/context": "0.1.
|
|
25
|
+
"@babel/runtime-corejs3": "7.27.6",
|
|
26
|
+
"@cedarjs/api": "0.1.2-next.95+a711c9cda",
|
|
27
|
+
"@cedarjs/context": "0.1.2-next.95+a711c9cda",
|
|
28
28
|
"@envelop/core": "5.0.2",
|
|
29
29
|
"@envelop/depth-limit": "4.0.0",
|
|
30
30
|
"@envelop/disable-introspection": "6.0.0",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/cli": "7.27.2",
|
|
49
49
|
"@babel/core": "^7.26.10",
|
|
50
|
-
"@cedarjs/framework-tools": "0.1.
|
|
51
|
-
"@cedarjs/project-config": "0.1.
|
|
52
|
-
"@cedarjs/realtime": "0.1.
|
|
50
|
+
"@cedarjs/framework-tools": "0.1.2-next.95",
|
|
51
|
+
"@cedarjs/project-config": "0.1.2-next.95+a711c9cda",
|
|
52
|
+
"@cedarjs/realtime": "0.1.2-next.95+a711c9cda",
|
|
53
53
|
"@envelop/types": "5.0.0",
|
|
54
54
|
"@types/aws-lambda": "8.10.145",
|
|
55
55
|
"@types/jsonwebtoken": "9.0.8",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"@whatwg-node/fetch": "0.9.21",
|
|
59
59
|
"@whatwg-node/promise-helpers": "^1.3.0",
|
|
60
60
|
"jsonwebtoken": "9.0.2",
|
|
61
|
-
"tsx": "4.19.
|
|
61
|
+
"tsx": "4.19.4",
|
|
62
62
|
"typescript": "5.6.2",
|
|
63
|
-
"vitest": "2.
|
|
63
|
+
"vitest": "3.2.4"
|
|
64
64
|
},
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "a711c9cda09da9444fb0f6ff5d9dae804d6ba72b"
|
|
69
69
|
}
|