@vibes.diy/api-types 2.2.18 → 2.2.19

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": "2.2.18",
3
+ "version": "2.2.19",
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.2.18",
18
- "@vibes.diy/vibe-types": "2.2.18",
17
+ "@vibes.diy/call-ai-v2": "2.2.19",
18
+ "@vibes.diy/vibe-types": "2.2.19",
19
19
  "arktype": "~2.2.0"
20
20
  },
21
21
  "repository": {
package/report.d.ts CHANGED
@@ -50,3 +50,33 @@ export declare const resReportGrowthVibesWithData: import("arktype/internal/vari
50
50
  }, {}>;
51
51
  export type ResReportGrowthVibesWithData = typeof resReportGrowthVibesWithData.infer;
52
52
  export declare function isResReportGrowthVibesWithData(obj: unknown): obj is ResReportGrowthVibesWithData;
53
+ export declare const reqReportAttributionReferrers: import("arktype/internal/variants/object.ts").ObjectType<{
54
+ type: "vibes.diy.req-report-attribution-referrers";
55
+ auth: {
56
+ type: "clerk" | "device-id" | "ucan";
57
+ token: string;
58
+ };
59
+ }, {}>;
60
+ export type ReqReportAttributionReferrers = typeof reqReportAttributionReferrers.infer;
61
+ export declare function isReqReportAttributionReferrers(obj: unknown): obj is ReqReportAttributionReferrers;
62
+ export declare const resReportAttributionReferrersRow: import("arktype/internal/variants/object.ts").ObjectType<{
63
+ refHost: string;
64
+ refPath: string;
65
+ total: number;
66
+ conversions: number;
67
+ browse: number;
68
+ }, {}>;
69
+ export type ResReportAttributionReferrersRow = typeof resReportAttributionReferrersRow.infer;
70
+ export declare const resReportAttributionReferrers: import("arktype/internal/variants/object.ts").ObjectType<{
71
+ type: "vibes.diy.res-report-attribution-referrers";
72
+ generatedAt: string;
73
+ rows: {
74
+ refHost: string;
75
+ refPath: string;
76
+ total: number;
77
+ conversions: number;
78
+ browse: number;
79
+ }[];
80
+ }, {}>;
81
+ export type ResReportAttributionReferrers = typeof resReportAttributionReferrers.infer;
82
+ export declare function isResReportAttributionReferrers(obj: unknown): obj is ResReportAttributionReferrers;
package/report.js CHANGED
@@ -41,4 +41,26 @@ export const resReportGrowthVibesWithData = type({
41
41
  export function isResReportGrowthVibesWithData(obj) {
42
42
  return !(resReportGrowthVibesWithData(obj) instanceof type.errors);
43
43
  }
44
+ export const reqReportAttributionReferrers = type({
45
+ type: "'vibes.diy.req-report-attribution-referrers'",
46
+ auth: dashAuthType,
47
+ });
48
+ export function isReqReportAttributionReferrers(obj) {
49
+ return !(reqReportAttributionReferrers(obj) instanceof type.errors);
50
+ }
51
+ export const resReportAttributionReferrersRow = type({
52
+ refHost: "string",
53
+ refPath: "string",
54
+ total: "number",
55
+ conversions: "number",
56
+ browse: "number",
57
+ });
58
+ export const resReportAttributionReferrers = type({
59
+ type: "'vibes.diy.res-report-attribution-referrers'",
60
+ generatedAt: "string",
61
+ rows: resReportAttributionReferrersRow.array(),
62
+ });
63
+ export function isResReportAttributionReferrers(obj) {
64
+ return !(resReportAttributionReferrers(obj) instanceof type.errors);
65
+ }
44
66
  //# sourceMappingURL=report.js.map
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,UAA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/object.ts").ObjectType<{
2
2
  CLERK_PUBLISHABLE_KEY: string;
3
- VIBES_DIY_STYLES_URL: string;
4
3
  VIBES_DIY_API_URL: string;
5
4
  GTM_CONTAINER_ID?: string | undefined;
6
5
  POSTHOG_KEY?: string | undefined;
@@ -26,7 +25,6 @@ export declare const vibesDiyServCtx: import("arktype/internal/variants/object.t
26
25
  usrEnv: Record<string, string>;
27
26
  svcEnv: {
28
27
  CLERK_PUBLISHABLE_KEY: string;
29
- VIBES_DIY_STYLES_URL: string;
30
28
  VIBES_DIY_API_URL: string;
31
29
  GTM_CONTAINER_ID?: string | undefined;
32
30
  POSTHOG_KEY?: string | undefined;
@@ -2,7 +2,6 @@ import { type } from "arktype";
2
2
  import { vibeUserEnv } from "./common.js";
3
3
  export const vibesSvcEnv = type({
4
4
  CLERK_PUBLISHABLE_KEY: "string",
5
- VIBES_DIY_STYLES_URL: "string",
6
5
  VIBES_DIY_API_URL: "string",
7
6
  "GTM_CONTAINER_ID?": "string",
8
7
  "POSTHOG_KEY?": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"vibes-diy-serv-ctx.js","sourceRoot":"","sources":["../jsr/vibes-diy-serv-ctx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC;IAC9B,qBAAqB,EAAE,QAAQ;IAK/B,oBAAoB,EAAE,QAAQ;IAC9B,iBAAiB,EAAE,QAAQ;IAE3B,mBAAmB,EAAE,QAAQ;IAC7B,cAAc,EAAE,QAAQ;IACxB,eAAe,EAAE,QAAQ;IAQzB,yBAAyB,EAAE,QAAQ;CAKpC,CAAC,CAAC;AAIH,MAAM,SAAS,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,QAAQ;IACrB,eAAe,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