@vibes.diy/api-types 10.7.5 → 10.8.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.
Files changed (3) hide show
  1. package/invite.d.ts +14 -14
  2. package/package.json +10 -4
  3. package/settings.d.ts +42 -42
package/invite.d.ts CHANGED
@@ -839,20 +839,6 @@ export declare const ActiveSeedControl: import("arktype/internal/variants/object
839
839
  export type ActiveSeedControl = typeof ActiveSeedControl.infer;
840
840
  export declare function isActiveSeedControl(obj: unknown): obj is ActiveSeedControl;
841
841
  export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
842
- type: "active.cached-suggestion";
843
- key: string;
844
- fsId: string;
845
- sourceFsId: string;
846
- } | {
847
- type: "active.cached-suggestion-bless";
848
- key: string;
849
- fsId?: string | undefined;
850
- sourceFsId?: string | undefined;
851
- targetOwnerHandle?: string | undefined;
852
- targetAppSlug?: string | undefined;
853
- approvedBy: string;
854
- approvedAt: string;
855
- } | {
856
842
  type: "app.public.access";
857
843
  enable: boolean;
858
844
  tick?: {
@@ -1131,6 +1117,20 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
1131
1117
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1132
1118
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1133
1119
  };
1120
+ } | {
1121
+ type: "active.cached-suggestion";
1122
+ key: string;
1123
+ fsId: string;
1124
+ sourceFsId: string;
1125
+ } | {
1126
+ type: "active.cached-suggestion-bless";
1127
+ key: string;
1128
+ fsId?: string | undefined;
1129
+ sourceFsId?: string | undefined;
1130
+ targetOwnerHandle?: string | undefined;
1131
+ targetAppSlug?: string | undefined;
1132
+ approvedBy: string;
1133
+ approvedAt: string;
1134
1134
  } | {
1135
1135
  type: "active.recommended-curated";
1136
1136
  items: {
package/package.json CHANGED
@@ -1,18 +1,24 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "10.7.5",
3
+ "version": "10.8.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./db-acls": "./db-acls.js",
10
+ "./app-documents": "./app-documents.js",
11
+ "./access-function": "./access-function.js"
12
+ },
7
13
  "scripts": {
8
14
  "build": "core-cli tsc"
9
15
  },
10
16
  "dependencies": {
11
17
  "@adviser/cement": "~0.5.34",
12
18
  "@cloudflare/workers-types": "~5.20260715.1",
13
- "@vibes.diy/call-ai-v2": "10.7.5",
14
- "@vibes.diy/identity": "10.7.5",
15
- "@vibes.diy/vibe-types": "10.7.5",
19
+ "@vibes.diy/call-ai-v2": "10.8.0",
20
+ "@vibes.diy/identity": "10.8.0",
21
+ "@vibes.diy/vibe-types": "10.8.0",
16
22
  "arktype": "~2.2.3"
17
23
  },
18
24
  "repository": {
package/settings.d.ts CHANGED
@@ -1056,6 +1056,20 @@ export type ReqEnsureAppSettings = ReqPublicAccess | ReqRequest | ReqEnsureAppSe
1056
1056
  export declare function isReqEnsureAppSettings(obj: unknown): obj is ReqEnsureAppSettings;
1057
1057
  export declare const AppSettings: import("arktype/internal/variants/object.ts").ObjectType<{
1058
1058
  entries: ({
1059
+ type: "active.cached-suggestion";
1060
+ key: string;
1061
+ fsId: string;
1062
+ sourceFsId: string;
1063
+ } | {
1064
+ type: "active.cached-suggestion-bless";
1065
+ key: string;
1066
+ fsId?: string | undefined;
1067
+ sourceFsId?: string | undefined;
1068
+ targetOwnerHandle?: string | undefined;
1069
+ targetAppSlug?: string | undefined;
1070
+ approvedBy: string;
1071
+ approvedAt: string;
1072
+ } | {
1059
1073
  type: "app.acl.active.invite";
1060
1074
  role: "editor";
1061
1075
  state: "pending";
@@ -1334,20 +1348,6 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
1334
1348
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1335
1349
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1336
1350
  };
1337
- } | {
1338
- type: "active.cached-suggestion";
1339
- key: string;
1340
- fsId: string;
1341
- sourceFsId: string;
1342
- } | {
1343
- type: "active.cached-suggestion-bless";
1344
- key: string;
1345
- fsId?: string | undefined;
1346
- sourceFsId?: string | undefined;
1347
- targetOwnerHandle?: string | undefined;
1348
- targetAppSlug?: string | undefined;
1349
- approvedBy: string;
1350
- approvedAt: string;
1351
1351
  } | {
1352
1352
  type: "active.recommended-curated";
1353
1353
  items: {
@@ -1477,6 +1477,20 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1477
1477
  error?: string | undefined;
1478
1478
  settings: {
1479
1479
  entries: ({
1480
+ type: "active.cached-suggestion";
1481
+ key: string;
1482
+ fsId: string;
1483
+ sourceFsId: string;
1484
+ } | {
1485
+ type: "active.cached-suggestion-bless";
1486
+ key: string;
1487
+ fsId?: string | undefined;
1488
+ sourceFsId?: string | undefined;
1489
+ targetOwnerHandle?: string | undefined;
1490
+ targetAppSlug?: string | undefined;
1491
+ approvedBy: string;
1492
+ approvedAt: string;
1493
+ } | {
1480
1494
  type: "app.acl.active.invite";
1481
1495
  role: "editor";
1482
1496
  state: "pending";
@@ -1755,20 +1769,6 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1755
1769
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1756
1770
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1757
1771
  };
1758
- } | {
1759
- type: "active.cached-suggestion";
1760
- key: string;
1761
- fsId: string;
1762
- sourceFsId: string;
1763
- } | {
1764
- type: "active.cached-suggestion-bless";
1765
- key: string;
1766
- fsId?: string | undefined;
1767
- sourceFsId?: string | undefined;
1768
- targetOwnerHandle?: string | undefined;
1769
- targetAppSlug?: string | undefined;
1770
- approvedBy: string;
1771
- approvedAt: string;
1772
1772
  } | {
1773
1773
  type: "active.recommended-curated";
1774
1774
  items: {
@@ -1956,6 +1956,20 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
1956
1956
  ownerHandle: string;
1957
1957
  appSlug: string;
1958
1958
  settings: ({
1959
+ type: "active.cached-suggestion";
1960
+ key: string;
1961
+ fsId: string;
1962
+ sourceFsId: string;
1963
+ } | {
1964
+ type: "active.cached-suggestion-bless";
1965
+ key: string;
1966
+ fsId?: string | undefined;
1967
+ sourceFsId?: string | undefined;
1968
+ targetOwnerHandle?: string | undefined;
1969
+ targetAppSlug?: string | undefined;
1970
+ approvedBy: string;
1971
+ approvedAt: string;
1972
+ } | {
1959
1973
  type: "app.acl.active.invite";
1960
1974
  role: "editor";
1961
1975
  state: "pending";
@@ -2234,20 +2248,6 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
2234
2248
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
2235
2249
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
2236
2250
  };
2237
- } | {
2238
- type: "active.cached-suggestion";
2239
- key: string;
2240
- fsId: string;
2241
- sourceFsId: string;
2242
- } | {
2243
- type: "active.cached-suggestion-bless";
2244
- key: string;
2245
- fsId?: string | undefined;
2246
- sourceFsId?: string | undefined;
2247
- targetOwnerHandle?: string | undefined;
2248
- targetAppSlug?: string | undefined;
2249
- approvedBy: string;
2250
- approvedAt: string;
2251
2251
  } | {
2252
2252
  type: "active.recommended-curated";
2253
2253
  items: {