@stina/extension-api 1.0.0 → 1.3.1
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.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/runtime.cjs +10 -2
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +10 -2
- package/dist/runtime.js.map +1 -1
- package/dist/schemas/index.cjs +6 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +12 -1
- package/dist/schemas/index.d.ts +12 -1
- package/dist/schemas/index.js +5 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/{types.tools-CQrbET-n.d.cts → types.tools-C0GqXQlu.d.cts} +39 -1
- package/dist/{types.tools-CQrbET-n.d.ts → types.tools-C0GqXQlu.d.ts} +39 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/runtime.ts +29 -3
- package/src/schemas/components.schema.ts +9 -0
- package/src/schemas/index.ts +2 -0
- package/src/types.components.ts +13 -0
- package/src/types.tools.ts +28 -0
- package/src/types.ts +1 -1
package/dist/schemas/index.d.cts
CHANGED
|
@@ -3521,6 +3521,16 @@ declare const LabelPropsSchema: z.ZodObject<{
|
|
|
3521
3521
|
text: z.ZodString;
|
|
3522
3522
|
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3523
3523
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3524
|
+
declare const ClockPropsSchema: z.ZodObject<{
|
|
3525
|
+
component: z.ZodLiteral<"Clock">;
|
|
3526
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3527
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3528
|
+
component: z.ZodLiteral<"Clock">;
|
|
3529
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3530
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3531
|
+
component: z.ZodLiteral<"Clock">;
|
|
3532
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3533
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3524
3534
|
declare const ParagraphPropsSchema: z.ZodObject<{
|
|
3525
3535
|
component: z.ZodLiteral<"Paragraph">;
|
|
3526
3536
|
text: z.ZodString;
|
|
@@ -5927,6 +5937,7 @@ type ConditionalGroupProps = z.infer<typeof ConditionalGroupPropsSchema>;
|
|
|
5927
5937
|
type FrameVariant = z.infer<typeof FrameVariantSchema>;
|
|
5928
5938
|
type FrameProps = z.infer<typeof FramePropsSchema>;
|
|
5929
5939
|
type ListProps = z.infer<typeof ListPropsSchema>;
|
|
5940
|
+
type ClockProps = z.infer<typeof ClockPropsSchema>;
|
|
5930
5941
|
|
|
5931
5942
|
/**
|
|
5932
5943
|
* Chat Card Schema
|
|
@@ -6018,4 +6029,4 @@ declare function validateChatCard(card: unknown): ChatCardValidation;
|
|
|
6018
6029
|
*/
|
|
6019
6030
|
declare function describeChatCardProfile(): string;
|
|
6020
6031
|
|
|
6021
|
-
export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
|
|
6032
|
+
export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type ClockProps, ClockPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -3521,6 +3521,16 @@ declare const LabelPropsSchema: z.ZodObject<{
|
|
|
3521
3521
|
text: z.ZodString;
|
|
3522
3522
|
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3523
3523
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3524
|
+
declare const ClockPropsSchema: z.ZodObject<{
|
|
3525
|
+
component: z.ZodLiteral<"Clock">;
|
|
3526
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3527
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3528
|
+
component: z.ZodLiteral<"Clock">;
|
|
3529
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3530
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3531
|
+
component: z.ZodLiteral<"Clock">;
|
|
3532
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
3533
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3524
3534
|
declare const ParagraphPropsSchema: z.ZodObject<{
|
|
3525
3535
|
component: z.ZodLiteral<"Paragraph">;
|
|
3526
3536
|
text: z.ZodString;
|
|
@@ -5927,6 +5937,7 @@ type ConditionalGroupProps = z.infer<typeof ConditionalGroupPropsSchema>;
|
|
|
5927
5937
|
type FrameVariant = z.infer<typeof FrameVariantSchema>;
|
|
5928
5938
|
type FrameProps = z.infer<typeof FramePropsSchema>;
|
|
5929
5939
|
type ListProps = z.infer<typeof ListPropsSchema>;
|
|
5940
|
+
type ClockProps = z.infer<typeof ClockPropsSchema>;
|
|
5930
5941
|
|
|
5931
5942
|
/**
|
|
5932
5943
|
* Chat Card Schema
|
|
@@ -6018,4 +6029,4 @@ declare function validateChatCard(card: unknown): ChatCardValidation;
|
|
|
6018
6029
|
*/
|
|
6019
6030
|
declare function describeChatCardProfile(): string;
|
|
6020
6031
|
|
|
6021
|
-
export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
|
|
6032
|
+
export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type ClockProps, ClockPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
|
package/dist/schemas/index.js
CHANGED
|
@@ -190,6 +190,10 @@ var LabelPropsSchema = z2.object({
|
|
|
190
190
|
text: z2.string().describe("Label text"),
|
|
191
191
|
style: ExtensionComponentStyleSchema.optional()
|
|
192
192
|
}).passthrough().describe("Label component");
|
|
193
|
+
var ClockPropsSchema = z2.object({
|
|
194
|
+
component: z2.literal("Clock"),
|
|
195
|
+
style: ExtensionComponentStyleSchema.optional()
|
|
196
|
+
}).passthrough().describe("Clock component: the current date and time where the user is");
|
|
193
197
|
var ParagraphPropsSchema = z2.object({
|
|
194
198
|
component: z2.literal("Paragraph"),
|
|
195
199
|
text: z2.string().describe("Paragraph text"),
|
|
@@ -1109,6 +1113,7 @@ export {
|
|
|
1109
1113
|
ChatCardComponentSchema,
|
|
1110
1114
|
ChatCardSchema,
|
|
1111
1115
|
CheckboxPropsSchema,
|
|
1116
|
+
ClockPropsSchema,
|
|
1112
1117
|
CollapsiblePropsSchema,
|
|
1113
1118
|
CommandDefinitionSchema,
|
|
1114
1119
|
ConditionalGroupPropsSchema,
|