Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/scient-analytics/src/contract.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
export const ANALYTICS_SCHEMA_VERSION = 1 as const;
export const ANALYTICS_SOURCE = "desktop" as const;
import { EVENT_DEFINITIONS } from "./wireContract.ts";

export const ANALYTICS_CONTRACT_REVISION = "4" as const;
import { ANALYTICS_CONTRACT_REVISION, EVENT_DEFINITIONS } from "./wireContract.ts";
export { ANALYTICS_CONTRACT_REVISION } from "./wireContract.ts";

export const ANALYTICS_EVENT_NAMES = [
"app.session.started",
Expand Down
1 change: 1 addition & 0 deletions packages/scient-analytics/src/wireContract.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Scient desktop wire contract. The website gateway consumes a generated copy.
export const ANALYTICS_CONTRACT_REVISION = "4" as const;
export const PRIVACY_LEVELS = ["essential", "product", "diagnostic", "contribution"] as const;

export type PrivacyLevel = (typeof PRIVACY_LEVELS)[number];
Expand Down
Loading