@voquill/types 0.3.20 → 0.3.22

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.
@@ -0,0 +1,31 @@
1
+ import { FiremixTimestamp } from "@firemix/core";
2
+ import z from "zod";
3
+ import { Replace } from "./common.types";
4
+ export type DatabaseGlobalDictionary = {
5
+ id: string;
6
+ tenantId: string;
7
+ terms: string[];
8
+ createdAt: FiremixTimestamp;
9
+ updatedAt: FiremixTimestamp;
10
+ };
11
+ export type GlobalDictionary = Replace<DatabaseGlobalDictionary, FiremixTimestamp, string>;
12
+ export declare const GlobalDictionaryZod: z.ZodObject<{
13
+ id: z.ZodString;
14
+ tenantId: z.ZodString;
15
+ terms: z.ZodArray<z.ZodString, "many">;
16
+ createdAt: z.ZodString;
17
+ updatedAt: z.ZodString;
18
+ }, "strict", z.ZodTypeAny, {
19
+ id: string;
20
+ tenantId: string;
21
+ terms: string[];
22
+ createdAt: string;
23
+ updatedAt: string;
24
+ }, {
25
+ id: string;
26
+ tenantId: string;
27
+ terms: string[];
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ }>;
31
+ //# sourceMappingURL=global-dictionary.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-dictionary.types.d.ts","sourceRoot":"","sources":["../src/global-dictionary.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,SAAS,EAAE,gBAAgB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,wBAAwB,EACxB,gBAAgB,EAChB,MAAM,CACP,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAQiB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import z from "zod";
2
+ export const GlobalDictionaryZod = z
3
+ .object({
4
+ id: z.string(),
5
+ tenantId: z.string(),
6
+ terms: z.array(z.string()),
7
+ createdAt: z.string(),
8
+ updatedAt: z.string(),
9
+ })
10
+ .strict();
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from "./config.types";
11
11
  export * from "./contact.types";
12
12
  export * from "./enterprise.types";
13
13
  export * from "./flagged-audio.types";
14
+ export * from "./global-dictionary.types";
14
15
  export * from "./hotkey.types";
15
16
  export * from "./llm-provider.types";
16
17
  export * from "./member.types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -11,6 +11,7 @@ export * from "./config.types";
11
11
  export * from "./contact.types";
12
12
  export * from "./enterprise.types";
13
13
  export * from "./flagged-audio.types";
14
+ export * from "./global-dictionary.types";
14
15
  export * from "./hotkey.types";
15
16
  export * from "./llm-provider.types";
16
17
  export * from "./member.types";
@@ -30,9 +30,9 @@ export declare const TenantInvitationZod: z.ZodObject<{
30
30
  }, "strict", z.ZodTypeAny, {
31
31
  status: "pending" | "accepted" | "expired" | "revoked";
32
32
  id: string;
33
+ tenantId: string;
33
34
  createdAt: string;
34
35
  updatedAt: string;
35
- tenantId: string;
36
36
  email: string;
37
37
  role: "owner" | "admin" | "member";
38
38
  invitedBy: string;
@@ -40,9 +40,9 @@ export declare const TenantInvitationZod: z.ZodObject<{
40
40
  }, {
41
41
  status: "pending" | "accepted" | "expired" | "revoked";
42
42
  id: string;
43
+ tenantId: string;
43
44
  createdAt: string;
44
45
  updatedAt: string;
45
- tenantId: string;
46
46
  email: string;
47
47
  role: "owner" | "admin" | "member";
48
48
  invitedBy: string;
@@ -25,18 +25,18 @@ export declare const TenantMembershipZod: z.ZodObject<{
25
25
  updatedAt: z.ZodString;
26
26
  }, "strict", z.ZodTypeAny, {
27
27
  id: string;
28
+ tenantId: string;
28
29
  createdAt: string;
29
30
  updatedAt: string;
30
- tenantId: string;
31
31
  userId: string;
32
32
  email: string;
33
33
  role: "owner" | "admin" | "member";
34
34
  hasSeat: boolean;
35
35
  }, {
36
36
  id: string;
37
+ tenantId: string;
37
38
  createdAt: string;
38
39
  updatedAt: string;
39
- tenantId: string;
40
40
  userId: string;
41
41
  email: string;
42
42
  role: "owner" | "admin" | "member";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voquill/types",
3
- "version": "0.3.20",
3
+ "version": "0.3.22",
4
4
  "description": "Shared types for the monorepo",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "devDependencies": {
13
13
  "@types/json-schema": "^7.0.15",
14
14
  "typescript": "5.9.2",
15
- "@voquill/typescript-config": "0.3.20"
15
+ "@voquill/typescript-config": "0.3.22"
16
16
  },
17
17
  "files": [
18
18
  "dist"