@vibes.diy/api-types 5.5.0 → 5.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "5.5.0",
3
+ "version": "5.5.2",
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": "5.5.0",
14
- "@vibes.diy/identity": "5.5.0",
15
- "@vibes.diy/vibe-types": "5.5.0",
13
+ "@vibes.diy/call-ai-v2": "5.5.2",
14
+ "@vibes.diy/identity": "5.5.2",
15
+ "@vibes.diy/vibe-types": "5.5.2",
16
16
  "arktype": "~2.2.3"
17
17
  },
18
18
  "repository": {
@@ -18,6 +18,7 @@ import { ReqAssetUploadGrant, ResAssetUploadGrant } from "./asset.js";
18
18
  import { ReqReportGrowthMemberships, ResReportGrowthMemberships, ReqReportGrowthVibesWithData, ResReportGrowthVibesWithData, ReqReportActiveMembers, ResReportActiveMembers, ReqReportTopVibesByMembers, ResReportTopVibesByMembers, ReqReportAttributionReferrers, ResReportAttributionReferrers, ReqReportCampaignHealth, ResReportCampaignHealth } from "./report.js";
19
19
  import { ReqHomeLeaderboard, ResHomeLeaderboard, ReqCuratedNewVibes, ResCuratedNewVibes } from "./home-feed.js";
20
20
  import { ReqRelatedVibes, ResRelatedVibes } from "./related-vibes.js";
21
+ import { ReqSharedMint, ResSharedMint } from "./shared-mint.js";
21
22
  import { LLMRequest } from "@vibes.diy/call-ai-v2";
22
23
  import { DashAuthType, ReqCertFromCsr, ResCertFromCsr, VerifiedClaimsResult, ClerkClaim } from "@vibes.diy/identity";
23
24
  import type { ShardKind, ReqType, SHARD_POLICY } from "./shard-policy.js";
@@ -59,6 +60,7 @@ export type MethodReqType<M> = M extends (req: infer R) => unknown ? (R extends
59
60
  export interface VibesDiyApiIface<_T = unknown> {
60
61
  close(): Promise<void>;
61
62
  rollCodegenShard(): boolean;
63
+ currentCodegenShard(): string | undefined;
62
64
  ensureAppSlug(req: Req<ReqEnsureAppSlug>): Promise<Result<ResEnsureAppSlug, VibesDiyError>>;
63
65
  listUserSlugAppSlug(req: Req<ReqListUserSlugAppSlug>): Promise<Result<ResListUserSlugAppSlug, VibesDiyError>>;
64
66
  listRecentVibes(req: Req<ReqListRecentVibes>): Promise<Result<ResListRecentVibes, VibesDiyError>>;
@@ -152,6 +154,7 @@ export interface VibesDiyApiIface<_T = unknown> {
152
154
  homeLeaderboard(req: Req<ReqHomeLeaderboard>): Promise<Result<ResHomeLeaderboard, VibesDiyError>>;
153
155
  curatedNewVibes(req: Req<ReqCuratedNewVibes>): Promise<Result<ResCuratedNewVibes, VibesDiyError>>;
154
156
  relatedVibes(req: Req<ReqRelatedVibes>): Promise<Result<ResRelatedVibes, VibesDiyError>>;
157
+ sharedMint(req: Req<ReqSharedMint>): Promise<Result<ResSharedMint, VibesDiyError>>;
155
158
  onDocChanged(fn: (ownerHandle: string, appSlug: string, dbName: string, docId: string) => void): () => void;
156
159
  onDocEphemeral(fn: (evt: EvtDocEphemeral) => void): () => void;
157
160
  onDocEphemeralDrop(fn: (originPeer: string) => void): () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"AAqNA,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":"AAsNA,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"}