@stardeck-customer-apps/compose 0.3.0 → 0.5.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.mts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
2
 
3
- /** A data store connected to a project, as the composition rail consumes it. */
3
+ /** A data store (database or storage) connected to a project, as the composition rail consumes it. */
4
4
  type ConnectedStore = {
5
5
  storeId: string;
6
6
  slug: string;
7
7
  bindingKey: string | null;
8
8
  accessLevel: "read" | "write" | "admin";
9
+ type: "database" | "storage";
9
10
  };
10
11
 
11
12
  /**
@@ -30,6 +31,10 @@ declare const composeInputsSchema: z.ZodObject<{
30
31
  write: "write";
31
32
  admin: "admin";
32
33
  }>;
34
+ type: z.ZodDefault<z.ZodEnum<{
35
+ database: "database";
36
+ storage: "storage";
37
+ }>>;
33
38
  }, z.core.$strict>>>;
34
39
  installs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
35
40
  installedVersion: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
2
 
3
- /** A data store connected to a project, as the composition rail consumes it. */
3
+ /** A data store (database or storage) connected to a project, as the composition rail consumes it. */
4
4
  type ConnectedStore = {
5
5
  storeId: string;
6
6
  slug: string;
7
7
  bindingKey: string | null;
8
8
  accessLevel: "read" | "write" | "admin";
9
+ type: "database" | "storage";
9
10
  };
10
11
 
11
12
  /**
@@ -30,6 +31,10 @@ declare const composeInputsSchema: z.ZodObject<{
30
31
  write: "write";
31
32
  admin: "admin";
32
33
  }>;
34
+ type: z.ZodDefault<z.ZodEnum<{
35
+ database: "database";
36
+ storage: "storage";
37
+ }>>;
33
38
  }, z.core.$strict>>>;
34
39
  installs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
35
40
  installedVersion: z.ZodString;