@arcbridge/core 0.3.3 → 0.4.0
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 +12 -12
- package/dist/index.js +534 -12
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,18 +4,18 @@ import { DatabaseSync } from 'node:sqlite';
|
|
|
4
4
|
declare const ServiceSchema: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
path: z.ZodDefault<z.ZodString>;
|
|
7
|
-
type: z.ZodEnum<["nextjs", "react", "fastify", "express", "hono", "dotnet", "unity"]>;
|
|
7
|
+
type: z.ZodEnum<["nextjs", "react", "fastify", "express", "hono", "dotnet", "unity", "angular"]>;
|
|
8
8
|
tsconfig: z.ZodOptional<z.ZodString>;
|
|
9
9
|
csproj: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
name: string;
|
|
12
12
|
path: string;
|
|
13
|
-
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity";
|
|
13
|
+
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity" | "angular";
|
|
14
14
|
tsconfig?: string | undefined;
|
|
15
15
|
csproj?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
name: string;
|
|
18
|
-
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity";
|
|
18
|
+
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity" | "angular";
|
|
19
19
|
path?: string | undefined;
|
|
20
20
|
tsconfig?: string | undefined;
|
|
21
21
|
csproj?: string | undefined;
|
|
@@ -23,22 +23,22 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
23
23
|
declare const ArcBridgeConfigSchema: z.ZodObject<{
|
|
24
24
|
schema_version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
25
25
|
project_name: z.ZodString;
|
|
26
|
-
project_type: z.ZodDefault<z.ZodEnum<["nextjs-app-router", "react-vite", "api-service", "dotnet-webapi", "unity-game"]>>;
|
|
26
|
+
project_type: z.ZodDefault<z.ZodEnum<["nextjs-app-router", "react-vite", "api-service", "dotnet-webapi", "unity-game", "angular-app"]>>;
|
|
27
27
|
services: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28
28
|
name: z.ZodString;
|
|
29
29
|
path: z.ZodDefault<z.ZodString>;
|
|
30
|
-
type: z.ZodEnum<["nextjs", "react", "fastify", "express", "hono", "dotnet", "unity"]>;
|
|
30
|
+
type: z.ZodEnum<["nextjs", "react", "fastify", "express", "hono", "dotnet", "unity", "angular"]>;
|
|
31
31
|
tsconfig: z.ZodOptional<z.ZodString>;
|
|
32
32
|
csproj: z.ZodOptional<z.ZodString>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
name: string;
|
|
35
35
|
path: string;
|
|
36
|
-
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity";
|
|
36
|
+
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity" | "angular";
|
|
37
37
|
tsconfig?: string | undefined;
|
|
38
38
|
csproj?: string | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
name: string;
|
|
41
|
-
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity";
|
|
41
|
+
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity" | "angular";
|
|
42
42
|
path?: string | undefined;
|
|
43
43
|
tsconfig?: string | undefined;
|
|
44
44
|
csproj?: string | undefined;
|
|
@@ -101,11 +101,11 @@ declare const ArcBridgeConfigSchema: z.ZodObject<{
|
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
schema_version: 1;
|
|
103
103
|
project_name: string;
|
|
104
|
-
project_type: "nextjs-app-router" | "react-vite" | "api-service" | "dotnet-webapi" | "unity-game";
|
|
104
|
+
project_type: "nextjs-app-router" | "react-vite" | "api-service" | "dotnet-webapi" | "unity-game" | "angular-app";
|
|
105
105
|
services: {
|
|
106
106
|
name: string;
|
|
107
107
|
path: string;
|
|
108
|
-
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity";
|
|
108
|
+
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity" | "angular";
|
|
109
109
|
tsconfig?: string | undefined;
|
|
110
110
|
csproj?: string | undefined;
|
|
111
111
|
}[];
|
|
@@ -135,10 +135,10 @@ declare const ArcBridgeConfigSchema: z.ZodObject<{
|
|
|
135
135
|
}, {
|
|
136
136
|
project_name: string;
|
|
137
137
|
schema_version?: 1 | undefined;
|
|
138
|
-
project_type?: "nextjs-app-router" | "react-vite" | "api-service" | "dotnet-webapi" | "unity-game" | undefined;
|
|
138
|
+
project_type?: "nextjs-app-router" | "react-vite" | "api-service" | "dotnet-webapi" | "unity-game" | "angular-app" | undefined;
|
|
139
139
|
services?: {
|
|
140
140
|
name: string;
|
|
141
|
-
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity";
|
|
141
|
+
type: "nextjs" | "react" | "fastify" | "express" | "hono" | "dotnet" | "unity" | "angular";
|
|
142
142
|
path?: string | undefined;
|
|
143
143
|
tsconfig?: string | undefined;
|
|
144
144
|
csproj?: string | undefined;
|
|
@@ -750,7 +750,7 @@ declare function migrate(db: Database): void;
|
|
|
750
750
|
|
|
751
751
|
interface InitProjectInput {
|
|
752
752
|
name: string;
|
|
753
|
-
template: "nextjs-app-router" | "react-vite" | "api-service" | "dotnet-webapi" | "unity-game";
|
|
753
|
+
template: "nextjs-app-router" | "react-vite" | "api-service" | "dotnet-webapi" | "unity-game" | "angular-app";
|
|
754
754
|
features: string[];
|
|
755
755
|
quality_priorities: string[];
|
|
756
756
|
platforms: string[];
|