@40rty/ams-sdk 0.4.3 → 0.5.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.js +547 -493
- package/dist/types/ecommerce/src/review-schemas.d.ts +24 -10
- package/dist/types/sdk/src/host/host-modules.d.ts +301 -10
- package/dist/types/sdk/src/shell/conversation/use-conversation-page.d.ts +9 -1
- package/dist/types/spacestation/src/catalog/wire/brand-mark.d.ts +230 -0
- package/dist/types/spacestation/src/catalog/wire/index.d.ts +1 -0
- package/dist/types/spacestation/src/catalog/wire/package-release.d.ts +137 -0
- package/dist/types/spacestation/src/index.d.ts +1 -1
- package/dist/types/spacestation/src/space/workspace-catalog.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* A brand's MARK — the image that names it wherever the platform names the
|
|
4
|
+
* space: the console's space switcher, the locked gate, the browser tab.
|
|
5
|
+
*
|
|
6
|
+
* The brand package declares it and it travels with the package's release, so
|
|
7
|
+
* a published brand needs nothing in the platform's repository. Two slots:
|
|
8
|
+
*
|
|
9
|
+
* - `square` — drawn to be legible at 16–20px (a favicon). The switcher and the
|
|
10
|
+
* tab take it first.
|
|
11
|
+
* - `wordmark` — the wide logo. The gate takes it first.
|
|
12
|
+
*
|
|
13
|
+
* Either may be absent; a slot falls back to the other, and a brand with no
|
|
14
|
+
* mark at all shows the space's initial.
|
|
15
|
+
*/
|
|
16
|
+
export declare const BRAND_MARK_TYPES: readonly ["svg", "png"];
|
|
17
|
+
export type BrandMarkType = (typeof BRAND_MARK_TYPES)[number];
|
|
18
|
+
/** The largest mark file accepted, decoded. A mark is an icon, not a hero image. */
|
|
19
|
+
export declare const BRAND_MARK_MAX_BYTES: number;
|
|
20
|
+
/** A mark file as a publisher SENDS it: the file itself, base64. */
|
|
21
|
+
declare const BrandMarkUploadSchema: z.ZodObject<{
|
|
22
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
23
|
+
data: z.ZodString;
|
|
24
|
+
}, "strict", z.ZodTypeAny, {
|
|
25
|
+
type: "svg" | "png";
|
|
26
|
+
data: string;
|
|
27
|
+
}, {
|
|
28
|
+
type: "svg" | "png";
|
|
29
|
+
data: string;
|
|
30
|
+
}>;
|
|
31
|
+
/**
|
|
32
|
+
* A mark file as the platform STORES it: the address of the uploaded object,
|
|
33
|
+
* named for the hash of its content. Set at ingest, never by a publisher — the
|
|
34
|
+
* bytes leave the release for object storage, as a bundle's do.
|
|
35
|
+
*/
|
|
36
|
+
declare const BrandMarkStoredSchema: z.ZodObject<{
|
|
37
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
38
|
+
sha256: z.ZodString;
|
|
39
|
+
}, "strict", z.ZodTypeAny, {
|
|
40
|
+
type: "svg" | "png";
|
|
41
|
+
sha256: string;
|
|
42
|
+
}, {
|
|
43
|
+
type: "svg" | "png";
|
|
44
|
+
sha256: string;
|
|
45
|
+
}>;
|
|
46
|
+
declare const BrandMarkFileSchema: z.ZodUnion<[z.ZodObject<{
|
|
47
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
48
|
+
data: z.ZodString;
|
|
49
|
+
}, "strict", z.ZodTypeAny, {
|
|
50
|
+
type: "svg" | "png";
|
|
51
|
+
data: string;
|
|
52
|
+
}, {
|
|
53
|
+
type: "svg" | "png";
|
|
54
|
+
data: string;
|
|
55
|
+
}>, z.ZodObject<{
|
|
56
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
57
|
+
sha256: z.ZodString;
|
|
58
|
+
}, "strict", z.ZodTypeAny, {
|
|
59
|
+
type: "svg" | "png";
|
|
60
|
+
sha256: string;
|
|
61
|
+
}, {
|
|
62
|
+
type: "svg" | "png";
|
|
63
|
+
sha256: string;
|
|
64
|
+
}>]>;
|
|
65
|
+
export type BrandMarkFile = z.infer<typeof BrandMarkFileSchema>;
|
|
66
|
+
export type BrandMarkUpload = z.infer<typeof BrandMarkUploadSchema>;
|
|
67
|
+
export type BrandMarkStored = z.infer<typeof BrandMarkStoredSchema>;
|
|
68
|
+
export declare const BRAND_MARK_SLOTS: readonly ["square", "wordmark"];
|
|
69
|
+
export type BrandMarkSlot = (typeof BRAND_MARK_SLOTS)[number];
|
|
70
|
+
/** `PackageRelease.mark`. */
|
|
71
|
+
export declare const BrandMarkSchema: z.ZodEffects<z.ZodObject<{
|
|
72
|
+
square: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
73
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
74
|
+
data: z.ZodString;
|
|
75
|
+
}, "strict", z.ZodTypeAny, {
|
|
76
|
+
type: "svg" | "png";
|
|
77
|
+
data: string;
|
|
78
|
+
}, {
|
|
79
|
+
type: "svg" | "png";
|
|
80
|
+
data: string;
|
|
81
|
+
}>, z.ZodObject<{
|
|
82
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
83
|
+
sha256: z.ZodString;
|
|
84
|
+
}, "strict", z.ZodTypeAny, {
|
|
85
|
+
type: "svg" | "png";
|
|
86
|
+
sha256: string;
|
|
87
|
+
}, {
|
|
88
|
+
type: "svg" | "png";
|
|
89
|
+
sha256: string;
|
|
90
|
+
}>]>>;
|
|
91
|
+
wordmark: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
92
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
93
|
+
data: z.ZodString;
|
|
94
|
+
}, "strict", z.ZodTypeAny, {
|
|
95
|
+
type: "svg" | "png";
|
|
96
|
+
data: string;
|
|
97
|
+
}, {
|
|
98
|
+
type: "svg" | "png";
|
|
99
|
+
data: string;
|
|
100
|
+
}>, z.ZodObject<{
|
|
101
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
102
|
+
sha256: z.ZodString;
|
|
103
|
+
}, "strict", z.ZodTypeAny, {
|
|
104
|
+
type: "svg" | "png";
|
|
105
|
+
sha256: string;
|
|
106
|
+
}, {
|
|
107
|
+
type: "svg" | "png";
|
|
108
|
+
sha256: string;
|
|
109
|
+
}>]>>;
|
|
110
|
+
}, "strict", z.ZodTypeAny, {
|
|
111
|
+
square?: {
|
|
112
|
+
type: "svg" | "png";
|
|
113
|
+
data: string;
|
|
114
|
+
} | {
|
|
115
|
+
type: "svg" | "png";
|
|
116
|
+
sha256: string;
|
|
117
|
+
} | undefined;
|
|
118
|
+
wordmark?: {
|
|
119
|
+
type: "svg" | "png";
|
|
120
|
+
data: string;
|
|
121
|
+
} | {
|
|
122
|
+
type: "svg" | "png";
|
|
123
|
+
sha256: string;
|
|
124
|
+
} | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
square?: {
|
|
127
|
+
type: "svg" | "png";
|
|
128
|
+
data: string;
|
|
129
|
+
} | {
|
|
130
|
+
type: "svg" | "png";
|
|
131
|
+
sha256: string;
|
|
132
|
+
} | undefined;
|
|
133
|
+
wordmark?: {
|
|
134
|
+
type: "svg" | "png";
|
|
135
|
+
data: string;
|
|
136
|
+
} | {
|
|
137
|
+
type: "svg" | "png";
|
|
138
|
+
sha256: string;
|
|
139
|
+
} | undefined;
|
|
140
|
+
}>, {
|
|
141
|
+
square?: {
|
|
142
|
+
type: "svg" | "png";
|
|
143
|
+
data: string;
|
|
144
|
+
} | {
|
|
145
|
+
type: "svg" | "png";
|
|
146
|
+
sha256: string;
|
|
147
|
+
} | undefined;
|
|
148
|
+
wordmark?: {
|
|
149
|
+
type: "svg" | "png";
|
|
150
|
+
data: string;
|
|
151
|
+
} | {
|
|
152
|
+
type: "svg" | "png";
|
|
153
|
+
sha256: string;
|
|
154
|
+
} | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
square?: {
|
|
157
|
+
type: "svg" | "png";
|
|
158
|
+
data: string;
|
|
159
|
+
} | {
|
|
160
|
+
type: "svg" | "png";
|
|
161
|
+
sha256: string;
|
|
162
|
+
} | undefined;
|
|
163
|
+
wordmark?: {
|
|
164
|
+
type: "svg" | "png";
|
|
165
|
+
data: string;
|
|
166
|
+
} | {
|
|
167
|
+
type: "svg" | "png";
|
|
168
|
+
sha256: string;
|
|
169
|
+
} | undefined;
|
|
170
|
+
}>;
|
|
171
|
+
export type BrandMark = z.infer<typeof BrandMarkSchema>;
|
|
172
|
+
/** One mark image, where it is served from. */
|
|
173
|
+
export declare const BrandMarkImageSchema: z.ZodObject<{
|
|
174
|
+
src: z.ZodString;
|
|
175
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
176
|
+
}, "strict", z.ZodTypeAny, {
|
|
177
|
+
type: "svg" | "png";
|
|
178
|
+
src: string;
|
|
179
|
+
}, {
|
|
180
|
+
type: "svg" | "png";
|
|
181
|
+
src: string;
|
|
182
|
+
}>;
|
|
183
|
+
export type BrandMarkImage = z.infer<typeof BrandMarkImageSchema>;
|
|
184
|
+
/**
|
|
185
|
+
* A SPACE's mark as the api answers it — the winning component source's (the
|
|
186
|
+
* last one in `componentSources` that declares any), both slots from that one
|
|
187
|
+
* brand. `null` slots are what the brand did not ship.
|
|
188
|
+
*/
|
|
189
|
+
export declare const SpaceBrandMarkSchema: z.ZodObject<{
|
|
190
|
+
square: z.ZodNullable<z.ZodObject<{
|
|
191
|
+
src: z.ZodString;
|
|
192
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
193
|
+
}, "strict", z.ZodTypeAny, {
|
|
194
|
+
type: "svg" | "png";
|
|
195
|
+
src: string;
|
|
196
|
+
}, {
|
|
197
|
+
type: "svg" | "png";
|
|
198
|
+
src: string;
|
|
199
|
+
}>>;
|
|
200
|
+
wordmark: z.ZodNullable<z.ZodObject<{
|
|
201
|
+
src: z.ZodString;
|
|
202
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
203
|
+
}, "strict", z.ZodTypeAny, {
|
|
204
|
+
type: "svg" | "png";
|
|
205
|
+
src: string;
|
|
206
|
+
}, {
|
|
207
|
+
type: "svg" | "png";
|
|
208
|
+
src: string;
|
|
209
|
+
}>>;
|
|
210
|
+
}, "strict", z.ZodTypeAny, {
|
|
211
|
+
square: {
|
|
212
|
+
type: "svg" | "png";
|
|
213
|
+
src: string;
|
|
214
|
+
} | null;
|
|
215
|
+
wordmark: {
|
|
216
|
+
type: "svg" | "png";
|
|
217
|
+
src: string;
|
|
218
|
+
} | null;
|
|
219
|
+
}, {
|
|
220
|
+
square: {
|
|
221
|
+
type: "svg" | "png";
|
|
222
|
+
src: string;
|
|
223
|
+
} | null;
|
|
224
|
+
wordmark: {
|
|
225
|
+
type: "svg" | "png";
|
|
226
|
+
src: string;
|
|
227
|
+
} | null;
|
|
228
|
+
}>;
|
|
229
|
+
export type SpaceBrandMark = z.infer<typeof SpaceBrandMarkSchema>;
|
|
230
|
+
export {};
|
|
@@ -3,3 +3,4 @@ export { schemaToWire, UnsupportedSchemaError } from './schema-to-wire';
|
|
|
3
3
|
export { schemaFromWire } from './schema-from-wire';
|
|
4
4
|
export { WireCatalogSchema, WireCatalogEntrySchema, catalogToWire, catalogFromWire, type WireCatalog, type WireCatalogEntry, } from './catalog-wire';
|
|
5
5
|
export { PackageReleaseSchema, draftSourceId, isDraftSource, releasePreviewSourceId, parseReleasePreview, type PackageRelease } from './package-release';
|
|
6
|
+
export { BRAND_MARK_TYPES, BRAND_MARK_SLOTS, BRAND_MARK_MAX_BYTES, BrandMarkSchema, BrandMarkImageSchema, SpaceBrandMarkSchema, type BrandMark, type BrandMarkFile, type BrandMarkUpload, type BrandMarkStored, type BrandMarkSlot, type BrandMarkType, type BrandMarkImage, type SpaceBrandMark, } from './brand-mark';
|
|
@@ -141,6 +141,111 @@ export declare const PackageReleaseSchema: z.ZodObject<{
|
|
|
141
141
|
}, {
|
|
142
142
|
themeClass: string;
|
|
143
143
|
}>>;
|
|
144
|
+
/**
|
|
145
|
+
* The brand's mark (`brand-mark.ts`). Sent as the files themselves; the
|
|
146
|
+
* platform stores them content-addressed at ingest and keeps only their
|
|
147
|
+
* addresses here.
|
|
148
|
+
*/
|
|
149
|
+
mark: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
150
|
+
square: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
151
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
152
|
+
data: z.ZodString;
|
|
153
|
+
}, "strict", z.ZodTypeAny, {
|
|
154
|
+
type: "svg" | "png";
|
|
155
|
+
data: string;
|
|
156
|
+
}, {
|
|
157
|
+
type: "svg" | "png";
|
|
158
|
+
data: string;
|
|
159
|
+
}>, z.ZodObject<{
|
|
160
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
161
|
+
sha256: z.ZodString;
|
|
162
|
+
}, "strict", z.ZodTypeAny, {
|
|
163
|
+
type: "svg" | "png";
|
|
164
|
+
sha256: string;
|
|
165
|
+
}, {
|
|
166
|
+
type: "svg" | "png";
|
|
167
|
+
sha256: string;
|
|
168
|
+
}>]>>;
|
|
169
|
+
wordmark: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
170
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
171
|
+
data: z.ZodString;
|
|
172
|
+
}, "strict", z.ZodTypeAny, {
|
|
173
|
+
type: "svg" | "png";
|
|
174
|
+
data: string;
|
|
175
|
+
}, {
|
|
176
|
+
type: "svg" | "png";
|
|
177
|
+
data: string;
|
|
178
|
+
}>, z.ZodObject<{
|
|
179
|
+
type: z.ZodEnum<["svg", "png"]>;
|
|
180
|
+
sha256: z.ZodString;
|
|
181
|
+
}, "strict", z.ZodTypeAny, {
|
|
182
|
+
type: "svg" | "png";
|
|
183
|
+
sha256: string;
|
|
184
|
+
}, {
|
|
185
|
+
type: "svg" | "png";
|
|
186
|
+
sha256: string;
|
|
187
|
+
}>]>>;
|
|
188
|
+
}, "strict", z.ZodTypeAny, {
|
|
189
|
+
square?: {
|
|
190
|
+
type: "svg" | "png";
|
|
191
|
+
data: string;
|
|
192
|
+
} | {
|
|
193
|
+
type: "svg" | "png";
|
|
194
|
+
sha256: string;
|
|
195
|
+
} | undefined;
|
|
196
|
+
wordmark?: {
|
|
197
|
+
type: "svg" | "png";
|
|
198
|
+
data: string;
|
|
199
|
+
} | {
|
|
200
|
+
type: "svg" | "png";
|
|
201
|
+
sha256: string;
|
|
202
|
+
} | undefined;
|
|
203
|
+
}, {
|
|
204
|
+
square?: {
|
|
205
|
+
type: "svg" | "png";
|
|
206
|
+
data: string;
|
|
207
|
+
} | {
|
|
208
|
+
type: "svg" | "png";
|
|
209
|
+
sha256: string;
|
|
210
|
+
} | undefined;
|
|
211
|
+
wordmark?: {
|
|
212
|
+
type: "svg" | "png";
|
|
213
|
+
data: string;
|
|
214
|
+
} | {
|
|
215
|
+
type: "svg" | "png";
|
|
216
|
+
sha256: string;
|
|
217
|
+
} | undefined;
|
|
218
|
+
}>, {
|
|
219
|
+
square?: {
|
|
220
|
+
type: "svg" | "png";
|
|
221
|
+
data: string;
|
|
222
|
+
} | {
|
|
223
|
+
type: "svg" | "png";
|
|
224
|
+
sha256: string;
|
|
225
|
+
} | undefined;
|
|
226
|
+
wordmark?: {
|
|
227
|
+
type: "svg" | "png";
|
|
228
|
+
data: string;
|
|
229
|
+
} | {
|
|
230
|
+
type: "svg" | "png";
|
|
231
|
+
sha256: string;
|
|
232
|
+
} | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
square?: {
|
|
235
|
+
type: "svg" | "png";
|
|
236
|
+
data: string;
|
|
237
|
+
} | {
|
|
238
|
+
type: "svg" | "png";
|
|
239
|
+
sha256: string;
|
|
240
|
+
} | undefined;
|
|
241
|
+
wordmark?: {
|
|
242
|
+
type: "svg" | "png";
|
|
243
|
+
data: string;
|
|
244
|
+
} | {
|
|
245
|
+
type: "svg" | "png";
|
|
246
|
+
sha256: string;
|
|
247
|
+
} | undefined;
|
|
248
|
+
}>>;
|
|
144
249
|
/** The canvas a fresh session opens on, before the visitor has asked anything. */
|
|
145
250
|
seedLayout: z.ZodOptional<z.ZodObject<{
|
|
146
251
|
root: z.ZodString;
|
|
@@ -269,6 +374,22 @@ export declare const PackageReleaseSchema: z.ZodObject<{
|
|
|
269
374
|
theme?: {
|
|
270
375
|
themeClass: string;
|
|
271
376
|
} | undefined;
|
|
377
|
+
mark?: {
|
|
378
|
+
square?: {
|
|
379
|
+
type: "svg" | "png";
|
|
380
|
+
data: string;
|
|
381
|
+
} | {
|
|
382
|
+
type: "svg" | "png";
|
|
383
|
+
sha256: string;
|
|
384
|
+
} | undefined;
|
|
385
|
+
wordmark?: {
|
|
386
|
+
type: "svg" | "png";
|
|
387
|
+
data: string;
|
|
388
|
+
} | {
|
|
389
|
+
type: "svg" | "png";
|
|
390
|
+
sha256: string;
|
|
391
|
+
} | undefined;
|
|
392
|
+
} | undefined;
|
|
272
393
|
seedLayout?: {
|
|
273
394
|
root: string;
|
|
274
395
|
elements: Record<string, {
|
|
@@ -333,6 +454,22 @@ export declare const PackageReleaseSchema: z.ZodObject<{
|
|
|
333
454
|
theme?: {
|
|
334
455
|
themeClass: string;
|
|
335
456
|
} | undefined;
|
|
457
|
+
mark?: {
|
|
458
|
+
square?: {
|
|
459
|
+
type: "svg" | "png";
|
|
460
|
+
data: string;
|
|
461
|
+
} | {
|
|
462
|
+
type: "svg" | "png";
|
|
463
|
+
sha256: string;
|
|
464
|
+
} | undefined;
|
|
465
|
+
wordmark?: {
|
|
466
|
+
type: "svg" | "png";
|
|
467
|
+
data: string;
|
|
468
|
+
} | {
|
|
469
|
+
type: "svg" | "png";
|
|
470
|
+
sha256: string;
|
|
471
|
+
} | undefined;
|
|
472
|
+
} | undefined;
|
|
336
473
|
seedLayout?: {
|
|
337
474
|
root: string;
|
|
338
475
|
elements: Record<string, {
|
|
@@ -31,7 +31,7 @@ export { isElementUnfilled, rendersNothing } from './catalog/element-filled';
|
|
|
31
31
|
export { carriesShapeToken } from './catalog/shape-tokens';
|
|
32
32
|
export { applySinglePatch } from './layout/apply-patch';
|
|
33
33
|
export { derivePropsDoc } from './catalog/derive-props-doc';
|
|
34
|
-
export { WireSchemaSchema, WireCatalogSchema, WireCatalogEntrySchema, schemaToWire, schemaFromWire, catalogToWire, catalogFromWire, UnsupportedSchemaError, PackageReleaseSchema, draftSourceId, isDraftSource, releasePreviewSourceId, parseReleasePreview, type PackageRelease, type WireSchema, type WireCatalog, type WireCatalogEntry, } from './catalog/wire';
|
|
34
|
+
export { WireSchemaSchema, WireCatalogSchema, WireCatalogEntrySchema, schemaToWire, schemaFromWire, catalogToWire, catalogFromWire, UnsupportedSchemaError, PackageReleaseSchema, draftSourceId, isDraftSource, releasePreviewSourceId, parseReleasePreview, BRAND_MARK_TYPES, BRAND_MARK_SLOTS, BRAND_MARK_MAX_BYTES, BrandMarkSchema, BrandMarkImageSchema, SpaceBrandMarkSchema, type BrandMark, type BrandMarkFile, type BrandMarkUpload, type BrandMarkStored, type BrandMarkSlot, type BrandMarkType, type BrandMarkImage, type SpaceBrandMark, type PackageRelease, type WireSchema, type WireCatalog, type WireCatalogEntry, } from './catalog/wire';
|
|
35
35
|
export { LateBoundValueSchema, DirectiveValueSchema, ProjectionDirectiveSchema, ProjectionPreferencesSchema, ProjectionSetPayloadSchema, PROJECTION_SET_SIGNAL, isLateBound, isActiveDirective, projectCollection, type LateBoundValue, type DirectiveValue, type ProjectionDirective, type ProjectionPreferences, type ProjectionSetPayload, type ProjectionAccessors, } from './projection/projection';
|
|
36
36
|
export { VIEW_FOCUS_ELEMENT_SIGNAL, FocusElementPayloadSchema, type FocusElementPayload, } from './focus/focus';
|
|
37
37
|
export { VIEW_EXTEND_SIGNAL, VIEW_EXHAUSTED_SIGNAL, ViewExtendPayloadSchema, CONTINUATION_ENABLED, type ViewExtendPayload, } from './view/continuation';
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import type { ActionDefinition, AskDefinition, FlowSpec } from '../signal/agent-signals';
|
|
20
20
|
import type { Spec } from '../layout/layout';
|
|
21
|
+
import type { BrandMarkImage } from '../catalog/wire/brand-mark';
|
|
21
22
|
/**
|
|
22
23
|
* A workspace-bundled brand's composition identity. Exported BY the brand
|
|
23
24
|
* package (the brand owns its definition); this is only the shared shape so
|
|
@@ -76,6 +77,14 @@ export interface BrandDefinition {
|
|
|
76
77
|
* prose teaches, so the section can never outlive them (the capability gate
|
|
77
78
|
* fails the space, naming the section). Absent when the brand teaches none. */
|
|
78
79
|
promptSections?: BrandPromptSection[];
|
|
80
|
+
/** The brand's mark (`catalog/wire/brand-mark.ts`) — for a brand compiled
|
|
81
|
+
* into the platform, files the platform serves (`/brand/<slug>/…`). A
|
|
82
|
+
* published brand ships the files in its release instead. Absent = the
|
|
83
|
+
* space's initial stands in. */
|
|
84
|
+
mark?: {
|
|
85
|
+
square?: BrandMarkImage;
|
|
86
|
+
wordmark?: BrandMarkImage;
|
|
87
|
+
};
|
|
79
88
|
/** Opaque per-vertical extension blob (§VIII.1) — this universal shape
|
|
80
89
|
* stays vertical-agnostic; a vertical's own code (e.g. the commerce
|
|
81
90
|
* engine) reads its own keys out of this bag and owns their meaning.
|