@awsless/awsless 0.0.188 → 0.0.189
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/bin.js +10 -1
- package/package.json +8 -8
package/dist/bin.js
CHANGED
|
@@ -2640,6 +2640,15 @@ export function response(ctx) {
|
|
|
2640
2640
|
return ctx.result
|
|
2641
2641
|
}
|
|
2642
2642
|
`;
|
|
2643
|
+
var baseSchema = `
|
|
2644
|
+
type Query
|
|
2645
|
+
type Mutation
|
|
2646
|
+
|
|
2647
|
+
schema {
|
|
2648
|
+
query: Query
|
|
2649
|
+
mutation: Mutation
|
|
2650
|
+
}
|
|
2651
|
+
`;
|
|
2643
2652
|
var scalarSchema = `
|
|
2644
2653
|
scalar AWSDate
|
|
2645
2654
|
scalar AWSTime
|
|
@@ -2799,7 +2808,7 @@ var graphqlFeature = defineFeature({
|
|
|
2799
2808
|
const source = await readFile5(props.schema, "utf8");
|
|
2800
2809
|
const finger = createHash4("sha1").update(source).digest("hex");
|
|
2801
2810
|
return build3(finger, async (write) => {
|
|
2802
|
-
const defs = mergeTypeDefs([scalarSchema, source]);
|
|
2811
|
+
const defs = mergeTypeDefs([scalarSchema, baseSchema, source]);
|
|
2803
2812
|
const output = print(defs);
|
|
2804
2813
|
const schema2 = buildSchema(output);
|
|
2805
2814
|
for (const [typeName, fields] of Object.entries(props.resolvers ?? {})) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.189",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
+
"@awsless/lambda": "^0.0.18",
|
|
31
32
|
"@awsless/redis": "^0.0.12",
|
|
32
33
|
"@awsless/s3": "^0.0.10",
|
|
33
|
-
"@awsless/sns": "^0.0.7",
|
|
34
|
-
"@awsless/lambda": "^0.0.18",
|
|
35
34
|
"@awsless/sqs": "^0.0.7",
|
|
36
|
-
"@awsless/ssm": "^0.0.7",
|
|
37
35
|
"@awsless/validate": "^0.0.13",
|
|
36
|
+
"@awsless/ssm": "^0.0.7",
|
|
37
|
+
"@awsless/sns": "^0.0.7",
|
|
38
38
|
"@awsless/weak-cache": "^0.0.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
"wrap-ansi": "^8.1.0",
|
|
97
97
|
"zod": "^3.21.4",
|
|
98
98
|
"zod-to-json-schema": "^3.22.3",
|
|
99
|
+
"@awsless/code": "^0.0.10",
|
|
99
100
|
"@awsless/duration": "^0.0.1",
|
|
100
|
-
"@awsless/size": "^0.0.1",
|
|
101
|
-
"@awsless/formation": "^0.0.12",
|
|
102
101
|
"@awsless/graphql": "^0.0.9",
|
|
103
|
-
"@awsless/
|
|
104
|
-
"@awsless/
|
|
102
|
+
"@awsless/formation": "^0.0.12",
|
|
103
|
+
"@awsless/size": "^0.0.1",
|
|
104
|
+
"@awsless/validate": "^0.0.13"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"test": "pnpm code test",
|