@owlmeans/wled 0.1.18 → 0.1.19-rc.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/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
16
+ bun add @owlmeans/wled@^0.1.19-rc.0
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
77
+ npx @owlmeans/agent-skills@^0.1.19-rc.0
78
78
  ```
79
79
 
80
80
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 3,
3
3
  "package": "@owlmeans/wled",
4
- "version": "0.1.18",
5
- "generatedAt": "2026-10-28T00:31:34.745Z",
4
+ "version": "0.1.19-rc.0",
5
+ "generatedAt": "2026-10-31T12:13:02.389Z",
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"` in `dependencies`
11
+ **Install:** `"@owlmeans/wled": "^0.1.19-rc.0"` 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/wled",
3
- "version": "0.1.18",
3
+ "version": "0.1.19-rc.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -24,8 +24,8 @@
24
24
  "ajv": "*"
25
25
  },
26
26
  "dependencies": {
27
- "@owlmeans/auth": "^0.1.18",
28
- "@owlmeans/entrypoint": "^0.1.18",
27
+ "@owlmeans/auth": "^0.1.19-rc.0",
28
+ "@owlmeans/entrypoint": "^0.1.19-rc.0",
29
29
  "@owlmeans/route": "^0.1.18"
30
30
  },
31
31
  "devDependencies": {
@@ -1,4 +0,0 @@
1
- import type { JSONSchemaType } from 'ajv';
2
- import type { CompanyInfo } from '../types.js';
3
- export declare const CompanyInfoSchema: JSONSchemaType<CompanyInfo>;
4
- //# sourceMappingURL=company.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
1
- export * from './company.js';
2
- export * from './styles.js';
3
- export * from './provider.js';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
1
- export * from './company.js';
2
- export * from './styles.js';
3
- export * from './provider.js';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
1
- import type { JSONSchemaType } from 'ajv';
2
- import type { ProvideParams } from '../types.js';
3
- export declare const ProvideParamsSchema: JSONSchemaType<ProvideParams>;
4
- //# sourceMappingURL=provider.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,7 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,43 +0,0 @@
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
@@ -1 +0,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;KACtD;IACD,QAAQ,EAAE,CAAC,cAAc,CAAC;IAC1B,oBAAoB,EAAE,KAAK;CAC5B,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAiC;IAC9D,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,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,kBAAkB;KAC3B;IACD,QAAQ,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC5B,oBAAoB,EAAE,KAAK;CAC5B,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const modules: import("@owlmeans/entrypoint").CommonEntrypoint[];
2
- //# sourceMappingURL=modules.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO,mDAKnB,CAAA"}
package/build/modules.js DELETED
@@ -1,8 +0,0 @@
1
- import { filter, entrypoint, params } from '@owlmeans/entrypoint';
2
- import { route, backend } from '@owlmeans/route';
3
- import { WL_PROVIDE, WL_PROVIDE_PATH } from './consts.js';
4
- import { ProvideParamsSchema } from './model/provider.js';
5
- export const modules = [
6
- entrypoint(route(WL_PROVIDE, WL_PROVIDE_PATH, backend()), filter(params(ProvideParamsSchema)))
7
- ];
8
- //# sourceMappingURL=modules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modules.js","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAEzD,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,UAAU,CACR,KAAK,CAAC,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,EAC7C,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CACpC;CACF,CAAA"}