Externalize audit pipeline services
This commit is contained in:
@@ -119,6 +119,18 @@ export const PAGE_SPEED_ERROR_TYPES = [
|
||||
"api_error",
|
||||
"unknown",
|
||||
] as const;
|
||||
export const USAGE_EVENT_PROVIDERS = [
|
||||
"openrouter",
|
||||
"screenshotone",
|
||||
"jina",
|
||||
"pagespeed",
|
||||
"google_places",
|
||||
] as const;
|
||||
export const USAGE_EVENT_OPERATIONS = [
|
||||
"audit_capture",
|
||||
"audit_generation",
|
||||
"lead_lookup",
|
||||
] as const;
|
||||
|
||||
export type CampaignStatus = (typeof CAMPAIGN_STATUSES)[number];
|
||||
export type LeadPriority = (typeof LEAD_PRIORITIES)[number];
|
||||
@@ -143,6 +155,8 @@ export type ScreenshotViewport = (typeof SCREENSHOT_VIEWPORTS)[number];
|
||||
export type PageSpeedStrategy = (typeof PAGE_SPEED_STRATEGIES)[number];
|
||||
export type PageSpeedResultStatus = (typeof PAGE_SPEED_RESULT_STATUSES)[number];
|
||||
export type PageSpeedErrorType = (typeof PAGE_SPEED_ERROR_TYPES)[number];
|
||||
export type UsageEventProvider = (typeof USAGE_EVENT_PROVIDERS)[number];
|
||||
export type UsageEventOperation = (typeof USAGE_EVENT_OPERATIONS)[number];
|
||||
|
||||
export type SettingsRow = {
|
||||
key: string;
|
||||
|
||||
Reference in New Issue
Block a user