@seriousgaming/sdk-tools 1.1.0 → 1.2.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/cli.js +200 -14
- package/dist/client.js +199 -13
- package/dist/dev/brands.d.ts +20 -3
- package/dist/dev/console/assets/{index-qxHcu9fJ.js → index-BNLEVOQA.js} +9 -9
- package/dist/dev/console/index.html +1 -1
- package/dist/docs/api/index.md +1 -1
- package/dist/docs/api/sdk-ui-testing.md +1 -1
- package/dist/docs/api/sdk-ui.md +21 -2
- package/dist/docs/changelog.md +25 -0
- package/dist/docs/guides/guide.md +35 -4
- package/dist/docs/guides/production-constraints.md +1 -1
- package/dist/docs/guides/session.md +3 -1
- package/dist/docs/guides/theming-and-branding.md +18 -4
- package/dist/docs/guides/upgrading.md +8 -0
- package/dist/docs/recipes/create-guide.md +2 -2
- package/dist/docs/recipes/make-a-guide-follow-the-scenario.md +9 -9
- package/dist/guide/settings.d.ts +7 -0
- package/dist/guide/video-registry.d.ts +33 -1
- package/dist/host/index.d.ts +4 -2
- package/dist/host.js +131 -0
- package/dist/runtime/manifest-version.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/dist/templates/package/CLAUDE.md.template +1 -1
- package/dist/templates/package/claude/rules/workflow-create-guide.md +8 -2
- package/dist/validation/facilitator-guide-validator.d.ts +5 -1
- package/dist/validation/schema-validation.d.ts +12 -4
- package/package.json +3 -3
package/dist/dev/brands.d.ts
CHANGED
|
@@ -73,8 +73,21 @@ export declare const BRAND_FILE_SCHEMA: {
|
|
|
73
73
|
readonly additionalProperties: false;
|
|
74
74
|
};
|
|
75
75
|
readonly icon: {
|
|
76
|
-
readonly
|
|
77
|
-
|
|
76
|
+
readonly oneOf: readonly [{
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
readonly minLength: 1;
|
|
79
|
+
}, {
|
|
80
|
+
readonly type: "object";
|
|
81
|
+
readonly properties: {
|
|
82
|
+
readonly onLight: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
};
|
|
85
|
+
readonly onDark: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly additionalProperties: false;
|
|
90
|
+
}];
|
|
78
91
|
};
|
|
79
92
|
readonly fonts: {
|
|
80
93
|
readonly type: "object";
|
|
@@ -171,7 +184,11 @@ export interface BrandFile {
|
|
|
171
184
|
onLight?: string;
|
|
172
185
|
onDark?: string;
|
|
173
186
|
};
|
|
174
|
-
|
|
187
|
+
/** One file for both backgrounds, or one for each. */
|
|
188
|
+
icon?: string | {
|
|
189
|
+
onLight?: string;
|
|
190
|
+
onDark?: string;
|
|
191
|
+
};
|
|
175
192
|
fonts?: {
|
|
176
193
|
heading?: BrandFont;
|
|
177
194
|
body?: BrandFont;
|