@stina/extension-api 1.9.0 → 1.17.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 +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/schemas/index.cjs +35 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +391 -1
- package/dist/schemas/index.d.ts +391 -1
- package/dist/schemas/index.js +32 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/{types.tools-DcFBsfRV.d.cts → types.tools-DswDxtun.d.cts} +80 -1
- package/dist/{types.tools-DcFBsfRV.d.ts → types.tools-DswDxtun.d.ts} +80 -1
- package/package.json +1 -1
- package/schema/extension-manifest.schema.json +4 -0
- package/src/index.ts +5 -0
- package/src/schemas/components.schema.ts +39 -0
- package/src/schemas/contributions.schema.ts +8 -0
- package/src/schemas/index.ts +3 -0
- package/src/types.components.ts +57 -0
- package/src/types.contributions.ts +32 -0
- package/src/types.ts +2 -0
package/dist/schemas/index.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
70
70
|
id: z.ZodString;
|
|
71
71
|
title: z.ZodString;
|
|
72
72
|
description: z.ZodOptional<z.ZodString>;
|
|
73
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
73
74
|
view: z.ZodUnion<[z.ZodObject<{
|
|
74
75
|
kind: z.ZodLiteral<"list">;
|
|
75
76
|
listToolId: z.ZodString;
|
|
@@ -294,6 +295,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
294
295
|
}> | undefined;
|
|
295
296
|
};
|
|
296
297
|
description?: string | undefined;
|
|
298
|
+
topic?: string | undefined;
|
|
297
299
|
}, {
|
|
298
300
|
title: string;
|
|
299
301
|
id: string;
|
|
@@ -341,6 +343,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
341
343
|
}> | undefined;
|
|
342
344
|
};
|
|
343
345
|
description?: string | undefined;
|
|
346
|
+
topic?: string | undefined;
|
|
344
347
|
}>, "many">>;
|
|
345
348
|
panels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
349
|
id: z.ZodString;
|
|
@@ -730,6 +733,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
730
733
|
}> | undefined;
|
|
731
734
|
};
|
|
732
735
|
description?: string | undefined;
|
|
736
|
+
topic?: string | undefined;
|
|
733
737
|
}[] | undefined;
|
|
734
738
|
panels?: {
|
|
735
739
|
title: string;
|
|
@@ -863,6 +867,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
863
867
|
}> | undefined;
|
|
864
868
|
};
|
|
865
869
|
description?: string | undefined;
|
|
870
|
+
topic?: string | undefined;
|
|
866
871
|
}[] | undefined;
|
|
867
872
|
panels?: {
|
|
868
873
|
title: string;
|
|
@@ -1015,6 +1020,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
1015
1020
|
}> | undefined;
|
|
1016
1021
|
};
|
|
1017
1022
|
description?: string | undefined;
|
|
1023
|
+
topic?: string | undefined;
|
|
1018
1024
|
}[] | undefined;
|
|
1019
1025
|
panels?: {
|
|
1020
1026
|
title: string;
|
|
@@ -1167,6 +1173,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
1167
1173
|
}> | undefined;
|
|
1168
1174
|
};
|
|
1169
1175
|
description?: string | undefined;
|
|
1176
|
+
topic?: string | undefined;
|
|
1170
1177
|
}[] | undefined;
|
|
1171
1178
|
panels?: {
|
|
1172
1179
|
title: string;
|
|
@@ -1741,6 +1748,7 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
|
|
|
1741
1748
|
id: z.ZodString;
|
|
1742
1749
|
title: z.ZodString;
|
|
1743
1750
|
description: z.ZodOptional<z.ZodString>;
|
|
1751
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
1744
1752
|
view: z.ZodUnion<[z.ZodObject<{
|
|
1745
1753
|
kind: z.ZodLiteral<"list">;
|
|
1746
1754
|
listToolId: z.ZodString;
|
|
@@ -1965,6 +1973,7 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
|
|
|
1965
1973
|
}> | undefined;
|
|
1966
1974
|
};
|
|
1967
1975
|
description?: string | undefined;
|
|
1976
|
+
topic?: string | undefined;
|
|
1968
1977
|
}, {
|
|
1969
1978
|
title: string;
|
|
1970
1979
|
id: string;
|
|
@@ -2012,6 +2021,7 @@ declare const ToolSettingsViewDefinitionSchema: z.ZodObject<{
|
|
|
2012
2021
|
}> | undefined;
|
|
2013
2022
|
};
|
|
2014
2023
|
description?: string | undefined;
|
|
2024
|
+
topic?: string | undefined;
|
|
2015
2025
|
}>;
|
|
2016
2026
|
/**
|
|
2017
2027
|
* Action-based data source for panels
|
|
@@ -2541,6 +2551,7 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
|
|
|
2541
2551
|
id: z.ZodString;
|
|
2542
2552
|
title: z.ZodString;
|
|
2543
2553
|
description: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
2544
2555
|
view: z.ZodUnion<[z.ZodObject<{
|
|
2545
2556
|
kind: z.ZodLiteral<"list">;
|
|
2546
2557
|
listToolId: z.ZodString;
|
|
@@ -2765,6 +2776,7 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
|
|
|
2765
2776
|
}> | undefined;
|
|
2766
2777
|
};
|
|
2767
2778
|
description?: string | undefined;
|
|
2779
|
+
topic?: string | undefined;
|
|
2768
2780
|
}, {
|
|
2769
2781
|
title: string;
|
|
2770
2782
|
id: string;
|
|
@@ -2812,6 +2824,7 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
|
|
|
2812
2824
|
}> | undefined;
|
|
2813
2825
|
};
|
|
2814
2826
|
description?: string | undefined;
|
|
2827
|
+
topic?: string | undefined;
|
|
2815
2828
|
}>, "many">>;
|
|
2816
2829
|
panels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2817
2830
|
id: z.ZodString;
|
|
@@ -3201,6 +3214,7 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
|
|
|
3201
3214
|
}> | undefined;
|
|
3202
3215
|
};
|
|
3203
3216
|
description?: string | undefined;
|
|
3217
|
+
topic?: string | undefined;
|
|
3204
3218
|
}[] | undefined;
|
|
3205
3219
|
panels?: {
|
|
3206
3220
|
title: string;
|
|
@@ -3334,6 +3348,7 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
|
|
|
3334
3348
|
}> | undefined;
|
|
3335
3349
|
};
|
|
3336
3350
|
description?: string | undefined;
|
|
3351
|
+
topic?: string | undefined;
|
|
3337
3352
|
}[] | undefined;
|
|
3338
3353
|
panels?: {
|
|
3339
3354
|
title: string;
|
|
@@ -5986,6 +6001,381 @@ declare const CalendarEventPropsSchema: z.ZodObject<{
|
|
|
5986
6001
|
notes: z.ZodOptional<z.ZodString>;
|
|
5987
6002
|
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>>;
|
|
5988
6003
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6004
|
+
declare const AgendaEventSchema: z.ZodObject<{
|
|
6005
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6006
|
+
title: z.ZodString;
|
|
6007
|
+
start: z.ZodString;
|
|
6008
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6009
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6010
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6011
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6012
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6013
|
+
title: z.ZodString;
|
|
6014
|
+
start: z.ZodString;
|
|
6015
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6016
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6017
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6018
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6019
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6020
|
+
title: z.ZodString;
|
|
6021
|
+
start: z.ZodString;
|
|
6022
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6023
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6024
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6025
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6026
|
+
declare const AgendaDaySchema: z.ZodObject<{
|
|
6027
|
+
label: z.ZodString;
|
|
6028
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6029
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6030
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6031
|
+
title: z.ZodString;
|
|
6032
|
+
start: z.ZodString;
|
|
6033
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6034
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6035
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6036
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6037
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6038
|
+
title: z.ZodString;
|
|
6039
|
+
start: z.ZodString;
|
|
6040
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6041
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6042
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6043
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6044
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6045
|
+
title: z.ZodString;
|
|
6046
|
+
start: z.ZodString;
|
|
6047
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6048
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6049
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6050
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6051
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6052
|
+
label: z.ZodString;
|
|
6053
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6054
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6055
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6056
|
+
title: z.ZodString;
|
|
6057
|
+
start: z.ZodString;
|
|
6058
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6059
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6060
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6061
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6062
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6063
|
+
title: z.ZodString;
|
|
6064
|
+
start: z.ZodString;
|
|
6065
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6066
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6067
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6068
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6069
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6070
|
+
title: z.ZodString;
|
|
6071
|
+
start: z.ZodString;
|
|
6072
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6073
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6074
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6075
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6076
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6077
|
+
label: z.ZodString;
|
|
6078
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6079
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6080
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6081
|
+
title: z.ZodString;
|
|
6082
|
+
start: z.ZodString;
|
|
6083
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6084
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6085
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6086
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6087
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6088
|
+
title: z.ZodString;
|
|
6089
|
+
start: z.ZodString;
|
|
6090
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6091
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6092
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6093
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6094
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6095
|
+
title: z.ZodString;
|
|
6096
|
+
start: z.ZodString;
|
|
6097
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6098
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6099
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6100
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6101
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6102
|
+
declare const AgendaPropsSchema: z.ZodObject<{
|
|
6103
|
+
component: z.ZodLiteral<"Agenda">;
|
|
6104
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6105
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6106
|
+
days: z.ZodArray<z.ZodObject<{
|
|
6107
|
+
label: z.ZodString;
|
|
6108
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6109
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6110
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6111
|
+
title: z.ZodString;
|
|
6112
|
+
start: z.ZodString;
|
|
6113
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6114
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6115
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6116
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6117
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6118
|
+
title: z.ZodString;
|
|
6119
|
+
start: z.ZodString;
|
|
6120
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6121
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6122
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6123
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6124
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6125
|
+
title: z.ZodString;
|
|
6126
|
+
start: z.ZodString;
|
|
6127
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6128
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6129
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6130
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6131
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6132
|
+
label: z.ZodString;
|
|
6133
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6134
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6135
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6136
|
+
title: z.ZodString;
|
|
6137
|
+
start: z.ZodString;
|
|
6138
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6139
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6140
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6141
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6142
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6143
|
+
title: z.ZodString;
|
|
6144
|
+
start: z.ZodString;
|
|
6145
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6146
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6147
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6148
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6149
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6150
|
+
title: z.ZodString;
|
|
6151
|
+
start: z.ZodString;
|
|
6152
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6153
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6154
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6155
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6156
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6157
|
+
label: z.ZodString;
|
|
6158
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6159
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6160
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6161
|
+
title: z.ZodString;
|
|
6162
|
+
start: z.ZodString;
|
|
6163
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6164
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6165
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6166
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6167
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6168
|
+
title: z.ZodString;
|
|
6169
|
+
start: z.ZodString;
|
|
6170
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6171
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6172
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6173
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6174
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6175
|
+
title: z.ZodString;
|
|
6176
|
+
start: z.ZodString;
|
|
6177
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6178
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6179
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6180
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6181
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6182
|
+
warnOverlaps: z.ZodOptional<z.ZodBoolean>;
|
|
6183
|
+
onEventClickAction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6184
|
+
action: z.ZodString;
|
|
6185
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6186
|
+
}, "strip", z.ZodTypeAny, {
|
|
6187
|
+
action: string;
|
|
6188
|
+
params?: Record<string, unknown> | undefined;
|
|
6189
|
+
}, {
|
|
6190
|
+
action: string;
|
|
6191
|
+
params?: Record<string, unknown> | undefined;
|
|
6192
|
+
}>]>>;
|
|
6193
|
+
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>>;
|
|
6194
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6195
|
+
component: z.ZodLiteral<"Agenda">;
|
|
6196
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6197
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6198
|
+
days: z.ZodArray<z.ZodObject<{
|
|
6199
|
+
label: z.ZodString;
|
|
6200
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6201
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6202
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6203
|
+
title: z.ZodString;
|
|
6204
|
+
start: z.ZodString;
|
|
6205
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6206
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6207
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6208
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6209
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6210
|
+
title: z.ZodString;
|
|
6211
|
+
start: z.ZodString;
|
|
6212
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6213
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6214
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6215
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6216
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6217
|
+
title: z.ZodString;
|
|
6218
|
+
start: z.ZodString;
|
|
6219
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6220
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6221
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6222
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6223
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6224
|
+
label: z.ZodString;
|
|
6225
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6226
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6227
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6228
|
+
title: z.ZodString;
|
|
6229
|
+
start: z.ZodString;
|
|
6230
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6231
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6232
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6233
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6234
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6235
|
+
title: z.ZodString;
|
|
6236
|
+
start: z.ZodString;
|
|
6237
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6238
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6239
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6240
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6241
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6242
|
+
title: z.ZodString;
|
|
6243
|
+
start: z.ZodString;
|
|
6244
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6245
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6246
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6247
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6248
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6249
|
+
label: z.ZodString;
|
|
6250
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6251
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6252
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6253
|
+
title: z.ZodString;
|
|
6254
|
+
start: z.ZodString;
|
|
6255
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6256
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6257
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6258
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6259
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6260
|
+
title: z.ZodString;
|
|
6261
|
+
start: z.ZodString;
|
|
6262
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6263
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6264
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6265
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6266
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6267
|
+
title: z.ZodString;
|
|
6268
|
+
start: z.ZodString;
|
|
6269
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6270
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6271
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6272
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6273
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6274
|
+
warnOverlaps: z.ZodOptional<z.ZodBoolean>;
|
|
6275
|
+
onEventClickAction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6276
|
+
action: z.ZodString;
|
|
6277
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6278
|
+
}, "strip", z.ZodTypeAny, {
|
|
6279
|
+
action: string;
|
|
6280
|
+
params?: Record<string, unknown> | undefined;
|
|
6281
|
+
}, {
|
|
6282
|
+
action: string;
|
|
6283
|
+
params?: Record<string, unknown> | undefined;
|
|
6284
|
+
}>]>>;
|
|
6285
|
+
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>>;
|
|
6286
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6287
|
+
component: z.ZodLiteral<"Agenda">;
|
|
6288
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6289
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6290
|
+
days: z.ZodArray<z.ZodObject<{
|
|
6291
|
+
label: z.ZodString;
|
|
6292
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6293
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6294
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6295
|
+
title: z.ZodString;
|
|
6296
|
+
start: z.ZodString;
|
|
6297
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6298
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6299
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6300
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6301
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6302
|
+
title: z.ZodString;
|
|
6303
|
+
start: z.ZodString;
|
|
6304
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6305
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6306
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6307
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6308
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6309
|
+
title: z.ZodString;
|
|
6310
|
+
start: z.ZodString;
|
|
6311
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6312
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6313
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6314
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6315
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6316
|
+
label: z.ZodString;
|
|
6317
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6318
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6319
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6320
|
+
title: z.ZodString;
|
|
6321
|
+
start: z.ZodString;
|
|
6322
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6323
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6324
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6325
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6326
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6327
|
+
title: z.ZodString;
|
|
6328
|
+
start: z.ZodString;
|
|
6329
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6330
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6331
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6332
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6333
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6334
|
+
title: z.ZodString;
|
|
6335
|
+
start: z.ZodString;
|
|
6336
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6337
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6338
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6339
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6340
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6341
|
+
label: z.ZodString;
|
|
6342
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6343
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6344
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6345
|
+
title: z.ZodString;
|
|
6346
|
+
start: z.ZodString;
|
|
6347
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6348
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6349
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6350
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6351
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6352
|
+
title: z.ZodString;
|
|
6353
|
+
start: z.ZodString;
|
|
6354
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6355
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6356
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6357
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6358
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6359
|
+
title: z.ZodString;
|
|
6360
|
+
start: z.ZodString;
|
|
6361
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6362
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6363
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6364
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6365
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6366
|
+
warnOverlaps: z.ZodOptional<z.ZodBoolean>;
|
|
6367
|
+
onEventClickAction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6368
|
+
action: z.ZodString;
|
|
6369
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6370
|
+
}, "strip", z.ZodTypeAny, {
|
|
6371
|
+
action: string;
|
|
6372
|
+
params?: Record<string, unknown> | undefined;
|
|
6373
|
+
}, {
|
|
6374
|
+
action: string;
|
|
6375
|
+
params?: Record<string, unknown> | undefined;
|
|
6376
|
+
}>]>>;
|
|
6377
|
+
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>>;
|
|
6378
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
5989
6379
|
type AllowedCSSProperty = z.infer<typeof AllowedCSSPropertySchema>;
|
|
5990
6380
|
type ExtensionComponentStyle = z.infer<typeof ExtensionComponentStyleSchema>;
|
|
5991
6381
|
type ExtensionComponentData = z.infer<typeof ExtensionComponentDataSchema>;
|
|
@@ -6115,4 +6505,4 @@ declare function validateChatCard(card: unknown): ChatCardValidation;
|
|
|
6115
6505
|
*/
|
|
6116
6506
|
declare function describeChatCardProfile(): string;
|
|
6117
6507
|
|
|
6118
|
-
export { type AccountContribution, AccountContributionSchema, type AccountProvider, AccountProviderSchema, 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, GRAPH_SCOPE_PATTERN, type GridProps, GridPropsSchema, HOST_ACCOUNT_SCOPES, 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 };
|
|
6508
|
+
export { type AccountContribution, AccountContributionSchema, type AccountProvider, AccountProviderSchema, AgendaDaySchema, AgendaEventSchema, AgendaPropsSchema, 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, GRAPH_SCOPE_PATTERN, type GridProps, GridPropsSchema, HOST_ACCOUNT_SCOPES, 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
|
@@ -565,6 +565,30 @@ var CalendarEventPropsSchema = z2.object({
|
|
|
565
565
|
notes: z2.string().optional(),
|
|
566
566
|
style: ExtensionComponentStyleSchema.optional()
|
|
567
567
|
}).passthrough().describe("Single calendar event component");
|
|
568
|
+
var AgendaEventSchema = z2.object({
|
|
569
|
+
id: z2.string().optional().describe("Handed back to onEventClickAction as $event.id"),
|
|
570
|
+
title: z2.string(),
|
|
571
|
+
start: z2.string().describe("ISO 8601 with an offset"),
|
|
572
|
+
end: z2.string().optional().describe("ISO 8601 with an offset"),
|
|
573
|
+
allDay: z2.boolean().optional(),
|
|
574
|
+
detail: z2.string().optional().describe("One quiet line under the title")
|
|
575
|
+
}).passthrough().describe("One agenda event");
|
|
576
|
+
var AgendaDaySchema = z2.object({
|
|
577
|
+
label: z2.string().describe("The day heading"),
|
|
578
|
+
date: z2.string().optional().describe("A quieter line beside the heading"),
|
|
579
|
+
events: z2.array(AgendaEventSchema)
|
|
580
|
+
}).passthrough().describe("One agenda day");
|
|
581
|
+
var AgendaPropsSchema = z2.object({
|
|
582
|
+
component: z2.literal("Agenda"),
|
|
583
|
+
title: z2.string().optional(),
|
|
584
|
+
icon: z2.string().optional().describe("Icon shown to the left of the title"),
|
|
585
|
+
days: z2.array(AgendaDaySchema),
|
|
586
|
+
warnOverlaps: z2.boolean().optional().describe("Word clashes between events"),
|
|
587
|
+
onEventClickAction: ExtensionActionRefSchema.optional().describe(
|
|
588
|
+
"Action to call when an event is clicked, with the event as $event"
|
|
589
|
+
),
|
|
590
|
+
style: ExtensionComponentStyleSchema.optional()
|
|
591
|
+
}).passthrough().describe("Schedule component that tracks the current time");
|
|
568
592
|
|
|
569
593
|
// src/schemas/contributions.schema.ts
|
|
570
594
|
var LocalizedStringSchema = z3.union([z3.string(), z3.record(z3.string())]).describe("String or localized string map");
|
|
@@ -614,6 +638,11 @@ var ToolSettingsViewDefinitionSchema = z3.object({
|
|
|
614
638
|
id: z3.string().describe("Unique view ID within the extension"),
|
|
615
639
|
title: z3.string().describe("Display title"),
|
|
616
640
|
description: z3.string().optional().describe("Help text"),
|
|
641
|
+
// A string rather than the known topics: one this host does not know yet must not stop
|
|
642
|
+
// the extension installing, it only lands on the extension's own page.
|
|
643
|
+
topic: z3.string().optional().describe(
|
|
644
|
+
"What the view is about, which decides where Stina shows it: accounts, notifications, personal or tracking. Without one, or with one Stina does not know, the view is shown on the extension's own page."
|
|
645
|
+
),
|
|
617
646
|
view: ToolSettingsViewSchema.describe("View configuration")
|
|
618
647
|
}).describe("Tool settings view definition");
|
|
619
648
|
var PanelActionDataSourceSchema = z3.object({
|
|
@@ -1135,6 +1164,9 @@ function describeChatCardProfile() {
|
|
|
1135
1164
|
export {
|
|
1136
1165
|
AccountContributionSchema,
|
|
1137
1166
|
AccountProviderSchema,
|
|
1167
|
+
AgendaDaySchema,
|
|
1168
|
+
AgendaEventSchema,
|
|
1169
|
+
AgendaPropsSchema,
|
|
1138
1170
|
AllowedCSSPropertySchema,
|
|
1139
1171
|
AuthorSchema,
|
|
1140
1172
|
ButtonPropsSchema,
|