@lssm/lib.feature-flags 1.43.0 → 1.43.2
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/dist/contracts/src/app-config/runtime.d.ts +1 -1
- package/dist/contracts/src/app-config/spec.d.ts +1 -1
- package/dist/contracts/src/client/react/feature-render.d.ts +1 -1
- package/dist/contracts/src/data-views/index.d.ts +3 -3
- package/dist/contracts/src/data-views/registry.d.ts +2 -0
- package/dist/contracts/src/data-views/spec.d.ts +2 -0
- package/dist/contracts/src/data-views/types.d.ts +2 -0
- package/dist/contracts/src/features/index.d.ts +4 -0
- package/dist/contracts/src/features/install.d.ts +6 -0
- package/dist/contracts/src/features/registry.d.ts +2 -0
- package/dist/contracts/src/{features.d.ts → features/types.d.ts} +28 -13
- package/dist/contracts/src/features/types.d.ts.map +1 -0
- package/dist/contracts/src/features/validation.d.ts +2 -0
- package/dist/contracts/src/index.d.ts +4 -3
- package/dist/contracts/src/install.d.ts +1 -1
- package/dist/contracts/src/integrations/openbanking/contracts/accounts.d.ts +1 -1
- package/dist/contracts/src/integrations/openbanking/contracts/balances.d.ts +1 -1
- package/dist/contracts/src/integrations/openbanking/contracts/transactions.d.ts +1 -1
- package/dist/contracts/src/integrations/openbanking/openbanking.feature.d.ts +1 -1
- package/dist/contracts/src/integrations/operations.d.ts +1 -1
- package/dist/contracts/src/knowledge/operations.d.ts +1 -1
- package/dist/contracts/src/llm/exporters.d.ts +2 -2
- package/dist/contracts/src/llm/types.d.ts +1 -1
- package/dist/contracts/src/tests/spec.d.ts.map +1 -1
- package/dist/contracts/src/workflow/runner.d.ts +1 -1
- package/dist/contracts/src/workflow/spec.d.ts +1 -1
- package/dist/feature-flags.feature.d.ts +1 -1
- package/package.json +5 -5
- package/dist/contracts/src/data-views/data-views.d.ts +0 -4
- package/dist/contracts/src/data-views/query-generator.d.ts +0 -1
- package/dist/contracts/src/data-views/runtime.d.ts +0 -1
- package/dist/contracts/src/features.d.ts.map +0 -1
|
@@ -2,7 +2,7 @@ import "../policy/spec.js";
|
|
|
2
2
|
import "../telemetry/spec.js";
|
|
3
3
|
import "../capabilities/index.js";
|
|
4
4
|
import "../experiments/spec.js";
|
|
5
|
-
import "../features.js";
|
|
5
|
+
import "../features/index.js";
|
|
6
6
|
import "../data-views/index.js";
|
|
7
7
|
import "../workflow/spec.js";
|
|
8
8
|
import "../policy/registry.js";
|
|
@@ -2,7 +2,7 @@ import "../ownership.js";
|
|
|
2
2
|
import "../policy/spec.js";
|
|
3
3
|
import "../capabilities/index.js";
|
|
4
4
|
import "../experiments/spec.js";
|
|
5
|
-
import "../features.js";
|
|
5
|
+
import "../features/index.js";
|
|
6
6
|
import "../themes.js";
|
|
7
7
|
import "../integrations/spec.js";
|
|
8
8
|
import "./lifecycle.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
1
|
+
import "./types.js";
|
|
2
|
+
import "./spec.js";
|
|
3
|
+
import "./registry.js";
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { PresentationTarget } from "
|
|
2
|
-
import { OwnerShipMeta } from "
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
5
|
-
import "
|
|
6
|
-
import { ImplementationRef } from "
|
|
7
|
-
import "
|
|
8
|
-
import "./operations/registry.js";
|
|
9
|
-
import "./presentations/index.js";
|
|
10
|
-
import { ExperimentRef } from "./experiments/spec.js";
|
|
1
|
+
import { PresentationTarget } from "../presentations/presentations.js";
|
|
2
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
3
|
+
import { CapabilityRef, CapabilityRequirement } from "../capabilities/capabilities.js";
|
|
4
|
+
import "../capabilities/index.js";
|
|
5
|
+
import { ExperimentRef } from "../experiments/spec.js";
|
|
6
|
+
import { ImplementationRef } from "../operations/operation.js";
|
|
7
|
+
import "../operations/index.js";
|
|
11
8
|
|
|
12
|
-
//#region ../contracts/src/features.d.ts
|
|
9
|
+
//#region ../contracts/src/features/types.d.ts
|
|
13
10
|
/** Minimal metadata to identify and categorize a feature module. */
|
|
14
11
|
type FeatureModuleMeta = OwnerShipMeta;
|
|
15
12
|
interface OpRef {
|
|
16
|
-
/** Operation key (
|
|
13
|
+
/** Operation key (OperationSpec.meta.key). */
|
|
17
14
|
key: string;
|
|
18
15
|
/** Operation version (OperationSpec.meta.version). */
|
|
19
16
|
version: number;
|
|
@@ -30,6 +27,20 @@ interface PresentationRef {
|
|
|
30
27
|
/** Presentation version. */
|
|
31
28
|
version: number;
|
|
32
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Reference to a data view spec.
|
|
32
|
+
*/
|
|
33
|
+
interface DataViewRef {
|
|
34
|
+
key: string;
|
|
35
|
+
version: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Reference to a form spec.
|
|
39
|
+
*/
|
|
40
|
+
interface FormRef {
|
|
41
|
+
key: string;
|
|
42
|
+
version: number;
|
|
43
|
+
}
|
|
33
44
|
/** Group operations/events/presentations into an installable feature. */
|
|
34
45
|
interface FeatureModuleSpec {
|
|
35
46
|
meta: FeatureModuleMeta;
|
|
@@ -65,7 +76,11 @@ interface FeatureModuleSpec {
|
|
|
65
76
|
* Used for tracking and verifying that this feature is correctly implemented.
|
|
66
77
|
*/
|
|
67
78
|
implementations?: ImplementationRef[];
|
|
79
|
+
/** Data views associated with this feature. */
|
|
80
|
+
dataViews?: DataViewRef[];
|
|
81
|
+
/** Forms associated with this feature. */
|
|
82
|
+
forms?: FormRef[];
|
|
68
83
|
}
|
|
69
84
|
//#endregion
|
|
70
85
|
export { EventRef, FeatureModuleMeta, FeatureModuleSpec, OpRef, PresentationRef };
|
|
71
|
-
//# sourceMappingURL=
|
|
86
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../../../contracts/src/features/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;KAOY,iBAAA,GAAoB;UAEf,KAAA;;EAFL,GAAA,EAAA,MAAA;EAEK;EAOA,OAAA,EAAA,MAAQ;AAOzB;AAUiB,UAjBA,QAAA,CAiBW;EAQX;EAMA,GAAA,EAAA,MAAA;EACT;EAEO,OAAA,EAAA,MAAA;;AAIG,UA/BD,eAAA,CA+BC;EAEF;EAGD,GAAA,EAAA,MAAA;EACA;EAGY,OAAA,EAAA,MAAA;;;;;AAqBjB,UAnDO,WAAA,CAmDP;EAAO,GAAA,EAAA,MAAA;;;;;;UA3CA,OAAA;;;;;UAMA,iBAAA;QACT;;eAEO;;WAEJ;;kBAEO;;gBAEF;;;eAGD;eACA;;;;QAGY;UAAa;;;;;;;;;aAQ3B;;;;;;oBAOO;;cAGN;;UAGJ"}
|
|
@@ -8,14 +8,15 @@ import { PolicyRef } from "./policy/spec.js";
|
|
|
8
8
|
import "./telemetry/index.js";
|
|
9
9
|
import { CapabilityKind, CapabilityRef, CapabilityRequirement } from "./capabilities/capabilities.js";
|
|
10
10
|
import "./capabilities/index.js";
|
|
11
|
+
import { ExperimentRef } from "./experiments/spec.js";
|
|
11
12
|
import { ResourceRefDescriptor } from "./resources.js";
|
|
12
13
|
import { TestSpecRef } from "./tests/spec.js";
|
|
13
14
|
import { EmitDecl, EmitDeclInline, EmitDeclRef, ImplementationRef, ImplementationType, OpKind, OperationSpec, OperationSpecMeta, TelemetryTrigger } from "./operations/operation.js";
|
|
14
|
-
import "./operations/index.js";
|
|
15
15
|
import "./install.js";
|
|
16
|
+
import "./operations/index.js";
|
|
17
|
+
import { EventRef, FeatureModuleMeta, FeatureModuleSpec, OpRef, PresentationRef } from "./features/types.js";
|
|
16
18
|
import "./presentations/index.js";
|
|
17
|
-
import
|
|
18
|
-
import { EventRef, FeatureModuleMeta, FeatureModuleSpec, OpRef, PresentationRef } from "./features.js";
|
|
19
|
+
import "./features/index.js";
|
|
19
20
|
import "./data-views/index.js";
|
|
20
21
|
import "./themes.js";
|
|
21
22
|
import "./app-config/spec.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import "../../features.js";
|
|
1
|
+
import "../../features/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../schema/src/index.js";
|
|
2
|
-
import "../operations/index.js";
|
|
3
2
|
import "../operations/registry.js";
|
|
3
|
+
import "../operations/index.js";
|
|
4
4
|
import "../presentations/index.js";
|
|
5
|
-
import "../features.js";
|
|
5
|
+
import "../features/index.js";
|
|
6
6
|
import "../events.js";
|
|
7
7
|
import "./types.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../contracts/src/tests/spec.ts"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"spec.d.ts","names":[],"sources":["../../../../../contracts/src/tests/spec.ts"],"sourcesContent":[],"mappings":";;;;UAgFiB,WAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/lib.feature-flags",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.2",
|
|
4
4
|
"description": "Feature flags and experiments module for ContractSpec applications",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "1.43.
|
|
22
|
-
"@lssm/lib.contracts": "1.43.
|
|
21
|
+
"@lssm/lib.schema": "1.43.1",
|
|
22
|
+
"@lssm/lib.contracts": "1.43.2",
|
|
23
23
|
"zod": "^4.1.13"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@lssm/tool.typescript": "1.43.
|
|
27
|
-
"@lssm/tool.tsdown": "1.43.
|
|
26
|
+
"@lssm/tool.typescript": "1.43.1",
|
|
27
|
+
"@lssm/tool.tsdown": "1.43.1",
|
|
28
28
|
"typescript": "^5.9.3"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features.d.ts","names":[],"sources":["../../../../contracts/src/features.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;KAgBY,iBAAA,GAAoB;UAEf,KAAA;;;;;AAFjB;AAEiB,UAOA,QAAA,CAPK;EAOL;EAOA,GAAA,EAAA,MAAA;EAQA;EACT,OAAA,EAAA,MAAA;;AAIG,UAbM,eAAA,CAaN;EAEO;EAEF,GAAA,EAAA,MAAA;EAGD;EACA,OAAA,EAAA,MAAA;;;AAWF,UAxBI,iBAAA,CAwBJ;EAOO,IAAA,EA9BZ,iBA8BY;EAAiB;eA5BtB;;WAEJ;;kBAEO;;gBAEF;;;eAGD;eACA;;;;QAGY;UAAa;;;;;;;;;aAQ3B;;;;;;oBAOO"}
|