@vibes.diy/api-types 2.3.3 → 2.3.4-dev.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 +3 -3
- package/report.d.ts +3 -0
- package/report.js +2 -0
- package/report.js.map +1 -1
- package/vibes-diy-api.d.ts +2 -1
- package/vibes-diy-api.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-types",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4-dev.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,8 +14,8 @@
|
|
|
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.3.
|
|
18
|
-
"@vibes.diy/vibe-types": "2.3.
|
|
17
|
+
"@vibes.diy/call-ai-v2": "2.3.4-dev.2",
|
|
18
|
+
"@vibes.diy/vibe-types": "2.3.4-dev.2",
|
|
19
19
|
"arktype": "~2.2.0"
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
package/report.d.ts
CHANGED
|
@@ -56,12 +56,14 @@ export declare const reqReportAttributionReferrers: import("arktype/internal/var
|
|
|
56
56
|
type: "clerk" | "device-id" | "ucan";
|
|
57
57
|
token: string;
|
|
58
58
|
};
|
|
59
|
+
reqPath?: string | undefined;
|
|
59
60
|
}, {}>;
|
|
60
61
|
export type ReqReportAttributionReferrers = typeof reqReportAttributionReferrers.infer;
|
|
61
62
|
export declare function isReqReportAttributionReferrers(obj: unknown): obj is ReqReportAttributionReferrers;
|
|
62
63
|
export declare const resReportAttributionReferrersRow: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
63
64
|
refHost: string;
|
|
64
65
|
refPath: string;
|
|
66
|
+
reqPath: string;
|
|
65
67
|
total: number;
|
|
66
68
|
conversions: number;
|
|
67
69
|
browse: number;
|
|
@@ -73,6 +75,7 @@ export declare const resReportAttributionReferrers: import("arktype/internal/var
|
|
|
73
75
|
rows: {
|
|
74
76
|
refHost: string;
|
|
75
77
|
refPath: string;
|
|
78
|
+
reqPath: string;
|
|
76
79
|
total: number;
|
|
77
80
|
conversions: number;
|
|
78
81
|
browse: number;
|
package/report.js
CHANGED
|
@@ -44,6 +44,7 @@ export function isResReportGrowthVibesWithData(obj) {
|
|
|
44
44
|
export const reqReportAttributionReferrers = type({
|
|
45
45
|
type: "'vibes.diy.req-report-attribution-referrers'",
|
|
46
46
|
auth: dashAuthType,
|
|
47
|
+
"reqPath?": "string",
|
|
47
48
|
});
|
|
48
49
|
export function isReqReportAttributionReferrers(obj) {
|
|
49
50
|
return !(reqReportAttributionReferrers(obj) instanceof type.errors);
|
|
@@ -51,6 +52,7 @@ export function isReqReportAttributionReferrers(obj) {
|
|
|
51
52
|
export const resReportAttributionReferrersRow = type({
|
|
52
53
|
refHost: "string",
|
|
53
54
|
refPath: "string",
|
|
55
|
+
reqPath: "string",
|
|
54
56
|
total: "number",
|
|
55
57
|
conversions: "number",
|
|
56
58
|
browse: "number",
|
package/report.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../jsr/report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3C,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAC;IAC7C,IAAI,EAAE,2CAA2C;IACjD,IAAI,EAAE,YAAY;CACnB,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAAC,GAAY;IACvD,OAAO,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,YAAY,IAAI,C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AACtE,CAAC"}
|
package/vibes-diy-api.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ReqPutDoc, ResPutDoc, ReqGetDoc, ResGetDoc, ResGetDocNotFound, ReqQuery
|
|
|
10
10
|
import { ReqListMembers, ResListMembers } from "./members.js";
|
|
11
11
|
import { ReqVibeWhoAmI, ResVibeWhoAmI } from "@vibes.diy/vibe-types";
|
|
12
12
|
import { ReqAssetUploadGrant, ResAssetUploadGrant } from "./asset.js";
|
|
13
|
-
import { ReqReportGrowthMemberships, ResReportGrowthMemberships, ReqReportGrowthVibesWithData, ResReportGrowthVibesWithData } from "./report.js";
|
|
13
|
+
import { ReqReportGrowthMemberships, ResReportGrowthMemberships, ReqReportGrowthVibesWithData, ResReportGrowthVibesWithData, ReqReportAttributionReferrers, ResReportAttributionReferrers } from "./report.js";
|
|
14
14
|
import { LLMRequest } from "@vibes.diy/call-ai-v2";
|
|
15
15
|
import { DashAuthType, ReqCertFromCsr, ResCertFromCsr, VerifiedClaimsResult } from "@fireproof/core-types-protocols-dashboard";
|
|
16
16
|
import { ClerkClaim } from "@fireproof/core-types-base";
|
|
@@ -84,6 +84,7 @@ export interface VibesDiyApiIface<_T = unknown> {
|
|
|
84
84
|
requestAssetUploadGrant(req: Req<ReqAssetUploadGrant>): Promise<Result<ResAssetUploadGrant, VibesDiyError>>;
|
|
85
85
|
reportGrowthMemberships(req: Req<ReqReportGrowthMemberships>): Promise<Result<ResReportGrowthMemberships, VibesDiyError>>;
|
|
86
86
|
reportGrowthVibesWithData(req: Req<ReqReportGrowthVibesWithData>): Promise<Result<ResReportGrowthVibesWithData, VibesDiyError>>;
|
|
87
|
+
reportAttributionReferrers(req: Req<ReqReportAttributionReferrers>): Promise<Result<ResReportAttributionReferrers, VibesDiyError>>;
|
|
87
88
|
onDocChanged(fn: (userSlug: string, appSlug: string, dbName: string, docId: string) => void): () => void;
|
|
88
89
|
onRequestGrant(fn: (evt: EvtRequestGrant) => void): () => void;
|
|
89
90
|
}
|
package/vibes-diy-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vibes-diy-api.js","sourceRoot":"","sources":["../jsr/vibes-diy-api.ts"],"names":[],"mappings":"AAqGA,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,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC"}
|