@owlmeans/web-wl 0.1.18-rc.11 → 0.1.18-rc.13
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 +7 -7
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/web-wl/SKILL.md +1 -1
- package/build/entrypoints.d.ts +3 -0
- package/build/entrypoints.d.ts.map +1 -0
- package/build/entrypoints.js +5 -0
- package/build/entrypoints.js.map +1 -0
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/service.d.ts.map +1 -1
- package/build/service.js +1 -1
- package/build/service.js.map +1 -1
- package/package.json +5 -5
- package/src/entrypoints.ts +8 -0
- package/src/index.ts +1 -1
- package/src/service.ts +1 -1
- package/build/modules.d.ts +0 -3
- package/build/modules.d.ts.map +0 -1
- package/build/modules.js +0 -5
- package/build/modules.js.map +0 -1
- package/src/modules.ts +0 -8
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @owlmeans/web-wl
|
|
2
2
|
|
|
3
|
-
Web whitelabel — service factory,
|
|
3
|
+
Web whitelabel — service factory, entrypoint declarations, and React components for managing whitelabel content in browser apps.
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
7
|
- `makeWlService(alias?)` — web-side whitelabel service factory
|
|
8
|
-
- `
|
|
8
|
+
- `entrypoints` — web-side whitelabel entrypoint declarations
|
|
9
9
|
- Components for displaying whitelabel content
|
|
10
10
|
- `DEFAULT_ALIAS` — `'wl-web-serivce'`
|
|
11
11
|
|
|
@@ -17,13 +17,13 @@ bun add @owlmeans/web-wl
|
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
19
19
|
|
|
20
|
-
Register the service and
|
|
20
|
+
Register the service and entrypoint declarations:
|
|
21
21
|
|
|
22
22
|
```typescript
|
|
23
|
-
import { makeWlService,
|
|
23
|
+
import { makeWlService, entrypoints as wlEntrypoints } from '@owlmeans/web-wl'
|
|
24
24
|
|
|
25
25
|
context.registerService(makeWlService())
|
|
26
|
-
const
|
|
26
|
+
const entrypoints = [...baseEntrypoints, ...wlEntrypoints, ...appEntrypoints]
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
Downstream variants (e.g., `@owlmeans/web-wl-manager`) extend this with manager-store helpers like `setupWlManagerStore<C, T>(context)`.
|
|
@@ -34,9 +34,9 @@ Downstream variants (e.g., `@owlmeans/web-wl-manager`) extend this with manager-
|
|
|
34
34
|
|
|
35
35
|
Creates the web whitelabel service. `alias` defaults to `DEFAULT_ALIAS` (`'wl-web-serivce'`).
|
|
36
36
|
|
|
37
|
-
### `
|
|
37
|
+
### `entrypoints`
|
|
38
38
|
|
|
39
|
-
Array of web-side
|
|
39
|
+
Array of web-side entrypoint declarations for whitelabel content.
|
|
40
40
|
|
|
41
41
|
### Components
|
|
42
42
|
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/web-wl",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
4
|
+
"version": "0.1.18-rc.13",
|
|
5
|
+
"generatedAt": "2026-09-01T16:49:00.429Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAKnE,eAAO,MAAM,WAAW,EAAoB,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAErD,OAAO,EAAE,UAAU,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEzE,OAAO,CAAC,aAAa,EAAE,UAAU,CAAC,CAAA;AAElC,MAAM,CAAC,MAAM,WAAW,GAAG,aAA4C,CAAA"}
|
package/build/index.d.ts
CHANGED
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,mBAAmB,YAAY,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,mBAAmB,YAAY,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA"}
|
package/build/index.js
CHANGED
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,aAAa,CAAA;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA"}
|
package/build/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkC,YAAY,EAAE,MAAM,YAAY,CAAA;AAK9E,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkC,YAAY,EAAE,MAAM,YAAY,CAAA;AAK9E,eAAO,MAAM,aAAa,GAAI,QAAO,MAAsB,KAAG,YAqB7D,CAAA"}
|
package/build/service.js
CHANGED
|
@@ -10,7 +10,7 @@ export const makeWlService = (alias = DEFAULT_ALIAS) => {
|
|
|
10
10
|
}
|
|
11
11
|
const context = service.assertCtx();
|
|
12
12
|
const module = context.entrypoint(WL_PROVIDE);
|
|
13
|
-
const
|
|
13
|
+
const wlSet = await module.call({ params: { entity: entityId } });
|
|
14
14
|
return cache[entityId] = wlSet;
|
|
15
15
|
},
|
|
16
16
|
extract: (key, set) => set[key]
|
package/build/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAG3C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAG3C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAgB,aAAa,EAAgB,EAAE;IAC3E,MAAM,KAAK,GAA0C,EAAE,CAAA;IAEvD,MAAM,OAAO,GAAiB,aAAa,CAAe,KAAK,EAAE;QAC/D,IAAI,EAAE,KAAK,EAAC,QAAQ,EAAC,EAAE;YACrB,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC;gBAC5B,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAA;YACxB,CAAC;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,EAAmB,CAAA;YAEpD,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAkC,UAAU,CAAC,CAAA;YAC9E,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAA;YAEjE,OAAO,KAAK,CAAC,QAAQ,CAAC,GAAG,KAA2B,CAAA;QACtD,CAAC;QAED,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;KAChC,CAAC,CAAA;IAEF,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/web-wl",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@owlmeans/client": "^0.1.18-rc.
|
|
25
|
-
"@owlmeans/client-entrypoint": "^0.1.18-rc.
|
|
26
|
-
"@owlmeans/context": "^0.1.18-rc.
|
|
27
|
-
"@owlmeans/wled": "^0.1.18-rc.
|
|
24
|
+
"@owlmeans/client": "^0.1.18-rc.14",
|
|
25
|
+
"@owlmeans/client-entrypoint": "^0.1.18-rc.11",
|
|
26
|
+
"@owlmeans/context": "^0.1.18-rc.7",
|
|
27
|
+
"@owlmeans/wled": "^0.1.18-rc.9"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": "*"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
import { elevate } from '@owlmeans/client-entrypoint'
|
|
3
|
+
import type { ClientEntrypoint } from '@owlmeans/client-entrypoint'
|
|
4
|
+
import { WL_PROVIDE, entrypoints as wlEntrypoints } from '@owlmeans/wled'
|
|
5
|
+
|
|
6
|
+
elevate(wlEntrypoints, WL_PROVIDE)
|
|
7
|
+
|
|
8
|
+
export const entrypoints = wlEntrypoints as ClientEntrypoint<unknown>[]
|
package/src/index.ts
CHANGED
package/src/service.ts
CHANGED
|
@@ -17,7 +17,7 @@ export const makeWlService = (alias: string = DEFAULT_ALIAS): WlWebService => {
|
|
|
17
17
|
const context = service.assertCtx<Config, Context>()
|
|
18
18
|
|
|
19
19
|
const module = context.entrypoint<ClientEntrypoint<ProvidedWLSet>>(WL_PROVIDE)
|
|
20
|
-
const
|
|
20
|
+
const wlSet = await module.call({ params: { entity: entityId } })
|
|
21
21
|
|
|
22
22
|
return cache[entityId] = wlSet as ProvidedWLSet<any>
|
|
23
23
|
},
|
package/build/modules.d.ts
DELETED
package/build/modules.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAKnE,eAAO,MAAM,OAAO,EAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAA"}
|
package/build/modules.js
DELETED
package/build/modules.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modules.js","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAErD,OAAO,EAAE,UAAU,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAEjE,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;AAE9B,MAAM,CAAC,MAAM,OAAO,GAAG,SAAwC,CAAA"}
|
package/src/modules.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { elevate } from '@owlmeans/client-entrypoint'
|
|
3
|
-
import type { ClientEntrypoint } from '@owlmeans/client-entrypoint'
|
|
4
|
-
import { WL_PROVIDE, modules as wlModules } from '@owlmeans/wled'
|
|
5
|
-
|
|
6
|
-
elevate(wlModules, WL_PROVIDE)
|
|
7
|
-
|
|
8
|
-
export const modules = wlModules as ClientEntrypoint<unknown>[]
|