@tailorkit/vite 0.1.0-beta.39 → 0.1.0-beta.42
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.
|
@@ -2,11 +2,13 @@ import { z } from "zod";
|
|
|
2
2
|
//#region src/config/config.d.ts
|
|
3
3
|
declare const tailorkitConfigSchema: z.ZodObject<{
|
|
4
4
|
appId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
6
|
host: z.ZodURL;
|
|
6
7
|
logos: z.ZodOptional<z.ZodObject<{
|
|
7
8
|
dark: z.ZodOptional<z.ZodString>;
|
|
8
9
|
light: z.ZodOptional<z.ZodString>;
|
|
9
10
|
}, z.core.$strip>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10
12
|
server: z.ZodOptional<z.ZodObject<{
|
|
11
13
|
entry: z.ZodDefault<z.ZodString>;
|
|
12
14
|
migrations: z.ZodOptional<z.ZodString>;
|
|
@@ -18,14 +20,21 @@ declare const tailorkitConfigSchema: z.ZodObject<{
|
|
|
18
20
|
*/
|
|
19
21
|
interface TailorKitConfig extends z.input<typeof tailorkitConfigSchema> {
|
|
20
22
|
/**
|
|
21
|
-
* ID of the app on the TailorKit host, used for deployment
|
|
23
|
+
* ID of the app on the TailorKit host, used for deployment.
|
|
22
24
|
* When omitted, the first deployment creates an app and saves its ID here.
|
|
23
|
-
* Remote preview requires an existing app ID.
|
|
24
25
|
* @default undefined
|
|
25
26
|
*/
|
|
26
27
|
appId?: string;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* App description applied during deployment, including updates to an existing app.
|
|
30
|
+
* Trimmed to remove surrounding whitespace; accepts at most 255 characters.
|
|
31
|
+
* Set to null to clear the description. When omitted, existing apps keep their
|
|
32
|
+
* current description and new apps have no description.
|
|
33
|
+
* @default undefined
|
|
34
|
+
*/
|
|
35
|
+
description?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* URL of the TailorKit host used for authentication, deployment,
|
|
29
38
|
* and fetching the host schema for generated types. Required; has no default.
|
|
30
39
|
*/
|
|
31
40
|
host: string;
|
|
@@ -46,6 +55,13 @@ interface TailorKitConfig extends z.input<typeof tailorkitConfigSchema> {
|
|
|
46
55
|
*/
|
|
47
56
|
light?: string;
|
|
48
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* App name applied during deployment, including updates to an existing app.
|
|
60
|
+
* When omitted, new apps use the package.json name or app directory name,
|
|
61
|
+
* and existing apps keep their current name.
|
|
62
|
+
* @default undefined
|
|
63
|
+
*/
|
|
64
|
+
name?: string;
|
|
49
65
|
/**
|
|
50
66
|
* Enables the private app backend and its database migrations when present.
|
|
51
67
|
* Set to `{}` to use the default paths; omit for a client-only app.
|
|
@@ -6,8 +6,10 @@ const logosConfigSchema = z.object({
|
|
|
6
6
|
});
|
|
7
7
|
const tailorkitConfigSchema = z.strictObject({
|
|
8
8
|
appId: z.string().min(1).optional(),
|
|
9
|
+
description: z.string().trim().max(255).nullable().optional(),
|
|
9
10
|
host: z.url(),
|
|
10
11
|
logos: logosConfigSchema.optional(),
|
|
12
|
+
name: z.string().trim().min(1).optional(),
|
|
11
13
|
server: z.strictObject({
|
|
12
14
|
entry: z.string().min(1).default("src/server.ts"),
|
|
13
15
|
migrations: z.string().min(1).optional()
|
package/dist/config-loader.d.mts
CHANGED
package/dist/config-loader.mjs
CHANGED
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as defineTailorKitConfig, n as TailorKitConfig, r as defineConfig } from "./config-
|
|
1
|
+
import { i as defineTailorKitConfig, n as TailorKitConfig, r as defineConfig } from "./config-D-xd9bbd.mjs";
|
|
2
2
|
export { type TailorKitConfig, defineConfig, defineTailorKitConfig };
|
package/dist/config.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as defineTailorKitConfig, t as defineConfig } from "./config-
|
|
1
|
+
import { n as defineTailorKitConfig, t as defineConfig } from "./config-DRdCISw8.mjs";
|
|
2
2
|
export { defineConfig, defineTailorKitConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailorkit/vite",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.42",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@tailorkit/app": "0.1.0-beta.
|
|
50
|
+
"@tailorkit/app": "0.1.0-beta.42",
|
|
51
51
|
"cosmiconfig": "^10.0.1",
|
|
52
52
|
"zod": "^4.6.5"
|
|
53
53
|
},
|