@vibes.diy/api-types 4.0.14 → 4.0.15

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 +4 -4
  3. package/settings.d.ts +42 -42
package/invite.d.ts CHANGED
@@ -794,6 +794,20 @@ export declare const ActiveBackend: import("arktype/internal/variants/object.ts"
794
794
  export type ActiveBackend = typeof ActiveBackend.infer;
795
795
  export declare function isActiveBackend(obj: unknown): obj is ActiveBackend;
796
796
  export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
797
+ type: "active.cached-suggestion";
798
+ key: string;
799
+ fsId: string;
800
+ sourceFsId: string;
801
+ } | {
802
+ type: "active.cached-suggestion-bless";
803
+ key: string;
804
+ fsId?: string | undefined;
805
+ sourceFsId?: string | undefined;
806
+ targetOwnerHandle?: string | undefined;
807
+ targetAppSlug?: string | undefined;
808
+ approvedBy: string;
809
+ approvedAt: string;
810
+ } | {
797
811
  type: "app.public.access";
798
812
  enable: boolean;
799
813
  tick?: {
@@ -1047,20 +1061,6 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
1047
1061
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1048
1062
  delete?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
1049
1063
  };
1050
- } | {
1051
- type: "active.cached-suggestion";
1052
- key: string;
1053
- fsId: string;
1054
- sourceFsId: string;
1055
- } | {
1056
- type: "active.cached-suggestion-bless";
1057
- key: string;
1058
- fsId?: string | undefined;
1059
- sourceFsId?: string | undefined;
1060
- targetOwnerHandle?: string | undefined;
1061
- targetAppSlug?: string | undefined;
1062
- approvedBy: string;
1063
- approvedAt: string;
1064
1064
  }, {}>;
1065
1065
  export declare function isActiveAcl(obj: unknown): obj is typeof ActiveACL.infer;
1066
1066
  export type ActiveEntry = typeof ActiveEntry.infer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "4.0.14",
3
+ "version": "4.0.15",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {
@@ -10,9 +10,9 @@
10
10
  "@adviser/cement": "~0.5.34",
11
11
  "@ark/json-schema": "~0.0.4",
12
12
  "@cloudflare/workers-types": "~4.20260617.1",
13
- "@vibes.diy/call-ai-v2": "4.0.14",
14
- "@vibes.diy/identity": "4.0.14",
15
- "@vibes.diy/vibe-types": "4.0.14",
13
+ "@vibes.diy/call-ai-v2": "4.0.15",
14
+ "@vibes.diy/identity": "4.0.15",
15
+ "@vibes.diy/vibe-types": "4.0.15",
16
16
  "arktype": "~2.2.1"
17
17
  },
18
18
  "repository": {
package/settings.d.ts CHANGED
@@ -930,20 +930,6 @@ export type ReqEnsureAppSettings = ReqPublicAccess | ReqRequest | ReqEnsureAppSe
930
930
  export declare function isReqEnsureAppSettings(obj: unknown): obj is ReqEnsureAppSettings;
931
931
  export declare const AppSettings: import("arktype/internal/variants/object.ts").ObjectType<{
932
932
  entries: ({
933
- type: "active.cached-suggestion";
934
- key: string;
935
- fsId: string;
936
- sourceFsId: string;
937
- } | {
938
- type: "active.cached-suggestion-bless";
939
- key: string;
940
- fsId?: string | undefined;
941
- sourceFsId?: string | undefined;
942
- targetOwnerHandle?: string | undefined;
943
- targetAppSlug?: string | undefined;
944
- approvedBy: string;
945
- approvedAt: string;
946
- } | {
947
933
  type: "active.db-acl";
948
934
  dbName: string;
949
935
  acl: {
@@ -1197,6 +1183,20 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
1197
1183
  type: "active.backend";
1198
1184
  handlers: string[];
1199
1185
  intervalMs?: number | undefined;
1186
+ } | {
1187
+ type: "active.cached-suggestion";
1188
+ key: string;
1189
+ fsId: string;
1190
+ sourceFsId: string;
1191
+ } | {
1192
+ type: "active.cached-suggestion-bless";
1193
+ key: string;
1194
+ fsId?: string | undefined;
1195
+ sourceFsId?: string | undefined;
1196
+ targetOwnerHandle?: string | undefined;
1197
+ targetAppSlug?: string | undefined;
1198
+ approvedBy: string;
1199
+ approvedAt: string;
1200
1200
  })[];
1201
1201
  entry: {
1202
1202
  settings: {
@@ -1313,20 +1313,6 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1313
1313
  error?: string | undefined;
1314
1314
  settings: {
1315
1315
  entries: ({
1316
- type: "active.cached-suggestion";
1317
- key: string;
1318
- fsId: string;
1319
- sourceFsId: string;
1320
- } | {
1321
- type: "active.cached-suggestion-bless";
1322
- key: string;
1323
- fsId?: string | undefined;
1324
- sourceFsId?: string | undefined;
1325
- targetOwnerHandle?: string | undefined;
1326
- targetAppSlug?: string | undefined;
1327
- approvedBy: string;
1328
- approvedAt: string;
1329
- } | {
1330
1316
  type: "active.db-acl";
1331
1317
  dbName: string;
1332
1318
  acl: {
@@ -1580,6 +1566,20 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1580
1566
  type: "active.backend";
1581
1567
  handlers: string[];
1582
1568
  intervalMs?: number | undefined;
1569
+ } | {
1570
+ type: "active.cached-suggestion";
1571
+ key: string;
1572
+ fsId: string;
1573
+ sourceFsId: string;
1574
+ } | {
1575
+ type: "active.cached-suggestion-bless";
1576
+ key: string;
1577
+ fsId?: string | undefined;
1578
+ sourceFsId?: string | undefined;
1579
+ targetOwnerHandle?: string | undefined;
1580
+ targetAppSlug?: string | undefined;
1581
+ approvedBy: string;
1582
+ approvedAt: string;
1583
1583
  })[];
1584
1584
  entry: {
1585
1585
  settings: {
@@ -1752,20 +1752,6 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
1752
1752
  ownerHandle: string;
1753
1753
  appSlug: string;
1754
1754
  settings: ({
1755
- type: "active.cached-suggestion";
1756
- key: string;
1757
- fsId: string;
1758
- sourceFsId: string;
1759
- } | {
1760
- type: "active.cached-suggestion-bless";
1761
- key: string;
1762
- fsId?: string | undefined;
1763
- sourceFsId?: string | undefined;
1764
- targetOwnerHandle?: string | undefined;
1765
- targetAppSlug?: string | undefined;
1766
- approvedBy: string;
1767
- approvedAt: string;
1768
- } | {
1769
1755
  type: "active.db-acl";
1770
1756
  dbName: string;
1771
1757
  acl: {
@@ -2019,6 +2005,20 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
2019
2005
  type: "active.backend";
2020
2006
  handlers: string[];
2021
2007
  intervalMs?: number | undefined;
2008
+ } | {
2009
+ type: "active.cached-suggestion";
2010
+ key: string;
2011
+ fsId: string;
2012
+ sourceFsId: string;
2013
+ } | {
2014
+ type: "active.cached-suggestion-bless";
2015
+ key: string;
2016
+ fsId?: string | undefined;
2017
+ sourceFsId?: string | undefined;
2018
+ targetOwnerHandle?: string | undefined;
2019
+ targetAppSlug?: string | undefined;
2020
+ approvedBy: string;
2021
+ approvedAt: string;
2022
2022
  })[];
2023
2023
  }, {}>;
2024
2024
  export type EvtAppSetting = typeof evtAppSetting.infer;