@owlmeans/wled 0.1.18-rc.7 → 0.1.18-rc.9

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
@@ -1,13 +1,13 @@
1
1
  # @owlmeans/wled
2
2
 
3
- Whitelabel ("wled") core — shared types, models, and module declarations for entity-specific branding/content.
3
+ Whitelabel ("wled") core — shared types, models, and entrypoint declarations for organization-entity-specific branding/content.
4
4
 
5
5
  ## Overview
6
6
 
7
- - `WL_PROVIDE` / `WL_PROVIDE_PATH` — module alias and path for the whitelabel provide endpoint
7
+ - `WL_PROVIDE` / `WL_PROVIDE_PATH` — entrypoint alias and path for the whitelabel provide endpoint
8
8
  - `WL_TYPE_COMPANY_INFO`, `WL_TYPE_STYLES`, `WL_TYPE_MEDIA`, `WL_TYPE_DNS` — whitelabel content type discriminators
9
9
  - Type definitions: `CompanyInfo`, `CustomStyles`, `CustomColors`, `CustomFont`, `CustomMedia`, `CustomBrand`, `ProvideParams`, `ProvidedWL<T>`
10
- - `modules` — array containing the `GET /wl/provide/:entity` declaration
10
+ - `entrypoints` — array containing the `GET /wl/provide/:entity` declaration
11
11
  - AJV models under `model/` (e.g., `ProvideParamsSchema`)
12
12
 
13
13
  ## Installation
@@ -18,10 +18,10 @@ bun add @owlmeans/wled
18
18
 
19
19
  ## Usage
20
20
 
21
- Use the shared module declarations and types when wiring server- and web-side whitelabel features:
21
+ Use the shared entrypoint declarations and types when wiring server- and web-side whitelabel features:
22
22
 
23
23
  ```typescript
24
- import { modules as wlModules } from '@owlmeans/wled'
24
+ import { entrypoints as wlEntrypoints } from '@owlmeans/wled'
25
25
  import type { ProvidedWL, CompanyInfo, CustomStyles } from '@owlmeans/wled'
26
26
  ```
27
27
 
@@ -50,7 +50,7 @@ The actual server handlers live in `@owlmeans/server-wl`; web UI in `@owlmeans/w
50
50
 
51
51
  `CompanyInfo`, `CustomStyles`, `CustomColors`, `CustomFont`, `CustomMedia`, `CustomBrand`, `ProvideParams`, `ProvidedWL<T>` — re-exported at the root entry.
52
52
 
53
- ### `modules`
53
+ ### `entrypoints`
54
54
 
55
55
  Array with one declaration: `GET /wl/provide/:entity` (alias `WL_PROVIDE`), with `params` filter using `ProvideParamsSchema`.
56
56
 
@@ -60,7 +60,7 @@ Submodule exporting AJV schemas (e.g., `ProvideParamsSchema`) and helpers for wh
60
60
 
61
61
  ## Related Packages
62
62
 
63
- - [`@owlmeans/server-wl`](../server-wl) — server-side whitelabel handlers (uses `modules` from here)
63
+ - [`@owlmeans/server-wl`](../server-wl) — server-side whitelabel handlers (uses `entrypoints` from here)
64
64
  - [`@owlmeans/web-wl`](../web-wl) — web UI components for whitelabel content
65
65
  - [`@owlmeans/client-wl`](../client-wl) — client-side whitelabel placeholder
66
66
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/wled",
4
- "version": "0.1.18-rc.7",
5
- "generatedAt": "2026-08-24T21:14:00.131Z",
4
+ "version": "0.1.18-rc.9",
5
+ "generatedAt": "2026-09-01T16:28:56.992Z",
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.7"` in `dependencies`
11
+ **Install:** `"@owlmeans/wled": "^0.1.18-rc.9"` in `dependencies`
12
12
 
13
13
  ## Key Exports
14
14
 
@@ -0,0 +1,2 @@
1
+ export declare const entrypoints: import("@owlmeans/entrypoint").CommonEntrypoint[];
2
+ //# sourceMappingURL=entrypoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,mDAKvB,CAAA"}
@@ -2,7 +2,7 @@ import { filter, entrypoint, params } from '@owlmeans/entrypoint';
2
2
  import { route, backend } from '@owlmeans/route';
3
3
  import { WL_PROVIDE, WL_PROVIDE_PATH } from './consts.js';
4
4
  import { ProvideParamsSchema } from './model/provider.js';
5
- export const modules = [
5
+ export const entrypoints = [
6
6
  entrypoint(route(WL_PROVIDE, WL_PROVIDE_PATH, backend()), filter(params(ProvideParamsSchema)))
7
7
  ];
8
- //# sourceMappingURL=modules.js.map
8
+ //# sourceMappingURL=entrypoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../src/entrypoints.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,WAAW,GAAG;IACzB,UAAU,CACR,KAAK,CAAC,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,EAC7C,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CACpC;CACF,CAAA"}
package/build/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type * from './types.js';
2
2
  export * from './model/index.js';
3
3
  export * from './consts.js';
4
- export * from './modules.js';
4
+ export * from './entrypoints.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,mBAAmB,YAAY,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,mBAAmB,YAAY,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './model/index.js';
2
2
  export * from './consts.js';
3
- export * from './modules.js';
3
+ export * from './entrypoints.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/wled",
3
- "version": "0.1.18-rc.7",
3
+ "version": "0.1.18-rc.9",
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.6",
28
- "@owlmeans/entrypoint": "^0.1.18-rc.7",
29
- "@owlmeans/route": "^0.1.18-rc.6"
27
+ "@owlmeans/auth": "^0.1.18-rc.8",
28
+ "@owlmeans/entrypoint": "^0.1.18-rc.9",
29
+ "@owlmeans/route": "^0.1.18-rc.7"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@owlmeans/dep-config": "workspace:*",
@@ -3,7 +3,7 @@ import { route, backend } from '@owlmeans/route'
3
3
  import { WL_PROVIDE, WL_PROVIDE_PATH } from './consts.js'
4
4
  import { ProvideParamsSchema } from './model/provider.js'
5
5
 
6
- export const modules = [
6
+ export const entrypoints = [
7
7
  entrypoint(
8
8
  route(WL_PROVIDE, WL_PROVIDE_PATH, backend()),
9
9
  filter(params(ProvideParamsSchema))
package/src/index.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  export type * from './types.js'
3
3
  export * from './model/index.js'
4
4
  export * from './consts.js'
5
- export * from './modules.js'
5
+ export * from './entrypoints.js'
@@ -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"}
@@ -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"}