@tailorkit/vite 0.1.0-beta.38 → 0.1.0-beta.40

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>;
@@ -24,6 +26,14 @@ interface TailorKitConfig extends z.input<typeof tailorkitConfigSchema> {
24
26
  * @default undefined
25
27
  */
26
28
  appId?: string;
29
+ /**
30
+ * App description applied during deployment, including updates to an existing app.
31
+ * Trimmed to remove surrounding whitespace; accepts at most 255 characters.
32
+ * Set to null to clear the description. When omitted, existing apps keep their
33
+ * current description and new apps have no description.
34
+ * @default undefined
35
+ */
36
+ description?: string | null;
27
37
  /**
28
38
  * URL of the TailorKit host used for authentication, deployment, remote preview,
29
39
  * and fetching the host schema for generated types. Required; has no default.
@@ -46,6 +56,13 @@ interface TailorKitConfig extends z.input<typeof tailorkitConfigSchema> {
46
56
  */
47
57
  light?: string;
48
58
  };
59
+ /**
60
+ * App name applied during deployment, including updates to an existing app.
61
+ * When omitted, new apps use the package.json name or app directory name,
62
+ * and existing apps keep their current name.
63
+ * @default undefined
64
+ */
65
+ name?: string;
49
66
  /**
50
67
  * Enables the private app backend and its database migrations when present.
51
68
  * 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()
@@ -1,4 +1,4 @@
1
- import { t as ResolvedTailorKitConfig } from "./config-DVRoBc48.mjs";
1
+ import { t as ResolvedTailorKitConfig } from "./config-BatTKX36.mjs";
2
2
  //#region src/config/loader.d.ts
3
3
  export interface LoadedTailorKitConfig {
4
4
  config: ResolvedTailorKitConfig;
@@ -1,4 +1,4 @@
1
- import { r as tailorkitConfigSchema } from "./config-BUmUqzEq.mjs";
1
+ import { r as tailorkitConfigSchema } from "./config-DRdCISw8.mjs";
2
2
  import path from "node:path";
3
3
  import { cosmiconfig } from "cosmiconfig";
4
4
  //#region src/config/loader.ts
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as defineTailorKitConfig, n as TailorKitConfig, r as defineConfig } from "./config-DVRoBc48.mjs";
1
+ import { i as defineTailorKitConfig, n as TailorKitConfig, r as defineConfig } from "./config-BatTKX36.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-BUmUqzEq.mjs";
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.38",
3
+ "version": "0.1.0-beta.40",
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.38",
50
+ "@tailorkit/app": "0.1.0-beta.40",
51
51
  "cosmiconfig": "^10.0.1",
52
52
  "zod": "^4.6.5"
53
53
  },