@contractspec/lib.feature-flags 1.48.0 → 1.49.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.
@@ -1,3 +1,4 @@
1
+ import { DataViewRef } from "../features/types.js";
1
2
  import "./types.js";
2
3
  import "./spec.js";
3
4
  import "./registry.js";
@@ -1,2 +1,3 @@
1
1
  import "../experiments/spec.js";
2
+ import { DataViewRef } from "../features/types.js";
2
3
  import "./types.js";
@@ -1,4 +1,4 @@
1
- import { EventRef, FeatureModuleMeta, FeatureModuleSpec, OpRef, PresentationRef } from "./types.js";
1
+ import { DataViewRef, EventRef, FeatureModuleMeta, FeatureModuleSpec, FormRef, OpRef, PresentationRef } from "./types.js";
2
2
  import "./registry.js";
3
3
  import "./install.js";
4
4
  import "./validation.js";
@@ -82,5 +82,5 @@ interface FeatureModuleSpec {
82
82
  forms?: FormRef[];
83
83
  }
84
84
  //#endregion
85
- export { EventRef, FeatureModuleMeta, FeatureModuleSpec, OpRef, PresentationRef };
85
+ export { DataViewRef, EventRef, FeatureModuleMeta, FeatureModuleSpec, FormRef, OpRef, PresentationRef };
86
86
  //# sourceMappingURL=types.d.ts.map
@@ -14,7 +14,7 @@ import { TestSpecRef } from "./tests/spec.js";
14
14
  import { EmitDecl, EmitDeclInline, EmitDeclRef, ImplementationRef, ImplementationType, OpKind, OperationSpec, OperationSpecMeta, TelemetryTrigger } from "./operations/operation.js";
15
15
  import "./install.js";
16
16
  import "./operations/index.js";
17
- import { EventRef, FeatureModuleMeta, FeatureModuleSpec, OpRef, PresentationRef } from "./features/types.js";
17
+ import { DataViewRef, EventRef, FeatureModuleMeta, FeatureModuleSpec, FormRef, OpRef, PresentationRef } from "./features/types.js";
18
18
  import "./presentations/index.js";
19
19
  import "./features/index.js";
20
20
  import "./data-views/index.js";
@@ -48,4 +48,5 @@ import "./workflow/index.js";
48
48
  import "./schema-to-markdown.js";
49
49
  import "./llm/index.js";
50
50
  import "./app-config/validation.js";
51
- import "./examples/index.js";
51
+ import "./examples/index.js";
52
+ import "./serialization/index.js";
@@ -0,0 +1 @@
1
+ import "./serializers.js";
@@ -0,0 +1,7 @@
1
+ import "../../../schema/src/index.js";
2
+ import "../resources.js";
3
+ import "../operations/index.js";
4
+ import "../presentations/index.js";
5
+ import "../data-views/index.js";
6
+ import "../events.js";
7
+ import "../forms/index.js";
@@ -1,5 +1,4 @@
1
1
  import "../../resources.js";
2
2
  import "../../operations/registry.js";
3
3
  import "../../promptRegistry.js";
4
- import "./mcpTypes.js";
5
- import "@modelcontextprotocol/sdk/server/mcp.js";
4
+ import "./mcpTypes.js";
@@ -1,3 +1,4 @@
1
+ import { FormRef } from "../features/types.js";
1
2
  import "./spec.js";
2
3
  import "./validation.js";
3
4
  import "./state.js";
@@ -1,5 +1,6 @@
1
1
  import "../ownership.js";
2
2
  import "../capabilities/index.js";
3
3
  import "../experiments/spec.js";
4
+ import { FormRef } from "../features/types.js";
4
5
  import "../features/index.js";
5
6
  import "../registry.js";
@@ -1 +1 @@
1
- {"version":3,"file":"FieldType.d.ts","names":[],"sources":["../../../../schema/src/FieldType.ts"],"sourcesContent":[],"mappings":";;;;UAGiB,uCAEH,mBACJ,wBAAwB,WAAW;OACtC,CAAA,CAAE,QAAQ;EAJA,UAAA,EAAA,OAAe,GAAA,CAAA,GAAA,GAAA,OAAA,CAAA;;AAGE,KAMtB,YAAA,GAAe,SANO,CAAA,GAAA,EAAA,GAAA,CAAA;;;;;;AAMtB,cAOC,SAPW,CAAG,SAAA,EAAS,YAStB,SATsB,CAAA,SAU1B,iBAV0B,CAUR,SAVQ,EAUG,SAVH,CAAA,CAAA;EAOvB,QAAA,SAAS;EAER,iBAAA,aAAA;EACc,WAAA,CAAA,MAAA,EAIN,eAJM,CAIU,SAJV,EAIqB,SAJrB,CAAA;EAAW;EAID,MAAA,CAAA,CAAA,EAO1B,CAAA,CAAE,OAPwB,CAOhB,SAPgB,CAAA;EAAW;EAA3B,SAAA,CAAA,CAAA,EAYP,iBAZO,CAYW,SAZX,EAYsB,SAZtB,CAAA;EAOA;EAAR,OAAA,CAAA,CAAA,EAAA,OAAA;EAKmB,gBAAA,CAAA,CAAA,EAAA,OAAA,GAAA,CAAA,GAAA,GAAA,OAAA,CAAA;EAAW,aAAA,CAAA,CAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"FieldType.d.ts","names":[],"sources":["../../../../schema/src/FieldType.ts"],"sourcesContent":[],"mappings":";;;;UAGiB,uCAEH,mBACJ,wBAAwB,WAAW;OACtC,CAAA,CAAE,QAAQ;EAJA,UAAA,EAAA,OAAe,GAAA,CAAA,GAAA,GAAA,OAAA,CAAA;;AAGE,KAMtB,YAAA,GAAe,SANO,CAAA,GAAA,EAAA,GAAA,CAAA;;;;;;AAMtB,cAOC,SAPW,CAAA,SAAG,EAAS,YAStB,SATsB,CAAA,SAU1B,iBAV0B,CAUR,SAVQ,EAUG,SAVH,CAAA,CAAA;EAOvB,QAAA,SAAS;EAER,iBAAA,aAAA;EACc,WAAA,CAAA,MAAA,EAIN,eAJM,CAIU,SAJV,EAIqB,SAJrB,CAAA;EAAW;EAID,MAAA,CAAA,CAAA,EAO1B,CAAA,CAAE,OAPwB,CAOhB,SAPgB,CAAA;EAAW;EAA3B,SAAA,CAAA,CAAA,EAYP,iBAZO,CAYW,SAZX,EAYsB,SAZtB,CAAA;EAOA;EAAR,OAAA,CAAA,CAAA,EAAA,OAAA;EAKmB,gBAAA,CAAA,CAAA,EAAA,OAAA,GAAA,CAAA,GAAA,GAAA,OAAA,CAAA;EAAW,aAAA,CAAA,CAAA,EAAA,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.feature-flags",
3
- "version": "1.48.0",
3
+ "version": "1.49.0",
4
4
  "description": "Feature flags and experiments module for ContractSpec applications",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -24,13 +24,13 @@
24
24
  "lint:check": "eslint src"
25
25
  },
26
26
  "dependencies": {
27
- "@contractspec/lib.schema": "1.48.0",
28
- "@contractspec/lib.contracts": "1.48.0",
27
+ "@contractspec/lib.schema": "1.49.0",
28
+ "@contractspec/lib.contracts": "1.49.0",
29
29
  "zod": "^4.3.5"
30
30
  },
31
31
  "devDependencies": {
32
- "@contractspec/tool.typescript": "1.48.0",
33
- "@contractspec/tool.tsdown": "1.48.0",
32
+ "@contractspec/tool.typescript": "1.49.0",
33
+ "@contractspec/tool.tsdown": "1.49.0",
34
34
  "typescript": "^5.9.3"
35
35
  },
36
36
  "exports": {