@vibes.diy/api-types 6.2.2 → 6.2.4

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/invite.d.ts CHANGED
@@ -825,6 +825,20 @@ export declare const ActiveSeedControl: import("arktype/internal/variants/object
825
825
  export type ActiveSeedControl = typeof ActiveSeedControl.infer;
826
826
  export declare function isActiveSeedControl(obj: unknown): obj is ActiveSeedControl;
827
827
  export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
828
+ type: "active.cached-suggestion";
829
+ key: string;
830
+ fsId: string;
831
+ sourceFsId: string;
832
+ } | {
833
+ type: "active.cached-suggestion-bless";
834
+ key: string;
835
+ fsId?: string | undefined;
836
+ sourceFsId?: string | undefined;
837
+ targetOwnerHandle?: string | undefined;
838
+ targetAppSlug?: string | undefined;
839
+ approvedBy: string;
840
+ approvedAt: string;
841
+ } | {
828
842
  type: "app.public.access";
829
843
  enable: boolean;
830
844
  tick?: {
@@ -1093,20 +1107,6 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
1093
1107
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1094
1108
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1095
1109
  };
1096
- } | {
1097
- type: "active.cached-suggestion";
1098
- key: string;
1099
- fsId: string;
1100
- sourceFsId: string;
1101
- } | {
1102
- type: "active.cached-suggestion-bless";
1103
- key: string;
1104
- fsId?: string | undefined;
1105
- sourceFsId?: string | undefined;
1106
- targetOwnerHandle?: string | undefined;
1107
- targetAppSlug?: string | undefined;
1108
- approvedBy: string;
1109
- approvedAt: string;
1110
1110
  } | {
1111
1111
  type: "active.recommended-curated";
1112
1112
  items: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "6.2.2",
3
+ "version": "6.2.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -10,9 +10,9 @@
10
10
  "dependencies": {
11
11
  "@adviser/cement": "~0.5.34",
12
12
  "@cloudflare/workers-types": "~5.20260710.1",
13
- "@vibes.diy/call-ai-v2": "6.2.2",
14
- "@vibes.diy/identity": "6.2.2",
15
- "@vibes.diy/vibe-types": "6.2.2",
13
+ "@vibes.diy/call-ai-v2": "6.2.4",
14
+ "@vibes.diy/identity": "6.2.4",
15
+ "@vibes.diy/vibe-types": "6.2.4",
16
16
  "arktype": "~2.2.3"
17
17
  },
18
18
  "repository": {
package/settings.d.ts CHANGED
@@ -1037,20 +1037,6 @@ export type ReqEnsureAppSettings = ReqPublicAccess | ReqRequest | ReqEnsureAppSe
1037
1037
  export declare function isReqEnsureAppSettings(obj: unknown): obj is ReqEnsureAppSettings;
1038
1038
  export declare const AppSettings: import("arktype/internal/variants/object.ts").ObjectType<{
1039
1039
  entries: ({
1040
- type: "active.cached-suggestion";
1041
- key: string;
1042
- fsId: string;
1043
- sourceFsId: string;
1044
- } | {
1045
- type: "active.cached-suggestion-bless";
1046
- key: string;
1047
- fsId?: string | undefined;
1048
- sourceFsId?: string | undefined;
1049
- targetOwnerHandle?: string | undefined;
1050
- targetAppSlug?: string | undefined;
1051
- approvedBy: string;
1052
- approvedAt: string;
1053
- } | {
1054
1040
  type: "app.acl.active.invite";
1055
1041
  role: "editor";
1056
1042
  state: "pending";
@@ -1319,6 +1305,20 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
1319
1305
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1320
1306
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1321
1307
  };
1308
+ } | {
1309
+ type: "active.cached-suggestion";
1310
+ key: string;
1311
+ fsId: string;
1312
+ sourceFsId: string;
1313
+ } | {
1314
+ type: "active.cached-suggestion-bless";
1315
+ key: string;
1316
+ fsId?: string | undefined;
1317
+ sourceFsId?: string | undefined;
1318
+ targetOwnerHandle?: string | undefined;
1319
+ targetAppSlug?: string | undefined;
1320
+ approvedBy: string;
1321
+ approvedAt: string;
1322
1322
  } | {
1323
1323
  type: "active.recommended-curated";
1324
1324
  items: {
@@ -1448,20 +1448,6 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1448
1448
  error?: string | undefined;
1449
1449
  settings: {
1450
1450
  entries: ({
1451
- type: "active.cached-suggestion";
1452
- key: string;
1453
- fsId: string;
1454
- sourceFsId: string;
1455
- } | {
1456
- type: "active.cached-suggestion-bless";
1457
- key: string;
1458
- fsId?: string | undefined;
1459
- sourceFsId?: string | undefined;
1460
- targetOwnerHandle?: string | undefined;
1461
- targetAppSlug?: string | undefined;
1462
- approvedBy: string;
1463
- approvedAt: string;
1464
- } | {
1465
1451
  type: "app.acl.active.invite";
1466
1452
  role: "editor";
1467
1453
  state: "pending";
@@ -1730,6 +1716,20 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1730
1716
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1731
1717
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1732
1718
  };
1719
+ } | {
1720
+ type: "active.cached-suggestion";
1721
+ key: string;
1722
+ fsId: string;
1723
+ sourceFsId: string;
1724
+ } | {
1725
+ type: "active.cached-suggestion-bless";
1726
+ key: string;
1727
+ fsId?: string | undefined;
1728
+ sourceFsId?: string | undefined;
1729
+ targetOwnerHandle?: string | undefined;
1730
+ targetAppSlug?: string | undefined;
1731
+ approvedBy: string;
1732
+ approvedAt: string;
1733
1733
  } | {
1734
1734
  type: "active.recommended-curated";
1735
1735
  items: {
@@ -1917,20 +1917,6 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
1917
1917
  ownerHandle: string;
1918
1918
  appSlug: string;
1919
1919
  settings: ({
1920
- type: "active.cached-suggestion";
1921
- key: string;
1922
- fsId: string;
1923
- sourceFsId: string;
1924
- } | {
1925
- type: "active.cached-suggestion-bless";
1926
- key: string;
1927
- fsId?: string | undefined;
1928
- sourceFsId?: string | undefined;
1929
- targetOwnerHandle?: string | undefined;
1930
- targetAppSlug?: string | undefined;
1931
- approvedBy: string;
1932
- approvedAt: string;
1933
- } | {
1934
1920
  type: "app.acl.active.invite";
1935
1921
  role: "editor";
1936
1922
  state: "pending";
@@ -2199,6 +2185,20 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
2199
2185
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
2200
2186
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
2201
2187
  };
2188
+ } | {
2189
+ type: "active.cached-suggestion";
2190
+ key: string;
2191
+ fsId: string;
2192
+ sourceFsId: string;
2193
+ } | {
2194
+ type: "active.cached-suggestion-bless";
2195
+ key: string;
2196
+ fsId?: string | undefined;
2197
+ sourceFsId?: string | undefined;
2198
+ targetOwnerHandle?: string | undefined;
2199
+ targetAppSlug?: string | undefined;
2200
+ approvedBy: string;
2201
+ approvedAt: string;
2202
2202
  } | {
2203
2203
  type: "active.recommended-curated";
2204
2204
  items: {
@@ -12,6 +12,7 @@ export declare const vibesSvcEnv: import("arktype/internal/variants/object.ts").
12
12
  CODEGEN_PER_USER_SHARD?: string | undefined;
13
13
  CODEGEN_SHARED_MINT?: string | undefined;
14
14
  APP_SERVICE_WORKER?: string | undefined;
15
+ VIBE_SERVICE_WORKER?: string | undefined;
15
16
  }, {}>;
16
17
  export type VibesSvcEnv = typeof vibesSvcEnv.infer;
17
18
  declare const metaProps: import("arktype/internal/variants/object.ts").ObjectType<{
@@ -44,6 +45,7 @@ export declare const vibesDiyServCtx: import("arktype/internal/variants/object.t
44
45
  CODEGEN_PER_USER_SHARD?: string | undefined;
45
46
  CODEGEN_SHARED_MINT?: string | undefined;
46
47
  APP_SERVICE_WORKER?: string | undefined;
48
+ VIBE_SERVICE_WORKER?: string | undefined;
47
49
  };
48
50
  importMap: {
49
51
  imports: Record<string, string>;
@@ -14,6 +14,7 @@ export const vibesSvcEnv = type({
14
14
  "CODEGEN_PER_USER_SHARD?": "string",
15
15
  "CODEGEN_SHARED_MINT?": "string",
16
16
  "APP_SERVICE_WORKER?": "string",
17
+ "VIBE_SERVICE_WORKER?": "string",
17
18
  });
18
19
  const metaProps = type({
19
20
  title: "string",
@@ -1 +1 @@
1
- {"version":3,"file":"vibes-diy-serv-ctx.js","sourceRoot":"","sources":["../jsr/vibes-diy-serv-ctx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC;IAC9B,qBAAqB,EAAE,QAAQ;IAC/B,iBAAiB,EAAE,QAAQ;IAE3B,mBAAmB,EAAE,QAAQ;IAC7B,cAAc,EAAE,QAAQ;IACxB,eAAe,EAAE,QAAQ;IAQzB,yBAAyB,EAAE,QAAQ;IAInC,YAAY,EAAE,QAAQ;IAKtB,cAAc,EAAE,QAAQ;IAKxB,2BAA2B,EAAE,QAAQ;IAKrC,aAAa,EAAE,QAAQ;IAMvB,yBAAyB,EAAE,QAAQ;IAKnC,sBAAsB,EAAE,QAAQ;IAKhC,qBAAqB,EAAE,QAAQ;CAKhC,CAAC,CAAC;AAIH,MAAM,SAAS,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,QAAQ;IACrB,eAAe,EAAE,QAAQ;CAC1B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,IAAI,CAAC,wBAAwB,CAAC;CACxC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE;QACP,KAAK,EAAE,oBAAoB;KAC5B;IACD,MAAM,EAAE,WAAW;IACnB,MAAM,EAAE,WAAW;IACnB,SAAS,EAAE,aAAa;IACxB,SAAS;IACT,OAAO,EAAE,QAAQ;IAUjB,iBAAiB,EAA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