@vibes.diy/api-types 2.5.10 → 2.5.11-dev.1

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/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DashAuthType, VerifiedAuthResult } from "@fireproof/core-types-protocols-dashboard";
1
+ import { DashAuthType, VerifiedAuthResult } from "@vibes.diy/identity";
2
2
  export type ReqWithVerifiedAuth<REQ extends {
3
3
  type: string;
4
4
  auth: DashAuthType;
package/db-acls.d.ts CHANGED
@@ -1,11 +1,11 @@
1
+ import type { DbAcl, DbAclSubject } from "@vibes.diy/vibe-types";
2
+ export type { DbAcl, DbAclSubject };
1
3
  export declare const dbAclSubject: import("arktype/internal/variants/string.ts").StringType<"editors" | "members" | "readers" | "submitters", {}>;
2
- export type DbAclSubject = typeof dbAclSubject.infer;
3
4
  export declare const dbAcl: import("arktype/internal/variants/object.ts").ObjectType<{
4
5
  read?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
5
6
  write?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
6
7
  delete?: ("editors" | "members" | "readers" | "submitters")[] | undefined;
7
8
  }, {}>;
8
- export type DbAcl = typeof dbAcl.infer;
9
9
  export declare function isDbAcl(obj: unknown): obj is DbAcl;
10
10
  export declare const COMMENTS_DB_NAME = "comments";
11
11
  export declare const COMMENTS_DEFAULT_ACL: DbAcl;
package/db-acls.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"db-acls.js","sourceRoot":"","sources":["../jsr/db-acls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAmB/B,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,kDAAkD,CAAC,CAAC;AAGrF,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,YAAY,CAAC,KAAK,EAAE;IAC7B,QAAQ,EAAE,YAAY,CAAC,KAAK,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CAAC,MAAM,oBAAoB,GAAU;IACzC,KAAK,EAAE,CAAC,SAAS,CAAC;IAClB,MAAM,EAAE,CAAC,SAAS,CAAC;CACpB,CAAC;AAIF,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACX,CAAC,CAAC;AAEH,MAAM,UAAU,aAAa,CAAC,GAAY;IACxC,OAAO,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACpD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "2.5.10",
3
+ "version": "2.5.11-dev.1",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {
@@ -14,8 +14,9 @@
14
14
  "@fireproof/core-types-base": "~0.24.19",
15
15
  "@fireproof/core-types-protocols-cloud": "~0.24.19",
16
16
  "@fireproof/core-types-protocols-dashboard": "~0.24.19",
17
- "@vibes.diy/call-ai-v2": "2.5.10",
18
- "@vibes.diy/vibe-types": "2.5.10",
17
+ "@vibes.diy/call-ai-v2": "2.5.11-dev.1",
18
+ "@vibes.diy/identity": "2.5.11-dev.1",
19
+ "@vibes.diy/vibe-types": "2.5.11-dev.1",
19
20
  "arktype": "~2.2.1"
20
21
  },
21
22
  "repository": {
@@ -13,8 +13,7 @@ import { ReqVibeWhoAmI, ResVibeWhoAmI } from "@vibes.diy/vibe-types";
13
13
  import { ReqAssetUploadGrant, ResAssetUploadGrant } from "./asset.js";
14
14
  import { ReqReportGrowthMemberships, ResReportGrowthMemberships, ReqReportGrowthVibesWithData, ResReportGrowthVibesWithData, ReqReportActiveMembers, ResReportActiveMembers, ReqReportTopVibesByMembers, ResReportTopVibesByMembers, ReqReportAttributionReferrers, ResReportAttributionReferrers, ReqReportCampaignHealth, ResReportCampaignHealth } from "./report.js";
15
15
  import { LLMRequest } from "@vibes.diy/call-ai-v2";
16
- import { DashAuthType, ReqCertFromCsr, ResCertFromCsr, VerifiedClaimsResult } from "@fireproof/core-types-protocols-dashboard";
17
- import { ClerkClaim } from "@fireproof/core-types-base";
16
+ import { DashAuthType, ReqCertFromCsr, ResCertFromCsr, VerifiedClaimsResult, ClerkClaim } from "@vibes.diy/identity";
18
17
  export declare const LLMChatEntry: import("arktype/internal/variants/object.ts").ObjectType<{
19
18
  tid: string;
20
19
  chatId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"AAqHA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAK/B,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;IAC/B,GAAG,EAAE,QAAQ;IACb,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC"}
1
+ {"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"AAqHA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAI/B,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;IAC/B,GAAG,EAAE,QAAQ;IACb,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC"}
package/vibes-types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { FPApiParameters } from "@fireproof/core-types-protocols-dashboard";
1
+ import { FPApiParameters } from "@vibes.diy/identity";
2
2
  import { VibesSvcEnv } from "./vibes-diy-serv-ctx.js";
3
3
  export interface PkgRepos {
4
4
  readonly workspace: string;