@owlmeans/wled 0.1.18-rc.38 → 0.1.18-rc.39
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/README.md +2 -2
- package/agent-meta/manifest.json +3 -3
- package/agent-meta/skills/wled/SKILL.md +1 -1
- package/build/model/company.d.ts +4 -0
- package/build/model/company.d.ts.map +1 -0
- package/build/model/company.js +15 -0
- package/build/model/company.js.map +1 -0
- package/build/model/index.d.ts +4 -0
- package/build/model/index.d.ts.map +1 -0
- package/build/model/index.js +4 -0
- package/build/model/index.js.map +1 -0
- package/build/model/provider.d.ts +4 -0
- package/build/model/provider.d.ts.map +1 -0
- package/build/model/provider.js +10 -0
- package/build/model/provider.js.map +1 -0
- package/build/model/styles.d.ts +7 -0
- package/build/model/styles.d.ts.map +1 -0
- package/build/model/styles.js +43 -0
- package/build/model/styles.js.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Whitelabel ("wled") core — shared types, models, and entrypoint declarations f
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
bun add @owlmeans/wled@^0.1.18-rc.
|
|
16
|
+
bun add @owlmeans/wled@^0.1.18-rc.39
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
@@ -74,7 +74,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
74
74
|
your project's skill store (`.agents/skills/`):
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
77
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.57
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 3,
|
|
3
3
|
"package": "@owlmeans/wled",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-10-
|
|
4
|
+
"version": "0.1.18-rc.39",
|
|
5
|
+
"generatedAt": "2026-10-20T23:19:58.630Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/wled
|
|
9
9
|
|
|
10
10
|
**Layer:** Core
|
|
11
|
-
**Install:** `"@owlmeans/wled": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/wled": "^0.1.18-rc.39"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
The contract only. It owns no service and reaches no store: it declares the white-label record
|
|
14
14
|
shapes, their schemas, and one entrypoint that the server side answers and the browser side calls.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../src/model/company.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAG9C,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,WAAW,CAYzD,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EntityValueSchema, ResourceValueSchema } from '@owlmeans/auth';
|
|
2
|
+
export const CompanyInfoSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
resource: { ...ResourceValueSchema, minLength: 0, nullable: true },
|
|
6
|
+
entityId: { ...EntityValueSchema },
|
|
7
|
+
fullName: { type: 'string', minLength: 1, maxLength: 128 },
|
|
8
|
+
shortName: { type: 'string', minLength: 0, maxLength: 32 },
|
|
9
|
+
slug: { ...EntityValueSchema, minLength: 0 },
|
|
10
|
+
description: { type: 'string', minLength: 0, maxLength: 512 }
|
|
11
|
+
},
|
|
12
|
+
required: ['entityId', 'fullName', 'shortName', 'slug', 'description'],
|
|
13
|
+
additionalProperties: false,
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=company.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.js","sourceRoot":"","sources":["../../src/model/company.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEvE,MAAM,CAAC,MAAM,iBAAiB,GAAgC;IAC5D,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,GAAG,mBAAmB,EAAE,SAAS,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;QAClE,QAAQ,EAAE,EAAE,GAAG,iBAAiB,EAAE;QAClC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;QAC1D,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;QAC1D,IAAI,EAAE,EAAE,GAAG,iBAAiB,EAAE,SAAS,EAAE,CAAC,EAAE;QAC5C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;KAC9D;IACD,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC;IACtE,oBAAoB,EAAE,KAAK;CAC5B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/model/provider.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAGhD,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,aAAa,CAO7D,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EntityValueSchema } from '@owlmeans/auth';
|
|
2
|
+
export const ProvideParamsSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
entity: { ...EntityValueSchema }
|
|
6
|
+
},
|
|
7
|
+
required: ['entity'],
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/model/provider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAElD,MAAM,CAAC,MAAM,mBAAmB,GAAkC;IAChE,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,MAAM,EAAE,EAAE,GAAG,iBAAiB,EAAE;KACjC;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,oBAAoB,EAAE,KAAK;CAC5B,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { JSONSchemaType } from 'ajv';
|
|
2
|
+
import type { CustomStyles, CustomColors, CustomFont } from '../types.js';
|
|
3
|
+
export declare const CustomFontSchema: JSONSchemaType<CustomFont>;
|
|
4
|
+
export declare const ColorSchema: JSONSchemaType<string>;
|
|
5
|
+
export declare const CustomColorsSchema: JSONSchemaType<CustomColors>;
|
|
6
|
+
export declare const CustomStylesSchema: JSONSchemaType<CustomStyles>;
|
|
7
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/model/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGzE,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,UAAU,CAQvD,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,MAAM,CAK9C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,YAAY,CAc3D,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,YAAY,CAU3D,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EntityValueSchema, ResourceValueSchema } from '@owlmeans/auth';
|
|
2
|
+
export const CustomFontSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
fontFamily: { type: 'string', minLength: 0, maxLength: 128 },
|
|
6
|
+
basicSize: { type: 'number', minimum: 8, nullable: true, }
|
|
7
|
+
},
|
|
8
|
+
required: ['fontFamily'],
|
|
9
|
+
additionalProperties: false,
|
|
10
|
+
};
|
|
11
|
+
export const ColorSchema = {
|
|
12
|
+
type: 'string',
|
|
13
|
+
pattern: '^#(\\d|[a-fA-F]){3,8}$',
|
|
14
|
+
minLength: 4,
|
|
15
|
+
maxLength: 9
|
|
16
|
+
};
|
|
17
|
+
export const CustomColorsSchema = {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: {
|
|
20
|
+
primaryColor: ColorSchema,
|
|
21
|
+
secondaryColor: { ...ColorSchema, nullable: true },
|
|
22
|
+
alertColor: { ...ColorSchema, nullable: true },
|
|
23
|
+
successColor: { ...ColorSchema, nullable: true },
|
|
24
|
+
primaryBackground: { ...ColorSchema, nullable: true },
|
|
25
|
+
secondaryBackground: { ...ColorSchema, nullable: true },
|
|
26
|
+
alertBackground: { ...ColorSchema, nullable: true },
|
|
27
|
+
successBackground: { ...ColorSchema, nullable: true },
|
|
28
|
+
},
|
|
29
|
+
required: ['primaryColor'],
|
|
30
|
+
additionalProperties: false,
|
|
31
|
+
};
|
|
32
|
+
export const CustomStylesSchema = {
|
|
33
|
+
type: 'object',
|
|
34
|
+
properties: {
|
|
35
|
+
resource: { ...ResourceValueSchema, minLength: 0, nullable: true },
|
|
36
|
+
entityId: { ...EntityValueSchema },
|
|
37
|
+
font: CustomFontSchema,
|
|
38
|
+
colors: CustomColorsSchema
|
|
39
|
+
},
|
|
40
|
+
required: ['font', 'colors'],
|
|
41
|
+
additionalProperties: false,
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/model/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEvE,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;QAC5D,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,GAAG;KAC3D;IACD,QAAQ,EAAE,CAAC,YAAY,CAAC;IACxB,oBAAoB,EAAE,KAAK;CAC5B,CAAA;AAED,MAAM,CAAC,MAAM,WAAW,GAA2B;IACjD,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,wB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
"version": "0.1.18-rc.39",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"ajv": "*"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@owlmeans/auth": "^0.1.18-rc.
|
|
28
|
-
"@owlmeans/entrypoint": "^0.1.18-rc.
|
|
29
|
-
"@owlmeans/route": "^0.1.18-rc.
|
|
27
|
+
"@owlmeans/auth": "^0.1.18-rc.42",
|
|
28
|
+
"@owlmeans/entrypoint": "^0.1.18-rc.42",
|
|
29
|
+
"@owlmeans/route": "^0.1.18-rc.36"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@owlmeans/dep-config": "workspace:*",
|