@ramme-io/shared 4.2.0 → 4.3.0
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/dist/index.cjs +11 -1
- package/dist/index.d.cts +40 -1
- package/dist/index.d.ts +40 -1
- package/dist/index.js +9 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -219,6 +219,7 @@ __export(index_exports, {
|
|
|
219
219
|
ThemePaletteSchema: () => ThemePaletteSchema,
|
|
220
220
|
ThemeRgbSchema: () => ThemeRgbSchema,
|
|
221
221
|
ThemeTokensSchema: () => ThemeTokensSchema,
|
|
222
|
+
ThemeWebFontsSchema: () => ThemeWebFontsSchema,
|
|
222
223
|
TriggerSchema: () => TriggerSchema,
|
|
223
224
|
UserSchema: () => UserSchema,
|
|
224
225
|
VitalSourceSchema: () => VitalSourceSchema,
|
|
@@ -226,6 +227,7 @@ __export(index_exports, {
|
|
|
226
227
|
WEATHER_ICONS: () => WEATHER_ICONS,
|
|
227
228
|
WEATHER_ICON_NAMES: () => WEATHER_ICON_NAMES,
|
|
228
229
|
WeatherAppConfigSchema: () => WeatherAppConfigSchema,
|
|
230
|
+
WebFontFamilySchema: () => WebFontFamilySchema,
|
|
229
231
|
WorkflowSchema: () => WorkflowSchema,
|
|
230
232
|
telemetryGraphParameters: () => telemetryGraphParameters
|
|
231
233
|
});
|
|
@@ -1491,6 +1493,11 @@ var THEME_PALETTE_TOKENS = [
|
|
|
1491
1493
|
];
|
|
1492
1494
|
var ThemeLetteringSchema = import_zod11.z.enum(["inter", "tay", "pixel"]);
|
|
1493
1495
|
var THEME_RADII = ["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"];
|
|
1496
|
+
var WebFontFamilySchema = import_zod11.z.string().trim().min(1).max(60).regex(/^[A-Za-z0-9 ]+$/);
|
|
1497
|
+
var ThemeWebFontsSchema = import_zod11.z.object({
|
|
1498
|
+
heading: WebFontFamilySchema.optional(),
|
|
1499
|
+
body: WebFontFamilySchema.optional()
|
|
1500
|
+
});
|
|
1494
1501
|
var AccountThemeSchema = import_zod11.z.object({
|
|
1495
1502
|
name: import_zod11.z.string().trim().min(1).max(40),
|
|
1496
1503
|
/** The preset it started from, when it started from one. */
|
|
@@ -1498,7 +1505,8 @@ var AccountThemeSchema = import_zod11.z.object({
|
|
|
1498
1505
|
light: ThemePaletteSchema,
|
|
1499
1506
|
dark: ThemePaletteSchema,
|
|
1500
1507
|
lettering: ThemeLetteringSchema,
|
|
1501
|
-
radius: import_zod11.z.enum(THEME_RADII)
|
|
1508
|
+
radius: import_zod11.z.enum(THEME_RADII),
|
|
1509
|
+
fonts: ThemeWebFontsSchema.optional()
|
|
1502
1510
|
});
|
|
1503
1511
|
|
|
1504
1512
|
// src/apps/protocol.ts
|
|
@@ -2632,6 +2640,7 @@ var NewAccessTokenSchema = import_zod18.z.object({
|
|
|
2632
2640
|
ThemePaletteSchema,
|
|
2633
2641
|
ThemeRgbSchema,
|
|
2634
2642
|
ThemeTokensSchema,
|
|
2643
|
+
ThemeWebFontsSchema,
|
|
2635
2644
|
TriggerSchema,
|
|
2636
2645
|
UserSchema,
|
|
2637
2646
|
VitalSourceSchema,
|
|
@@ -2639,6 +2648,7 @@ var NewAccessTokenSchema = import_zod18.z.object({
|
|
|
2639
2648
|
WEATHER_ICONS,
|
|
2640
2649
|
WEATHER_ICON_NAMES,
|
|
2641
2650
|
WeatherAppConfigSchema,
|
|
2651
|
+
WebFontFamilySchema,
|
|
2642
2652
|
WorkflowSchema,
|
|
2643
2653
|
telemetryGraphParameters
|
|
2644
2654
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -51262,6 +51262,26 @@ declare const THEME_PALETTE_TOKENS: readonly ["background", "foreground", "muted
|
|
|
51262
51262
|
/** The board's typefaces, in the same words as AppDocument's `font`. */
|
|
51263
51263
|
declare const ThemeLetteringSchema: z.ZodEnum<["inter", "tay", "pixel"]>;
|
|
51264
51264
|
declare const THEME_RADII: readonly ["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"];
|
|
51265
|
+
/**
|
|
51266
|
+
* A Google Fonts family, by name. Letters, digits and spaces are all any
|
|
51267
|
+
* family name uses, and all that may reach the stylesheet URL it loads from.
|
|
51268
|
+
*/
|
|
51269
|
+
declare const WebFontFamilySchema: z.ZodString;
|
|
51270
|
+
/**
|
|
51271
|
+
* The site's typefaces. Web only: a board can draw only the lettering built
|
|
51272
|
+
* into its firmware, so `lettering` still decides what the boards show. Left
|
|
51273
|
+
* out, headings follow the lettering and body text is Roboto.
|
|
51274
|
+
*/
|
|
51275
|
+
declare const ThemeWebFontsSchema: z.ZodObject<{
|
|
51276
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
51277
|
+
body: z.ZodOptional<z.ZodString>;
|
|
51278
|
+
}, "strip", z.ZodTypeAny, {
|
|
51279
|
+
heading?: string | undefined;
|
|
51280
|
+
body?: string | undefined;
|
|
51281
|
+
}, {
|
|
51282
|
+
heading?: string | undefined;
|
|
51283
|
+
body?: string | undefined;
|
|
51284
|
+
}>;
|
|
51265
51285
|
declare const AccountThemeSchema: z.ZodObject<{
|
|
51266
51286
|
name: z.ZodString;
|
|
51267
51287
|
/** The preset it started from, when it started from one. */
|
|
@@ -51324,6 +51344,16 @@ declare const AccountThemeSchema: z.ZodObject<{
|
|
|
51324
51344
|
}>;
|
|
51325
51345
|
lettering: z.ZodEnum<["inter", "tay", "pixel"]>;
|
|
51326
51346
|
radius: z.ZodEnum<["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"]>;
|
|
51347
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
51348
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
51349
|
+
body: z.ZodOptional<z.ZodString>;
|
|
51350
|
+
}, "strip", z.ZodTypeAny, {
|
|
51351
|
+
heading?: string | undefined;
|
|
51352
|
+
body?: string | undefined;
|
|
51353
|
+
}, {
|
|
51354
|
+
heading?: string | undefined;
|
|
51355
|
+
body?: string | undefined;
|
|
51356
|
+
}>>;
|
|
51327
51357
|
}, "strip", z.ZodTypeAny, {
|
|
51328
51358
|
name: string;
|
|
51329
51359
|
light: {
|
|
@@ -51347,6 +51377,10 @@ declare const AccountThemeSchema: z.ZodObject<{
|
|
|
51347
51377
|
lettering: "inter" | "pixel" | "tay";
|
|
51348
51378
|
radius: "0rem" | "0.25rem" | "0.5rem" | "0.75rem" | "1rem";
|
|
51349
51379
|
base?: string | undefined;
|
|
51380
|
+
fonts?: {
|
|
51381
|
+
heading?: string | undefined;
|
|
51382
|
+
body?: string | undefined;
|
|
51383
|
+
} | undefined;
|
|
51350
51384
|
}, {
|
|
51351
51385
|
name: string;
|
|
51352
51386
|
light: {
|
|
@@ -51370,9 +51404,14 @@ declare const AccountThemeSchema: z.ZodObject<{
|
|
|
51370
51404
|
lettering: "inter" | "pixel" | "tay";
|
|
51371
51405
|
radius: "0rem" | "0.25rem" | "0.5rem" | "0.75rem" | "1rem";
|
|
51372
51406
|
base?: string | undefined;
|
|
51407
|
+
fonts?: {
|
|
51408
|
+
heading?: string | undefined;
|
|
51409
|
+
body?: string | undefined;
|
|
51410
|
+
} | undefined;
|
|
51373
51411
|
}>;
|
|
51374
51412
|
type ThemePalette7 = z.infer<typeof ThemePaletteSchema>;
|
|
51375
51413
|
type ThemeLettering = z.infer<typeof ThemeLetteringSchema>;
|
|
51414
|
+
type ThemeWebFonts = z.infer<typeof ThemeWebFontsSchema>;
|
|
51376
51415
|
type AccountTheme = z.infer<typeof AccountThemeSchema>;
|
|
51377
51416
|
|
|
51378
51417
|
/**
|
|
@@ -54396,4 +54435,4 @@ type AccessTokenRecord = z.infer<typeof AccessTokenRecordSchema>;
|
|
|
54396
54435
|
type PublicAccessToken = z.infer<typeof PublicAccessTokenSchema>;
|
|
54397
54436
|
type NewAccessToken = z.infer<typeof NewAccessTokenSchema>;
|
|
54398
54437
|
|
|
54399
|
-
export { ACCESS_REQUEST_TTL_SECONDS, ACCESS_TOKEN_LIFETIMES_DAYS, ACCESS_TOKEN_MAX_PER_ACCOUNT, ACCESS_TOKEN_PREFIX, ACCESS_TOKEN_RATE_PER_MINUTE, ACCESS_TOKEN_SCOPES, ACCESS_TOKEN_SCOPE_LABELS, ACCOUNT_TTL_SECONDS, type AIKeyManifest, AIKeyManifestSchema, type AITheme, AIThemeSchema, AI_ROSTER, AI_TOOLS, APP_DOCUMENT_EDIT_PREFIX, APP_DOCUMENT_SYSTEM_PROMPT, ASSISTANT_MODEL, ASSISTANT_PROVIDER, type AccessRequest, type AccessRequestRecord, AccessRequestRecordSchema, AccessRequestSchema, type AccessRequestStatus, AccessRequestStatusSchema, type AccessTokenRecord, AccessTokenRecordSchema, type AccessTokenScope, AccessTokenScopeSchema, type AccountId, AccountIdSchema, type AccountRecord, AccountRecordSchema, type AccountRole, AccountRoleSchema, type AccountStatus, AccountStatusSchema, type AccountTheme, AccountThemeSchema, type ActionDefinition, ActionSchema, type AgentRoleConfig, type AgentRoleKey, AircraftAppConfigSchema, type AppAlign, AppAlignSchema, AppBarSchema, type AppBinding, AppBindingSchema, type AppBlock, AppBlockSchema, type AppColor, AppColorSchema, type AppColorToken, AppColorTokenSchema, type AppCompute, AppComputeSchema, type AppCondition, AppConditionSchema, AppDialSchema, type AppDocument, AppDocumentSchema, type AppGroup, AppGroupSchema, type AppIcon, AppIconSchema, type AppImage, AppImageSchema, type AppLeaf, AppLeafSchema, type AppOperand, AppOperandSchema, AppRgbSchema, type AppScreenSize, AppScreenSizeSchema, AppSignalSchema, type AppSource, AppSourceSchema, AppSparklineSchema, type AppSpecification, AppSpecificationSchema, AppSpriteSchema, AppStatusSchema, type AppStyleRule, AppStyleRuleSchema, AppTextSchema, type AppTextSize, AppTextSizeSchema, AssetHashSchema, AuthStrategySchema, type Block, BlockSchema, BoardFontSchema, BoardPaletteHexSchema, schema as Bodewell, CLAIMED_DEVICE_TTL_SECONDS, CONTROL_STATES, CONTROL_STATE_MEANINGS, type CaseFamily, CaseFamilySchema, ClockAppConfigSchema, ComponentSchema, type ControlState, DEFAULT_CHAT_MODEL, DEFAULT_DEVICE_CONFIG, DEFAULT_PRO_MODEL, DEFAULT_SCHEMA_MODEL, DEFAULT_THEME_TOKENS, DEVICE_AP_SSID_PREFIX, DEVICE_ENDPOINTS, DEVICE_FEATURES, DEVICE_FEATURE_STATE_LABELS, DEVICE_FRESH_MS, DEVICE_GLYPHS, DEVICE_LABEL_MAX, DEVICE_PALETTE, DEVICE_POLL_QUERY, DEVICE_PROTOCOL, DEVICE_STALE_MS, DEVICE_TIMEZONES, DEVICE_TIMEZONE_FALLBACK, DEVICE_TTL_SECONDS, DEVICE_UNKNOWN_GLYPH, DEVICE_VITALS_FIELDS, DEVICE_VOICE_CLIP, DISPLAY_FACE_MIN_PX, DISPLAY_NAME_MAX, type DeliveredApp, DeliveredAppSchema, type DeviceAppId, DeviceAppIdSchema, DeviceAppsSchema, type DeviceConfig, DeviceConfigSchema, DeviceDisplayConfigSchema, DeviceFeatureKeySchema, type DeviceFeatureState, DeviceFeatureStateSchema, type DeviceFeatures, DeviceFeaturesSchema, type DeviceGlyph, type DeviceId, DeviceIdSchema, type DeviceKind, DeviceKindSchema, type DevicePollReply, DevicePollReplySchema, type DeviceProtocolCall, type DeviceReading, DeviceReadingSchema, type DeviceRecord, DeviceRecordSchema, type DeviceRegistration, DeviceRegistrationSchema, type DeviceReport, DeviceReportSchema, type DeviceSeen, DeviceSeenSchema, type DeviceStatus, DeviceStatusSchema, DeviceThemeSchema, type DeviceTimeZone, type DeviceVitals, DeviceVitalsSchema, type DeviceVoiceReply, DeviceVoiceReplySchema, DisplayNameSchema, EdgeSchema, EmblemSchema, type EntityDefinition, EntitySchema, FIRMWARE_UPDATE_ATTEMPTS, FIRMWARE_UPDATE_PREFIX, FULL_COLOUR_FRAME_MAX, FULL_RENDITION, type FamilyChoice, FamilyChoiceSchema, FamilyOptionSchema, type FieldDefinition, FieldSchema, type FirmwareUpdate, FirmwareUpdateSchema, FlexButtonSchema, type FloraTelemetry, FloraTelemetrySchema, GENESIS_LIBRARY_CONTEXT, GENESIS_VALID_COMPONENTS, type GenesisComponentType, type HardwareManifest, HardwareManifestSchema, ICON_GRID, ICON_SIZE_PX, ICON_STROKE, IMAGE_MAX_DRAWN, IMAGE_MAX_SCALE, INVITE_TTL_SECONDS, InterfaceSchema, type InviteRecord, InviteRecordSchema, MAX_PASSWORD_LENGTH, MIN_PASSWORD_LENGTH, type ManifestComponent, type ManifestEdge, type ManifestEmblem, type ManifestFlexButton, type ManifestInterface, type ManifestMountHoles, type ManifestPlacement, MountHolesSchema, type NewAccessToken, NewAccessTokenSchema, ORIGINAL_MAX_BYTES, ORIGINAL_MAX_SIDE, type OwnedSendRequest, OwnedSendRequestSchema, PANEL_SIZE, PHOTOS_PER_ACCOUNT, PHOTO_UPLOADS_PER_HOUR, PROVIDER_DEFAULT_MODEL, type PageDefinition, PageSchema, type PageSection, PageSectionSchema, type PairCode, PairCodeSchema, type PanelOrientation, PanelOrientationSchema, type PhotoCrop, PhotoCropSchema, PhotoFullSchema, type PhotoSummary, PhotoSummarySchema, type PhotoUpload, PhotoUploadSchema, PlacementSchema, type PrinterProfile, PrinterProfileSchema, type ProviderDefaultModelKey, type ProvisioningState, ProvisioningStateSchema, type PublicAccessToken, PublicAccessTokenSchema, type PublicAccount, PublicAccountSchema, RETRO_RENDITION, type ResourceDefinition, ResourceSchema, SCRYPT_PARAMS, SESSION_COOKIE_NAME, SESSION_TTL_SECONDS, SHELF_MAX_APPS, SHELF_MAX_BYTES, SHELF_ROTATE_MINUTES, SIGNAL_DOMAINS, SIGNAL_KINDS, SIGNAL_KIND_LABELS, SIGNAL_SOURCES, SMOOTH_FACES, SMOOTH_FONT_ADVANCES, SPRITE_MAX_BASE64, SPRITE_MAX_ROW_BYTES, SPRITE_MAX_SIDE, SPR_FORMAT, SPR_MAX_BYTES, type ScryptHash, ScryptHashSchema, type SendRequest, SendRequestSchema, SensorAppConfigSchema, type SessionRecord, SessionRecordSchema, type Shelf, type ShelfEdit, ShelfEditSchema, ShelfSchema, type Signal, type SignalArray, SignalArraySchema, type SignalDefinition, type SignalDomain, type SignalKind, SignalKindSchema, type SignalPacket, SignalPacketSchema, SignalSchema, type SignalSource, SignalSourceSchema, type SmoothFace, THEME_PALETTE_TOKENS, THEME_PRESETS, THEME_RADII, THEME_SYSTEM_PROMPT, type TelemetryGraphParams, type ThemeFonts, ThemeFontsSchema, type ThemeLettering, ThemeLetteringSchema, type ThemeOverrides, ThemeOverridesSchema, type ThemePalette7, ThemePaletteSchema, type ThemePreset, ThemeRgbSchema, type ThemeTokens, ThemeTokensSchema, type ToolCall, type ToolDefinition, TriggerSchema, type User, UserSchema, type VitalSource, VitalSourceSchema, WEATHER_CODES, WEATHER_ICONS, WEATHER_ICON_NAMES, WeatherAppConfigSchema, type WeatherIcon, type WorkflowDefinition, WorkflowSchema, telemetryGraphParameters };
|
|
54438
|
+
export { ACCESS_REQUEST_TTL_SECONDS, ACCESS_TOKEN_LIFETIMES_DAYS, ACCESS_TOKEN_MAX_PER_ACCOUNT, ACCESS_TOKEN_PREFIX, ACCESS_TOKEN_RATE_PER_MINUTE, ACCESS_TOKEN_SCOPES, ACCESS_TOKEN_SCOPE_LABELS, ACCOUNT_TTL_SECONDS, type AIKeyManifest, AIKeyManifestSchema, type AITheme, AIThemeSchema, AI_ROSTER, AI_TOOLS, APP_DOCUMENT_EDIT_PREFIX, APP_DOCUMENT_SYSTEM_PROMPT, ASSISTANT_MODEL, ASSISTANT_PROVIDER, type AccessRequest, type AccessRequestRecord, AccessRequestRecordSchema, AccessRequestSchema, type AccessRequestStatus, AccessRequestStatusSchema, type AccessTokenRecord, AccessTokenRecordSchema, type AccessTokenScope, AccessTokenScopeSchema, type AccountId, AccountIdSchema, type AccountRecord, AccountRecordSchema, type AccountRole, AccountRoleSchema, type AccountStatus, AccountStatusSchema, type AccountTheme, AccountThemeSchema, type ActionDefinition, ActionSchema, type AgentRoleConfig, type AgentRoleKey, AircraftAppConfigSchema, type AppAlign, AppAlignSchema, AppBarSchema, type AppBinding, AppBindingSchema, type AppBlock, AppBlockSchema, type AppColor, AppColorSchema, type AppColorToken, AppColorTokenSchema, type AppCompute, AppComputeSchema, type AppCondition, AppConditionSchema, AppDialSchema, type AppDocument, AppDocumentSchema, type AppGroup, AppGroupSchema, type AppIcon, AppIconSchema, type AppImage, AppImageSchema, type AppLeaf, AppLeafSchema, type AppOperand, AppOperandSchema, AppRgbSchema, type AppScreenSize, AppScreenSizeSchema, AppSignalSchema, type AppSource, AppSourceSchema, AppSparklineSchema, type AppSpecification, AppSpecificationSchema, AppSpriteSchema, AppStatusSchema, type AppStyleRule, AppStyleRuleSchema, AppTextSchema, type AppTextSize, AppTextSizeSchema, AssetHashSchema, AuthStrategySchema, type Block, BlockSchema, BoardFontSchema, BoardPaletteHexSchema, schema as Bodewell, CLAIMED_DEVICE_TTL_SECONDS, CONTROL_STATES, CONTROL_STATE_MEANINGS, type CaseFamily, CaseFamilySchema, ClockAppConfigSchema, ComponentSchema, type ControlState, DEFAULT_CHAT_MODEL, DEFAULT_DEVICE_CONFIG, DEFAULT_PRO_MODEL, DEFAULT_SCHEMA_MODEL, DEFAULT_THEME_TOKENS, DEVICE_AP_SSID_PREFIX, DEVICE_ENDPOINTS, DEVICE_FEATURES, DEVICE_FEATURE_STATE_LABELS, DEVICE_FRESH_MS, DEVICE_GLYPHS, DEVICE_LABEL_MAX, DEVICE_PALETTE, DEVICE_POLL_QUERY, DEVICE_PROTOCOL, DEVICE_STALE_MS, DEVICE_TIMEZONES, DEVICE_TIMEZONE_FALLBACK, DEVICE_TTL_SECONDS, DEVICE_UNKNOWN_GLYPH, DEVICE_VITALS_FIELDS, DEVICE_VOICE_CLIP, DISPLAY_FACE_MIN_PX, DISPLAY_NAME_MAX, type DeliveredApp, DeliveredAppSchema, type DeviceAppId, DeviceAppIdSchema, DeviceAppsSchema, type DeviceConfig, DeviceConfigSchema, DeviceDisplayConfigSchema, DeviceFeatureKeySchema, type DeviceFeatureState, DeviceFeatureStateSchema, type DeviceFeatures, DeviceFeaturesSchema, type DeviceGlyph, type DeviceId, DeviceIdSchema, type DeviceKind, DeviceKindSchema, type DevicePollReply, DevicePollReplySchema, type DeviceProtocolCall, type DeviceReading, DeviceReadingSchema, type DeviceRecord, DeviceRecordSchema, type DeviceRegistration, DeviceRegistrationSchema, type DeviceReport, DeviceReportSchema, type DeviceSeen, DeviceSeenSchema, type DeviceStatus, DeviceStatusSchema, DeviceThemeSchema, type DeviceTimeZone, type DeviceVitals, DeviceVitalsSchema, type DeviceVoiceReply, DeviceVoiceReplySchema, DisplayNameSchema, EdgeSchema, EmblemSchema, type EntityDefinition, EntitySchema, FIRMWARE_UPDATE_ATTEMPTS, FIRMWARE_UPDATE_PREFIX, FULL_COLOUR_FRAME_MAX, FULL_RENDITION, type FamilyChoice, FamilyChoiceSchema, FamilyOptionSchema, type FieldDefinition, FieldSchema, type FirmwareUpdate, FirmwareUpdateSchema, FlexButtonSchema, type FloraTelemetry, FloraTelemetrySchema, GENESIS_LIBRARY_CONTEXT, GENESIS_VALID_COMPONENTS, type GenesisComponentType, type HardwareManifest, HardwareManifestSchema, ICON_GRID, ICON_SIZE_PX, ICON_STROKE, IMAGE_MAX_DRAWN, IMAGE_MAX_SCALE, INVITE_TTL_SECONDS, InterfaceSchema, type InviteRecord, InviteRecordSchema, MAX_PASSWORD_LENGTH, MIN_PASSWORD_LENGTH, type ManifestComponent, type ManifestEdge, type ManifestEmblem, type ManifestFlexButton, type ManifestInterface, type ManifestMountHoles, type ManifestPlacement, MountHolesSchema, type NewAccessToken, NewAccessTokenSchema, ORIGINAL_MAX_BYTES, ORIGINAL_MAX_SIDE, type OwnedSendRequest, OwnedSendRequestSchema, PANEL_SIZE, PHOTOS_PER_ACCOUNT, PHOTO_UPLOADS_PER_HOUR, PROVIDER_DEFAULT_MODEL, type PageDefinition, PageSchema, type PageSection, PageSectionSchema, type PairCode, PairCodeSchema, type PanelOrientation, PanelOrientationSchema, type PhotoCrop, PhotoCropSchema, PhotoFullSchema, type PhotoSummary, PhotoSummarySchema, type PhotoUpload, PhotoUploadSchema, PlacementSchema, type PrinterProfile, PrinterProfileSchema, type ProviderDefaultModelKey, type ProvisioningState, ProvisioningStateSchema, type PublicAccessToken, PublicAccessTokenSchema, type PublicAccount, PublicAccountSchema, RETRO_RENDITION, type ResourceDefinition, ResourceSchema, SCRYPT_PARAMS, SESSION_COOKIE_NAME, SESSION_TTL_SECONDS, SHELF_MAX_APPS, SHELF_MAX_BYTES, SHELF_ROTATE_MINUTES, SIGNAL_DOMAINS, SIGNAL_KINDS, SIGNAL_KIND_LABELS, SIGNAL_SOURCES, SMOOTH_FACES, SMOOTH_FONT_ADVANCES, SPRITE_MAX_BASE64, SPRITE_MAX_ROW_BYTES, SPRITE_MAX_SIDE, SPR_FORMAT, SPR_MAX_BYTES, type ScryptHash, ScryptHashSchema, type SendRequest, SendRequestSchema, SensorAppConfigSchema, type SessionRecord, SessionRecordSchema, type Shelf, type ShelfEdit, ShelfEditSchema, ShelfSchema, type Signal, type SignalArray, SignalArraySchema, type SignalDefinition, type SignalDomain, type SignalKind, SignalKindSchema, type SignalPacket, SignalPacketSchema, SignalSchema, type SignalSource, SignalSourceSchema, type SmoothFace, THEME_PALETTE_TOKENS, THEME_PRESETS, THEME_RADII, THEME_SYSTEM_PROMPT, type TelemetryGraphParams, type ThemeFonts, ThemeFontsSchema, type ThemeLettering, ThemeLetteringSchema, type ThemeOverrides, ThemeOverridesSchema, type ThemePalette7, ThemePaletteSchema, type ThemePreset, ThemeRgbSchema, type ThemeTokens, ThemeTokensSchema, type ThemeWebFonts, ThemeWebFontsSchema, type ToolCall, type ToolDefinition, TriggerSchema, type User, UserSchema, type VitalSource, VitalSourceSchema, WEATHER_CODES, WEATHER_ICONS, WEATHER_ICON_NAMES, WeatherAppConfigSchema, type WeatherIcon, WebFontFamilySchema, type WorkflowDefinition, WorkflowSchema, telemetryGraphParameters };
|
package/dist/index.d.ts
CHANGED
|
@@ -51262,6 +51262,26 @@ declare const THEME_PALETTE_TOKENS: readonly ["background", "foreground", "muted
|
|
|
51262
51262
|
/** The board's typefaces, in the same words as AppDocument's `font`. */
|
|
51263
51263
|
declare const ThemeLetteringSchema: z.ZodEnum<["inter", "tay", "pixel"]>;
|
|
51264
51264
|
declare const THEME_RADII: readonly ["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"];
|
|
51265
|
+
/**
|
|
51266
|
+
* A Google Fonts family, by name. Letters, digits and spaces are all any
|
|
51267
|
+
* family name uses, and all that may reach the stylesheet URL it loads from.
|
|
51268
|
+
*/
|
|
51269
|
+
declare const WebFontFamilySchema: z.ZodString;
|
|
51270
|
+
/**
|
|
51271
|
+
* The site's typefaces. Web only: a board can draw only the lettering built
|
|
51272
|
+
* into its firmware, so `lettering` still decides what the boards show. Left
|
|
51273
|
+
* out, headings follow the lettering and body text is Roboto.
|
|
51274
|
+
*/
|
|
51275
|
+
declare const ThemeWebFontsSchema: z.ZodObject<{
|
|
51276
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
51277
|
+
body: z.ZodOptional<z.ZodString>;
|
|
51278
|
+
}, "strip", z.ZodTypeAny, {
|
|
51279
|
+
heading?: string | undefined;
|
|
51280
|
+
body?: string | undefined;
|
|
51281
|
+
}, {
|
|
51282
|
+
heading?: string | undefined;
|
|
51283
|
+
body?: string | undefined;
|
|
51284
|
+
}>;
|
|
51265
51285
|
declare const AccountThemeSchema: z.ZodObject<{
|
|
51266
51286
|
name: z.ZodString;
|
|
51267
51287
|
/** The preset it started from, when it started from one. */
|
|
@@ -51324,6 +51344,16 @@ declare const AccountThemeSchema: z.ZodObject<{
|
|
|
51324
51344
|
}>;
|
|
51325
51345
|
lettering: z.ZodEnum<["inter", "tay", "pixel"]>;
|
|
51326
51346
|
radius: z.ZodEnum<["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"]>;
|
|
51347
|
+
fonts: z.ZodOptional<z.ZodObject<{
|
|
51348
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
51349
|
+
body: z.ZodOptional<z.ZodString>;
|
|
51350
|
+
}, "strip", z.ZodTypeAny, {
|
|
51351
|
+
heading?: string | undefined;
|
|
51352
|
+
body?: string | undefined;
|
|
51353
|
+
}, {
|
|
51354
|
+
heading?: string | undefined;
|
|
51355
|
+
body?: string | undefined;
|
|
51356
|
+
}>>;
|
|
51327
51357
|
}, "strip", z.ZodTypeAny, {
|
|
51328
51358
|
name: string;
|
|
51329
51359
|
light: {
|
|
@@ -51347,6 +51377,10 @@ declare const AccountThemeSchema: z.ZodObject<{
|
|
|
51347
51377
|
lettering: "inter" | "pixel" | "tay";
|
|
51348
51378
|
radius: "0rem" | "0.25rem" | "0.5rem" | "0.75rem" | "1rem";
|
|
51349
51379
|
base?: string | undefined;
|
|
51380
|
+
fonts?: {
|
|
51381
|
+
heading?: string | undefined;
|
|
51382
|
+
body?: string | undefined;
|
|
51383
|
+
} | undefined;
|
|
51350
51384
|
}, {
|
|
51351
51385
|
name: string;
|
|
51352
51386
|
light: {
|
|
@@ -51370,9 +51404,14 @@ declare const AccountThemeSchema: z.ZodObject<{
|
|
|
51370
51404
|
lettering: "inter" | "pixel" | "tay";
|
|
51371
51405
|
radius: "0rem" | "0.25rem" | "0.5rem" | "0.75rem" | "1rem";
|
|
51372
51406
|
base?: string | undefined;
|
|
51407
|
+
fonts?: {
|
|
51408
|
+
heading?: string | undefined;
|
|
51409
|
+
body?: string | undefined;
|
|
51410
|
+
} | undefined;
|
|
51373
51411
|
}>;
|
|
51374
51412
|
type ThemePalette7 = z.infer<typeof ThemePaletteSchema>;
|
|
51375
51413
|
type ThemeLettering = z.infer<typeof ThemeLetteringSchema>;
|
|
51414
|
+
type ThemeWebFonts = z.infer<typeof ThemeWebFontsSchema>;
|
|
51376
51415
|
type AccountTheme = z.infer<typeof AccountThemeSchema>;
|
|
51377
51416
|
|
|
51378
51417
|
/**
|
|
@@ -54396,4 +54435,4 @@ type AccessTokenRecord = z.infer<typeof AccessTokenRecordSchema>;
|
|
|
54396
54435
|
type PublicAccessToken = z.infer<typeof PublicAccessTokenSchema>;
|
|
54397
54436
|
type NewAccessToken = z.infer<typeof NewAccessTokenSchema>;
|
|
54398
54437
|
|
|
54399
|
-
export { ACCESS_REQUEST_TTL_SECONDS, ACCESS_TOKEN_LIFETIMES_DAYS, ACCESS_TOKEN_MAX_PER_ACCOUNT, ACCESS_TOKEN_PREFIX, ACCESS_TOKEN_RATE_PER_MINUTE, ACCESS_TOKEN_SCOPES, ACCESS_TOKEN_SCOPE_LABELS, ACCOUNT_TTL_SECONDS, type AIKeyManifest, AIKeyManifestSchema, type AITheme, AIThemeSchema, AI_ROSTER, AI_TOOLS, APP_DOCUMENT_EDIT_PREFIX, APP_DOCUMENT_SYSTEM_PROMPT, ASSISTANT_MODEL, ASSISTANT_PROVIDER, type AccessRequest, type AccessRequestRecord, AccessRequestRecordSchema, AccessRequestSchema, type AccessRequestStatus, AccessRequestStatusSchema, type AccessTokenRecord, AccessTokenRecordSchema, type AccessTokenScope, AccessTokenScopeSchema, type AccountId, AccountIdSchema, type AccountRecord, AccountRecordSchema, type AccountRole, AccountRoleSchema, type AccountStatus, AccountStatusSchema, type AccountTheme, AccountThemeSchema, type ActionDefinition, ActionSchema, type AgentRoleConfig, type AgentRoleKey, AircraftAppConfigSchema, type AppAlign, AppAlignSchema, AppBarSchema, type AppBinding, AppBindingSchema, type AppBlock, AppBlockSchema, type AppColor, AppColorSchema, type AppColorToken, AppColorTokenSchema, type AppCompute, AppComputeSchema, type AppCondition, AppConditionSchema, AppDialSchema, type AppDocument, AppDocumentSchema, type AppGroup, AppGroupSchema, type AppIcon, AppIconSchema, type AppImage, AppImageSchema, type AppLeaf, AppLeafSchema, type AppOperand, AppOperandSchema, AppRgbSchema, type AppScreenSize, AppScreenSizeSchema, AppSignalSchema, type AppSource, AppSourceSchema, AppSparklineSchema, type AppSpecification, AppSpecificationSchema, AppSpriteSchema, AppStatusSchema, type AppStyleRule, AppStyleRuleSchema, AppTextSchema, type AppTextSize, AppTextSizeSchema, AssetHashSchema, AuthStrategySchema, type Block, BlockSchema, BoardFontSchema, BoardPaletteHexSchema, schema as Bodewell, CLAIMED_DEVICE_TTL_SECONDS, CONTROL_STATES, CONTROL_STATE_MEANINGS, type CaseFamily, CaseFamilySchema, ClockAppConfigSchema, ComponentSchema, type ControlState, DEFAULT_CHAT_MODEL, DEFAULT_DEVICE_CONFIG, DEFAULT_PRO_MODEL, DEFAULT_SCHEMA_MODEL, DEFAULT_THEME_TOKENS, DEVICE_AP_SSID_PREFIX, DEVICE_ENDPOINTS, DEVICE_FEATURES, DEVICE_FEATURE_STATE_LABELS, DEVICE_FRESH_MS, DEVICE_GLYPHS, DEVICE_LABEL_MAX, DEVICE_PALETTE, DEVICE_POLL_QUERY, DEVICE_PROTOCOL, DEVICE_STALE_MS, DEVICE_TIMEZONES, DEVICE_TIMEZONE_FALLBACK, DEVICE_TTL_SECONDS, DEVICE_UNKNOWN_GLYPH, DEVICE_VITALS_FIELDS, DEVICE_VOICE_CLIP, DISPLAY_FACE_MIN_PX, DISPLAY_NAME_MAX, type DeliveredApp, DeliveredAppSchema, type DeviceAppId, DeviceAppIdSchema, DeviceAppsSchema, type DeviceConfig, DeviceConfigSchema, DeviceDisplayConfigSchema, DeviceFeatureKeySchema, type DeviceFeatureState, DeviceFeatureStateSchema, type DeviceFeatures, DeviceFeaturesSchema, type DeviceGlyph, type DeviceId, DeviceIdSchema, type DeviceKind, DeviceKindSchema, type DevicePollReply, DevicePollReplySchema, type DeviceProtocolCall, type DeviceReading, DeviceReadingSchema, type DeviceRecord, DeviceRecordSchema, type DeviceRegistration, DeviceRegistrationSchema, type DeviceReport, DeviceReportSchema, type DeviceSeen, DeviceSeenSchema, type DeviceStatus, DeviceStatusSchema, DeviceThemeSchema, type DeviceTimeZone, type DeviceVitals, DeviceVitalsSchema, type DeviceVoiceReply, DeviceVoiceReplySchema, DisplayNameSchema, EdgeSchema, EmblemSchema, type EntityDefinition, EntitySchema, FIRMWARE_UPDATE_ATTEMPTS, FIRMWARE_UPDATE_PREFIX, FULL_COLOUR_FRAME_MAX, FULL_RENDITION, type FamilyChoice, FamilyChoiceSchema, FamilyOptionSchema, type FieldDefinition, FieldSchema, type FirmwareUpdate, FirmwareUpdateSchema, FlexButtonSchema, type FloraTelemetry, FloraTelemetrySchema, GENESIS_LIBRARY_CONTEXT, GENESIS_VALID_COMPONENTS, type GenesisComponentType, type HardwareManifest, HardwareManifestSchema, ICON_GRID, ICON_SIZE_PX, ICON_STROKE, IMAGE_MAX_DRAWN, IMAGE_MAX_SCALE, INVITE_TTL_SECONDS, InterfaceSchema, type InviteRecord, InviteRecordSchema, MAX_PASSWORD_LENGTH, MIN_PASSWORD_LENGTH, type ManifestComponent, type ManifestEdge, type ManifestEmblem, type ManifestFlexButton, type ManifestInterface, type ManifestMountHoles, type ManifestPlacement, MountHolesSchema, type NewAccessToken, NewAccessTokenSchema, ORIGINAL_MAX_BYTES, ORIGINAL_MAX_SIDE, type OwnedSendRequest, OwnedSendRequestSchema, PANEL_SIZE, PHOTOS_PER_ACCOUNT, PHOTO_UPLOADS_PER_HOUR, PROVIDER_DEFAULT_MODEL, type PageDefinition, PageSchema, type PageSection, PageSectionSchema, type PairCode, PairCodeSchema, type PanelOrientation, PanelOrientationSchema, type PhotoCrop, PhotoCropSchema, PhotoFullSchema, type PhotoSummary, PhotoSummarySchema, type PhotoUpload, PhotoUploadSchema, PlacementSchema, type PrinterProfile, PrinterProfileSchema, type ProviderDefaultModelKey, type ProvisioningState, ProvisioningStateSchema, type PublicAccessToken, PublicAccessTokenSchema, type PublicAccount, PublicAccountSchema, RETRO_RENDITION, type ResourceDefinition, ResourceSchema, SCRYPT_PARAMS, SESSION_COOKIE_NAME, SESSION_TTL_SECONDS, SHELF_MAX_APPS, SHELF_MAX_BYTES, SHELF_ROTATE_MINUTES, SIGNAL_DOMAINS, SIGNAL_KINDS, SIGNAL_KIND_LABELS, SIGNAL_SOURCES, SMOOTH_FACES, SMOOTH_FONT_ADVANCES, SPRITE_MAX_BASE64, SPRITE_MAX_ROW_BYTES, SPRITE_MAX_SIDE, SPR_FORMAT, SPR_MAX_BYTES, type ScryptHash, ScryptHashSchema, type SendRequest, SendRequestSchema, SensorAppConfigSchema, type SessionRecord, SessionRecordSchema, type Shelf, type ShelfEdit, ShelfEditSchema, ShelfSchema, type Signal, type SignalArray, SignalArraySchema, type SignalDefinition, type SignalDomain, type SignalKind, SignalKindSchema, type SignalPacket, SignalPacketSchema, SignalSchema, type SignalSource, SignalSourceSchema, type SmoothFace, THEME_PALETTE_TOKENS, THEME_PRESETS, THEME_RADII, THEME_SYSTEM_PROMPT, type TelemetryGraphParams, type ThemeFonts, ThemeFontsSchema, type ThemeLettering, ThemeLetteringSchema, type ThemeOverrides, ThemeOverridesSchema, type ThemePalette7, ThemePaletteSchema, type ThemePreset, ThemeRgbSchema, type ThemeTokens, ThemeTokensSchema, type ToolCall, type ToolDefinition, TriggerSchema, type User, UserSchema, type VitalSource, VitalSourceSchema, WEATHER_CODES, WEATHER_ICONS, WEATHER_ICON_NAMES, WeatherAppConfigSchema, type WeatherIcon, type WorkflowDefinition, WorkflowSchema, telemetryGraphParameters };
|
|
54438
|
+
export { ACCESS_REQUEST_TTL_SECONDS, ACCESS_TOKEN_LIFETIMES_DAYS, ACCESS_TOKEN_MAX_PER_ACCOUNT, ACCESS_TOKEN_PREFIX, ACCESS_TOKEN_RATE_PER_MINUTE, ACCESS_TOKEN_SCOPES, ACCESS_TOKEN_SCOPE_LABELS, ACCOUNT_TTL_SECONDS, type AIKeyManifest, AIKeyManifestSchema, type AITheme, AIThemeSchema, AI_ROSTER, AI_TOOLS, APP_DOCUMENT_EDIT_PREFIX, APP_DOCUMENT_SYSTEM_PROMPT, ASSISTANT_MODEL, ASSISTANT_PROVIDER, type AccessRequest, type AccessRequestRecord, AccessRequestRecordSchema, AccessRequestSchema, type AccessRequestStatus, AccessRequestStatusSchema, type AccessTokenRecord, AccessTokenRecordSchema, type AccessTokenScope, AccessTokenScopeSchema, type AccountId, AccountIdSchema, type AccountRecord, AccountRecordSchema, type AccountRole, AccountRoleSchema, type AccountStatus, AccountStatusSchema, type AccountTheme, AccountThemeSchema, type ActionDefinition, ActionSchema, type AgentRoleConfig, type AgentRoleKey, AircraftAppConfigSchema, type AppAlign, AppAlignSchema, AppBarSchema, type AppBinding, AppBindingSchema, type AppBlock, AppBlockSchema, type AppColor, AppColorSchema, type AppColorToken, AppColorTokenSchema, type AppCompute, AppComputeSchema, type AppCondition, AppConditionSchema, AppDialSchema, type AppDocument, AppDocumentSchema, type AppGroup, AppGroupSchema, type AppIcon, AppIconSchema, type AppImage, AppImageSchema, type AppLeaf, AppLeafSchema, type AppOperand, AppOperandSchema, AppRgbSchema, type AppScreenSize, AppScreenSizeSchema, AppSignalSchema, type AppSource, AppSourceSchema, AppSparklineSchema, type AppSpecification, AppSpecificationSchema, AppSpriteSchema, AppStatusSchema, type AppStyleRule, AppStyleRuleSchema, AppTextSchema, type AppTextSize, AppTextSizeSchema, AssetHashSchema, AuthStrategySchema, type Block, BlockSchema, BoardFontSchema, BoardPaletteHexSchema, schema as Bodewell, CLAIMED_DEVICE_TTL_SECONDS, CONTROL_STATES, CONTROL_STATE_MEANINGS, type CaseFamily, CaseFamilySchema, ClockAppConfigSchema, ComponentSchema, type ControlState, DEFAULT_CHAT_MODEL, DEFAULT_DEVICE_CONFIG, DEFAULT_PRO_MODEL, DEFAULT_SCHEMA_MODEL, DEFAULT_THEME_TOKENS, DEVICE_AP_SSID_PREFIX, DEVICE_ENDPOINTS, DEVICE_FEATURES, DEVICE_FEATURE_STATE_LABELS, DEVICE_FRESH_MS, DEVICE_GLYPHS, DEVICE_LABEL_MAX, DEVICE_PALETTE, DEVICE_POLL_QUERY, DEVICE_PROTOCOL, DEVICE_STALE_MS, DEVICE_TIMEZONES, DEVICE_TIMEZONE_FALLBACK, DEVICE_TTL_SECONDS, DEVICE_UNKNOWN_GLYPH, DEVICE_VITALS_FIELDS, DEVICE_VOICE_CLIP, DISPLAY_FACE_MIN_PX, DISPLAY_NAME_MAX, type DeliveredApp, DeliveredAppSchema, type DeviceAppId, DeviceAppIdSchema, DeviceAppsSchema, type DeviceConfig, DeviceConfigSchema, DeviceDisplayConfigSchema, DeviceFeatureKeySchema, type DeviceFeatureState, DeviceFeatureStateSchema, type DeviceFeatures, DeviceFeaturesSchema, type DeviceGlyph, type DeviceId, DeviceIdSchema, type DeviceKind, DeviceKindSchema, type DevicePollReply, DevicePollReplySchema, type DeviceProtocolCall, type DeviceReading, DeviceReadingSchema, type DeviceRecord, DeviceRecordSchema, type DeviceRegistration, DeviceRegistrationSchema, type DeviceReport, DeviceReportSchema, type DeviceSeen, DeviceSeenSchema, type DeviceStatus, DeviceStatusSchema, DeviceThemeSchema, type DeviceTimeZone, type DeviceVitals, DeviceVitalsSchema, type DeviceVoiceReply, DeviceVoiceReplySchema, DisplayNameSchema, EdgeSchema, EmblemSchema, type EntityDefinition, EntitySchema, FIRMWARE_UPDATE_ATTEMPTS, FIRMWARE_UPDATE_PREFIX, FULL_COLOUR_FRAME_MAX, FULL_RENDITION, type FamilyChoice, FamilyChoiceSchema, FamilyOptionSchema, type FieldDefinition, FieldSchema, type FirmwareUpdate, FirmwareUpdateSchema, FlexButtonSchema, type FloraTelemetry, FloraTelemetrySchema, GENESIS_LIBRARY_CONTEXT, GENESIS_VALID_COMPONENTS, type GenesisComponentType, type HardwareManifest, HardwareManifestSchema, ICON_GRID, ICON_SIZE_PX, ICON_STROKE, IMAGE_MAX_DRAWN, IMAGE_MAX_SCALE, INVITE_TTL_SECONDS, InterfaceSchema, type InviteRecord, InviteRecordSchema, MAX_PASSWORD_LENGTH, MIN_PASSWORD_LENGTH, type ManifestComponent, type ManifestEdge, type ManifestEmblem, type ManifestFlexButton, type ManifestInterface, type ManifestMountHoles, type ManifestPlacement, MountHolesSchema, type NewAccessToken, NewAccessTokenSchema, ORIGINAL_MAX_BYTES, ORIGINAL_MAX_SIDE, type OwnedSendRequest, OwnedSendRequestSchema, PANEL_SIZE, PHOTOS_PER_ACCOUNT, PHOTO_UPLOADS_PER_HOUR, PROVIDER_DEFAULT_MODEL, type PageDefinition, PageSchema, type PageSection, PageSectionSchema, type PairCode, PairCodeSchema, type PanelOrientation, PanelOrientationSchema, type PhotoCrop, PhotoCropSchema, PhotoFullSchema, type PhotoSummary, PhotoSummarySchema, type PhotoUpload, PhotoUploadSchema, PlacementSchema, type PrinterProfile, PrinterProfileSchema, type ProviderDefaultModelKey, type ProvisioningState, ProvisioningStateSchema, type PublicAccessToken, PublicAccessTokenSchema, type PublicAccount, PublicAccountSchema, RETRO_RENDITION, type ResourceDefinition, ResourceSchema, SCRYPT_PARAMS, SESSION_COOKIE_NAME, SESSION_TTL_SECONDS, SHELF_MAX_APPS, SHELF_MAX_BYTES, SHELF_ROTATE_MINUTES, SIGNAL_DOMAINS, SIGNAL_KINDS, SIGNAL_KIND_LABELS, SIGNAL_SOURCES, SMOOTH_FACES, SMOOTH_FONT_ADVANCES, SPRITE_MAX_BASE64, SPRITE_MAX_ROW_BYTES, SPRITE_MAX_SIDE, SPR_FORMAT, SPR_MAX_BYTES, type ScryptHash, ScryptHashSchema, type SendRequest, SendRequestSchema, SensorAppConfigSchema, type SessionRecord, SessionRecordSchema, type Shelf, type ShelfEdit, ShelfEditSchema, ShelfSchema, type Signal, type SignalArray, SignalArraySchema, type SignalDefinition, type SignalDomain, type SignalKind, SignalKindSchema, type SignalPacket, SignalPacketSchema, SignalSchema, type SignalSource, SignalSourceSchema, type SmoothFace, THEME_PALETTE_TOKENS, THEME_PRESETS, THEME_RADII, THEME_SYSTEM_PROMPT, type TelemetryGraphParams, type ThemeFonts, ThemeFontsSchema, type ThemeLettering, ThemeLetteringSchema, type ThemeOverrides, ThemeOverridesSchema, type ThemePalette7, ThemePaletteSchema, type ThemePreset, ThemeRgbSchema, type ThemeTokens, ThemeTokensSchema, type ThemeWebFonts, ThemeWebFontsSchema, type ToolCall, type ToolDefinition, TriggerSchema, type User, UserSchema, type VitalSource, VitalSourceSchema, WEATHER_CODES, WEATHER_ICONS, WEATHER_ICON_NAMES, WeatherAppConfigSchema, type WeatherIcon, WebFontFamilySchema, type WorkflowDefinition, WorkflowSchema, telemetryGraphParameters };
|
package/dist/index.js
CHANGED
|
@@ -1264,6 +1264,11 @@ var THEME_PALETTE_TOKENS = [
|
|
|
1264
1264
|
];
|
|
1265
1265
|
var ThemeLetteringSchema = z11.enum(["inter", "tay", "pixel"]);
|
|
1266
1266
|
var THEME_RADII = ["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"];
|
|
1267
|
+
var WebFontFamilySchema = z11.string().trim().min(1).max(60).regex(/^[A-Za-z0-9 ]+$/);
|
|
1268
|
+
var ThemeWebFontsSchema = z11.object({
|
|
1269
|
+
heading: WebFontFamilySchema.optional(),
|
|
1270
|
+
body: WebFontFamilySchema.optional()
|
|
1271
|
+
});
|
|
1267
1272
|
var AccountThemeSchema = z11.object({
|
|
1268
1273
|
name: z11.string().trim().min(1).max(40),
|
|
1269
1274
|
/** The preset it started from, when it started from one. */
|
|
@@ -1271,7 +1276,8 @@ var AccountThemeSchema = z11.object({
|
|
|
1271
1276
|
light: ThemePaletteSchema,
|
|
1272
1277
|
dark: ThemePaletteSchema,
|
|
1273
1278
|
lettering: ThemeLetteringSchema,
|
|
1274
|
-
radius: z11.enum(THEME_RADII)
|
|
1279
|
+
radius: z11.enum(THEME_RADII),
|
|
1280
|
+
fonts: ThemeWebFontsSchema.optional()
|
|
1275
1281
|
});
|
|
1276
1282
|
|
|
1277
1283
|
// src/apps/protocol.ts
|
|
@@ -2404,6 +2410,7 @@ export {
|
|
|
2404
2410
|
ThemePaletteSchema,
|
|
2405
2411
|
ThemeRgbSchema,
|
|
2406
2412
|
ThemeTokensSchema,
|
|
2413
|
+
ThemeWebFontsSchema,
|
|
2407
2414
|
TriggerSchema,
|
|
2408
2415
|
UserSchema,
|
|
2409
2416
|
VitalSourceSchema,
|
|
@@ -2411,6 +2418,7 @@ export {
|
|
|
2411
2418
|
WEATHER_ICONS,
|
|
2412
2419
|
WEATHER_ICON_NAMES,
|
|
2413
2420
|
WeatherAppConfigSchema,
|
|
2421
|
+
WebFontFamilySchema,
|
|
2414
2422
|
WorkflowSchema,
|
|
2415
2423
|
telemetryGraphParameters
|
|
2416
2424
|
};
|