@eide/uniformgen 0.1.1 → 0.1.3
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/generators/cms/index.d.ts +1 -1
- package/dist/generators/cms/index.d.ts.map +1 -1
- package/dist/generators/cms/index.js +35 -1
- package/dist/generators/cms/route.d.ts +16 -0
- package/dist/generators/cms/route.d.ts.map +1 -1
- package/dist/generators/cms/route.js +957 -2
- package/dist/generators/resolve/platform.d.ts.map +1 -1
- package/dist/generators/resolve/platform.js +20 -2
- package/dist/generators/types/field-types.d.ts.map +1 -1
- package/dist/generators/types/field-types.js +10 -2
- package/dist/graphql/generated/graphql.d.ts +197 -2
- package/dist/graphql/generated/graphql.d.ts.map +1 -1
- package/dist/graphql/generated/graphql.js +6 -0
- package/package.json +14 -14
|
@@ -493,6 +493,12 @@ export var TrendGranularity;
|
|
|
493
493
|
TrendGranularity["Monthly"] = "monthly";
|
|
494
494
|
TrendGranularity["Weekly"] = "weekly";
|
|
495
495
|
})(TrendGranularity || (TrendGranularity = {}));
|
|
496
|
+
/** Type of redirect */
|
|
497
|
+
export var UnifiedRedirectType;
|
|
498
|
+
(function (UnifiedRedirectType) {
|
|
499
|
+
UnifiedRedirectType["Manual"] = "MANUAL";
|
|
500
|
+
UnifiedRedirectType["RouteAlias"] = "ROUTE_ALIAS";
|
|
501
|
+
})(UnifiedRedirectType || (UnifiedRedirectType = {}));
|
|
496
502
|
export var UserRole;
|
|
497
503
|
(function (UserRole) {
|
|
498
504
|
UserRole["PlatformAdmin"] = "PLATFORM_ADMIN";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eide/uniformgen",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Type-safe code generator for Foir - generates TypeScript types and GraphQL operations from your project schemas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,16 +19,6 @@
|
|
|
19
19
|
"dist",
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build": "tsc",
|
|
24
|
-
"dev": "echo 'UniformGen is a CLI tool. Use ./test-uniformgen.sh to test it locally.'",
|
|
25
|
-
"dev:cli": "tsx src/cli.ts",
|
|
26
|
-
"dev:watch": "tsx watch src/cli.ts",
|
|
27
|
-
"check-types": "tsc --noEmit",
|
|
28
|
-
"test": "vitest run",
|
|
29
|
-
"test:watch": "vitest watch",
|
|
30
|
-
"codegen": "graphql-codegen --config codegen.ts"
|
|
31
|
-
},
|
|
32
22
|
"keywords": [
|
|
33
23
|
"foir",
|
|
34
24
|
"eide",
|
|
@@ -54,7 +44,6 @@
|
|
|
54
44
|
"zod": "^3.24.1"
|
|
55
45
|
},
|
|
56
46
|
"devDependencies": {
|
|
57
|
-
"@foir/config": "workspace:*",
|
|
58
47
|
"@graphql-codegen/cli": "^5.0.7",
|
|
59
48
|
"@graphql-codegen/client-preset": "^4.8.3",
|
|
60
49
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
@@ -62,9 +51,20 @@
|
|
|
62
51
|
"@types/node": "^22.5.0",
|
|
63
52
|
"tsx": "^4.20.0",
|
|
64
53
|
"typescript": "5.9.2",
|
|
65
|
-
"vitest": "^3.2.4"
|
|
54
|
+
"vitest": "^3.2.4",
|
|
55
|
+
"@foir/config": "0.0.1"
|
|
66
56
|
},
|
|
67
57
|
"engines": {
|
|
68
58
|
"node": ">=18.0.0"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "tsc",
|
|
62
|
+
"dev": "echo 'UniformGen is a CLI tool. Use ./test-uniformgen.sh to test it locally.'",
|
|
63
|
+
"dev:cli": "tsx src/cli.ts",
|
|
64
|
+
"dev:watch": "tsx watch src/cli.ts",
|
|
65
|
+
"check-types": "tsc --noEmit",
|
|
66
|
+
"test": "vitest run",
|
|
67
|
+
"test:watch": "vitest watch",
|
|
68
|
+
"codegen": "graphql-codegen --config codegen.ts"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|