@feasibleone/blong 1.12.4 → 1.14.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/CHANGELOG.md +14 -0
- package/dist/types.d.ts +10 -4
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/types.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.14.0](https://github.com/feasibleone/blong/compare/blong-v1.13.0...blong-v1.14.0) (2026-03-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* built-in REST-FS server component for remote filesystem over Gateway ([#108](https://github.com/feasibleone/blong/issues/108)) ([352ef2a](https://github.com/feasibleone/blong/commit/352ef2a86a4da1f29eaf931c6057d018918fedaf))
|
|
9
|
+
|
|
10
|
+
## [1.13.0](https://github.com/feasibleone/blong/compare/blong-v1.12.4...blong-v1.13.0) (2026-03-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* implement blong-ui metadata-driven browser UI framework ([#103](https://github.com/feasibleone/blong/issues/103)) ([b793e3a](https://github.com/feasibleone/blong/commit/b793e3ab7404c00608b6663db634bf9d9c4c3753))
|
|
16
|
+
|
|
3
17
|
## [1.12.4](https://github.com/feasibleone/blong/compare/blong-v1.12.3...blong-v1.12.4) (2026-03-24)
|
|
4
18
|
|
|
5
19
|
|
package/dist/types.d.ts
CHANGED
|
@@ -17580,7 +17580,12 @@ export type ServerContext = {
|
|
|
17580
17580
|
mongodb?: MongoClient;
|
|
17581
17581
|
slack?: IncomingWebhook;
|
|
17582
17582
|
};
|
|
17583
|
-
export type BrowserContext = {
|
|
17583
|
+
export type BrowserContext = {
|
|
17584
|
+
/** TanStack Query client instance (injected by the browser platform). */
|
|
17585
|
+
queryClient?: unknown;
|
|
17586
|
+
/** React Router navigate function. */
|
|
17587
|
+
navigate?: (to: string) => void;
|
|
17588
|
+
};
|
|
17584
17589
|
export type AdapterContext = ServerContext & BrowserContext;
|
|
17585
17590
|
export interface ILog {
|
|
17586
17591
|
logger: (level: Level, bindings: object) => ILogger;
|
|
@@ -17658,6 +17663,7 @@ export interface IGateway {
|
|
|
17658
17663
|
name: string;
|
|
17659
17664
|
version: string;
|
|
17660
17665
|
}) => void;
|
|
17666
|
+
registerPlugin: (plugin: unknown, options?: unknown) => void;
|
|
17661
17667
|
start: () => Promise<IGateway>;
|
|
17662
17668
|
stop: () => Promise<IGateway>;
|
|
17663
17669
|
}
|
|
@@ -18118,15 +18124,15 @@ export declare const orchestrator: <T, C = AdapterContext>(definition: IAdapterF
|
|
|
18118
18124
|
export type Kinds = "lib" | "validation" | "api" | "solution" | "server" | "browser" | "adapter" | "orchestrator" | "handler";
|
|
18119
18125
|
export declare const kind: (what: {}) => Kinds | undefined;
|
|
18120
18126
|
declare const _default: {
|
|
18121
|
-
handler: <T = Record<string, unknown>, C =
|
|
18127
|
+
handler: <T = Record<string, unknown>, C = AdapterContext>(definition: Definition<T, C>) => Definition<T, C>;
|
|
18122
18128
|
library: <T = Record<string, unknown>>(definition: Lib<T>) => Lib<T>;
|
|
18123
18129
|
validation: (validation: ValidationDefinition) => ValidationDefinition;
|
|
18124
18130
|
api: (api: ApiDefinition) => ApiDefinition;
|
|
18125
18131
|
realm: <T extends TObject>(definition: SolutionFactory<T>) => SolutionFactory<T>;
|
|
18126
18132
|
server: <T extends TObject>(definition: SolutionFactory<T>) => SolutionFactory<T>;
|
|
18127
18133
|
browser: <T extends TObject>(definition: SolutionFactory<T>) => SolutionFactory<T>;
|
|
18128
|
-
adapter: <T, C =
|
|
18129
|
-
orchestrator: <T, C =
|
|
18134
|
+
adapter: <T, C = AdapterContext>(definition: IAdapterFactory<T, C>) => IAdapterFactory<T, C>;
|
|
18135
|
+
orchestrator: <T, C = AdapterContext>(definition: IAdapterFactory<T, C>) => IAdapterFactory<T, C>;
|
|
18130
18136
|
kind: (what: {}) => Kinds | undefined;
|
|
18131
18137
|
};
|
|
18132
18138
|
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":"AAYA,OAAO,EACH,IAAI,GAWP,MAAM,SAAS,CAAC;AAMjB,OAAO,KAAK,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":"AAYA,OAAO,EACH,IAAI,GAWP,MAAM,SAAS,CAAC;AAMjB,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAulBtC,MAAM,IAAI,GAAW,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAG9C,MAAM,OAAgB,QAAQ;IAC1B,IAAI,CAAQ;IACF,GAAG,CAA8B;IAC3C,YAAmB,GAAiB;QAChC,IAAI,CAAC,IAAI,GAAG,GAAG,EAAE,GAAG,CAAC;IACzB,CAAC;IACS,KAAK,GAAkB,CAAC,GAAG,IAA+B,EAAE,EAAE;QACpE,MAAM,MAAM,GAAG,KAAK,CAAqB,GAAG,IAAI,CAAC,CAAC;QAClD,IAAI,MAAM,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI;YAC5B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAC,CAAC,CAAC;QAChF,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;IACK,KAAK,CAAC,IAAI;QACb,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,KAAK,CAAC,KAAK,CAAC,GAAG,MAAiB;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,CACnB,UAA4B,EACZ,EAAE,CAAC,MAAM,CAAC,c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ext = {
|
|
|
61
61
|
// vault?: client;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
export type BrowserContext = {
|
|
64
|
+
export type BrowserContext = {
|
|
65
|
+
/** TanStack Query client instance (injected by the browser platform). */
|
|
66
|
+
queryClient?: unknown;
|
|
67
|
+
/** React Router navigate function. */
|
|
68
|
+
navigate?: (to: string) => void;
|
|
69
|
+
};
|
|
65
70
|
|
|
66
71
|
export type AdapterContext = ServerContext & BrowserContext;
|
|
67
72
|
|
|
@@ -145,6 +150,7 @@ export interface IGateway {
|
|
|
145
150
|
validations: Record<string, GatewaySchema>,
|
|
146
151
|
pkg: {name: string; version: string},
|
|
147
152
|
) => void;
|
|
153
|
+
registerPlugin: (plugin: unknown, options?: unknown) => void;
|
|
148
154
|
start: () => Promise<IGateway>;
|
|
149
155
|
stop: () => Promise<IGateway>;
|
|
150
156
|
}
|