@contractspec/lib.feature-flags 1.52.0 → 1.53.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/dist/contracts/src/app-config/runtime.d.ts +1 -1
- package/dist/contracts/src/app-config/spec.d.ts +2 -2
- package/dist/contracts/src/capabilities/guards.d.ts +1 -1
- package/dist/contracts/src/capabilities/validation.d.ts +1 -1
- package/dist/contracts/src/data-views/index.d.ts +2 -2
- package/dist/contracts/src/data-views/registry.d.ts +2 -2
- package/dist/contracts/src/data-views/report/contractVerificationTable.d.ts +1 -0
- package/dist/contracts/src/data-views/spec.d.ts +2 -2
- package/dist/contracts/src/data-views/types.d.ts +2 -2
- package/dist/contracts/src/docs/capabilities/documentationSystem.capability.d.ts +1 -0
- package/dist/contracts/src/docs/capabilities/index.d.ts +1 -0
- package/dist/contracts/src/docs/commands/docsGenerate.command.d.ts +2 -0
- package/dist/contracts/src/docs/commands/docsPublish.command.d.ts +2 -0
- package/dist/contracts/src/docs/commands/index.d.ts +2 -0
- package/dist/contracts/src/docs/contracts.d.ts +7 -0
- package/dist/contracts/src/docs/events/docsGenerated.event.d.ts +2 -0
- package/dist/contracts/src/docs/events/docsPublished.event.d.ts +2 -0
- package/dist/contracts/src/docs/events/index.d.ts +2 -0
- package/dist/contracts/src/docs/forms/docsSearch.form.d.ts +2 -0
- package/dist/contracts/src/docs/forms/index.d.ts +1 -0
- package/dist/contracts/src/docs/index.d.ts +8 -0
- package/dist/contracts/src/docs/presentations/docsLayout.presentation.d.ts +1 -0
- package/dist/contracts/src/docs/presentations/docsReferencePage.presentation.d.ts +1 -0
- package/dist/contracts/src/docs/presentations/index.d.ts +2 -0
- package/dist/contracts/src/docs/queries/contractReference.query.d.ts +2 -0
- package/dist/contracts/src/docs/queries/docsIndex.query.d.ts +2 -0
- package/dist/contracts/src/docs/queries/index.d.ts +2 -0
- package/dist/contracts/src/docs/views/contractReference.dataView.d.ts +1 -0
- package/dist/contracts/src/docs/views/docsIndex.dataView.d.ts +1 -0
- package/dist/contracts/src/docs/views/exampleCatalog.dataView.d.ts +1 -0
- package/dist/contracts/src/docs/views/index.d.ts +3 -0
- package/dist/contracts/src/events.d.ts +1 -1
- package/dist/contracts/src/examples/types.d.ts +2 -2
- package/dist/contracts/src/experiments/spec.d.ts +2 -2
- package/dist/contracts/src/features/install.d.ts +2 -2
- package/dist/contracts/src/features/types.d.ts +3 -3
- package/dist/contracts/src/forms/forms.d.ts +2 -2
- package/dist/contracts/src/index.d.ts +12 -12
- package/dist/contracts/src/install.d.ts +1 -1
- package/dist/contracts/src/integrations/spec.d.ts +2 -2
- package/dist/contracts/src/jsonschema.d.ts +1 -1
- package/dist/contracts/src/knowledge/spec.d.ts +2 -2
- package/dist/contracts/src/llm/exporters.d.ts +2 -2
- package/dist/contracts/src/operations/index.d.ts +1 -0
- package/dist/contracts/src/operations/operation.d.ts +3 -3
- package/dist/contracts/src/operations/registry.d.ts +2 -2
- package/dist/contracts/src/operations/report/getContractVerificationStatus.d.ts +3 -0
- package/dist/contracts/src/operations/report/index.d.ts +4 -0
- package/dist/contracts/src/policy/validation.d.ts +2 -2
- package/dist/contracts/src/presentations/registry.d.ts +2 -2
- package/dist/contracts/src/registry.d.ts +2 -2
- package/dist/contracts/src/serialization/serializers.d.ts +3 -3
- package/dist/contracts/src/server/rest-elysia.d.ts +1 -1
- package/dist/contracts/src/server/rest-express.d.ts +1 -1
- package/dist/contracts/src/server/rest-generic.d.ts +2 -2
- package/dist/contracts/src/server/rest-next-app.d.ts +1 -1
- package/dist/contracts/src/server/rest-next-pages.d.ts +1 -1
- package/dist/contracts/src/telemetry/spec.d.ts +2 -2
- package/dist/contracts/src/telemetry/tracker.d.ts +2 -1
- package/dist/contracts/src/themes.d.ts +2 -2
- package/dist/contracts/src/workflow/spec.d.ts +2 -2
- package/dist/contracts/src/workflow/validation.d.ts +3 -3
- package/dist/feature-flags.capability.js +1 -1
- package/dist/feature-flags.capability.js.map +1 -1
- package/dist/feature-flags.feature.js +1 -1
- package/dist/feature-flags.feature.js.map +1 -1
- package/dist/schema/src/FieldType.d.ts.map +1 -1
- package/dist/schema/src/SchemaModel.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -2,8 +2,8 @@ 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/index.js";
|
|
6
5
|
import "../data-views/index.js";
|
|
6
|
+
import "../features/index.js";
|
|
7
7
|
import "../workflow/spec.js";
|
|
8
8
|
import "../policy/registry.js";
|
|
9
9
|
import "../themes.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../ownership.js";
|
|
2
1
|
import "../policy/spec.js";
|
|
2
|
+
import "../registry.js";
|
|
3
3
|
import "../capabilities/index.js";
|
|
4
4
|
import "../experiments/spec.js";
|
|
5
5
|
import "../features/index.js";
|
|
6
6
|
import "../themes.js";
|
|
7
7
|
import "../integrations/spec.js";
|
|
8
8
|
import "./lifecycle.js";
|
|
9
|
-
import "../
|
|
9
|
+
import "../ownership.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "../registry.js";
|
|
2
|
+
import "./spec.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../index.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../experiments/spec.js";
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
2
|
+
import "./types.js";
|
|
3
|
+
import { DataViewRef } from "../features/types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
1
|
+
import "../features/index.js";
|
|
2
|
+
import "../ownership.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./documentationSystem.capability.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./docsSearch.form.js";
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
import "./commands/index.js";
|
|
2
|
+
import "./queries/index.js";
|
|
3
|
+
import "./events/index.js";
|
|
4
|
+
import "./capabilities/index.js";
|
|
5
|
+
import "./contracts.js";
|
|
1
6
|
import "./presentations.js";
|
|
7
|
+
import "./presentations/index.js";
|
|
8
|
+
import "./forms/index.js";
|
|
9
|
+
import "./views/index.js";
|
|
2
10
|
import { DocId } from "./registry.js";
|
|
3
11
|
import "./accessibility_wcag_compliance_specs.docblock.js";
|
|
4
12
|
import "./tech/lifecycle-stage-system.docblock.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../index.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AnySchemaModel } from "../../schema/src/SchemaModel.js";
|
|
2
2
|
import "../../schema/src/index.js";
|
|
3
3
|
import { CapabilityRef } from "./capabilities/capabilities.js";
|
|
4
|
+
import "./registry.js";
|
|
4
5
|
import { DocId } from "./docs/registry.js";
|
|
5
6
|
import { OwnerShipMeta } from "./ownership.js";
|
|
6
|
-
import "./registry.js";
|
|
7
7
|
|
|
8
8
|
//#region ../contracts/src/events.d.ts
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OptionalVersionedSpecRef } from "../versioning/refs.js";
|
|
2
|
-
import "../ownership.js";
|
|
3
2
|
import "../policy/spec.js";
|
|
4
|
-
import "../telemetry/spec.js";
|
|
5
3
|
import "../registry.js";
|
|
4
|
+
import "../telemetry/spec.js";
|
|
5
|
+
import "../ownership.js";
|
|
6
6
|
|
|
7
7
|
//#region ../contracts/src/experiments/spec.d.ts
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../presentations/presentations.js";
|
|
2
|
-
import "../operations/registry.js";
|
|
3
2
|
import "../presentations/index.js";
|
|
4
3
|
import "../capabilities/index.js";
|
|
5
4
|
import "./types.js";
|
|
6
|
-
import "./registry.js";
|
|
5
|
+
import "./registry.js";
|
|
6
|
+
import "../operations/registry.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VersionedSpecRef } from "../versioning/refs.js";
|
|
2
2
|
import { CapabilityRef, CapabilityRequirement } from "../capabilities/capabilities.js";
|
|
3
|
-
import { PresentationTarget } from "../presentations/presentations.js";
|
|
4
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
5
3
|
import { ImplementationRef } from "../operations/operation.js";
|
|
6
|
-
import "../
|
|
4
|
+
import { PresentationTarget } from "../presentations/presentations.js";
|
|
7
5
|
import "../capabilities/index.js";
|
|
8
6
|
import { ExperimentRef } from "../experiments/spec.js";
|
|
7
|
+
import "../operations/index.js";
|
|
8
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
9
9
|
|
|
10
10
|
//#region ../contracts/src/features/types.d.ts
|
|
11
11
|
/** Minimal metadata to identify and categorize a feature module. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../../schema/src/index.js";
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
2
|
+
import "../registry-utils.js";
|
|
3
|
+
import "../ownership.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import "../../schema/src/index.js";
|
|
2
|
+
import { ResourceRefDescriptor } from "./resources.js";
|
|
2
3
|
import { OptionalVersionedSpecRef, VersionedSpecRef } from "./versioning/refs.js";
|
|
3
|
-
import { CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef } from "./capabilities/capabilities.js";
|
|
4
|
-
import { PresentationTarget } from "./presentations/presentations.js";
|
|
5
|
-
import { DocId } from "./docs/registry.js";
|
|
6
|
-
import "./docs/index.js";
|
|
7
|
-
import { Owner, OwnerShipMeta, OwnersEnum, Stability, StabilityEnum, Tag, TagsEnum } from "./ownership.js";
|
|
8
|
-
import "./registry-utils.js";
|
|
9
4
|
import { PolicyRef } from "./policy/spec.js";
|
|
10
|
-
import "./telemetry/index.js";
|
|
11
|
-
import { ResourceRefDescriptor } from "./resources.js";
|
|
12
5
|
import { TestSpecRef } from "./tests/spec.js";
|
|
6
|
+
import { CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef } from "./capabilities/capabilities.js";
|
|
13
7
|
import { EmitDecl, EmitDeclInline, EmitDeclRef, ImplementationRef, ImplementationType, OpKind, OperationSpec, OperationSpecMeta, TelemetryTrigger } from "./operations/operation.js";
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
8
|
+
import "./registry-utils.js";
|
|
9
|
+
import "./telemetry/index.js";
|
|
10
|
+
import { PresentationTarget } from "./presentations/presentations.js";
|
|
16
11
|
import "./presentations/index.js";
|
|
17
12
|
import "./capabilities/index.js";
|
|
18
13
|
import { ExperimentRef } from "./experiments/spec.js";
|
|
14
|
+
import "./install.js";
|
|
15
|
+
import "./data-views/index.js";
|
|
16
|
+
import "./operations/index.js";
|
|
19
17
|
import { DataViewRef, EventRef, FeatureModuleMeta, FeatureModuleSpec, FormRef, OpRef, PresentationRef } from "./features/types.js";
|
|
20
18
|
import "./features/index.js";
|
|
21
|
-
import "./data-views/index.js";
|
|
22
19
|
import "./themes.js";
|
|
23
20
|
import "./app-config/spec.js";
|
|
24
21
|
import "./app-config/runtime.js";
|
|
25
22
|
import "./experiments/spec-resolver.js";
|
|
26
23
|
import "./types.js";
|
|
27
|
-
import { EventSpec, EventSpecMeta } from "./events.js";
|
|
28
24
|
import "./forms/index.js";
|
|
25
|
+
import { DocId } from "./docs/registry.js";
|
|
26
|
+
import "./docs/index.js";
|
|
27
|
+
import { Owner, OwnerShipMeta, OwnersEnum, Stability, StabilityEnum, Tag, TagsEnum } from "./ownership.js";
|
|
28
|
+
import { EventSpec, EventSpecMeta } from "./events.js";
|
|
29
29
|
import "./client/index.js";
|
|
30
30
|
import "./prompt.js";
|
|
31
31
|
import "./promptRegistry.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../registry.js";
|
|
2
2
|
import "../capabilities/index.js";
|
|
3
|
-
import "../
|
|
3
|
+
import "../ownership.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../schema/src/index.js";
|
|
2
|
-
import "../operations/index.js";
|
|
3
|
-
import "../operations/registry.js";
|
|
4
2
|
import "../presentations/index.js";
|
|
3
|
+
import "../operations/index.js";
|
|
5
4
|
import "../features/index.js";
|
|
5
|
+
import "../operations/registry.js";
|
|
6
6
|
import "../events.js";
|
|
7
7
|
import "./types.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AnySchemaModel } from "../../../schema/src/SchemaModel.js";
|
|
2
2
|
import "../../../schema/src/index.js";
|
|
3
|
-
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
4
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
5
|
-
import { PolicyRef } from "../policy/spec.js";
|
|
6
3
|
import { ResourceRefDescriptor } from "../resources.js";
|
|
4
|
+
import { PolicyRef } from "../policy/spec.js";
|
|
7
5
|
import { TestSpecRef } from "../tests/spec.js";
|
|
6
|
+
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
7
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
8
8
|
import { EventSpec } from "../events.js";
|
|
9
9
|
|
|
10
10
|
//#region ../contracts/src/operations/operation.d.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./spec.js";
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
2
|
+
import "./registry.js";
|
|
3
|
+
import "../operations/registry.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "../registry.js";
|
|
2
|
+
import "./presentations.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../schema/src/index.js";
|
|
2
2
|
import "../resources.js";
|
|
3
|
-
import "../operations/index.js";
|
|
4
3
|
import "../presentations/index.js";
|
|
5
4
|
import "../data-views/index.js";
|
|
6
|
-
import "../
|
|
7
|
-
import "../forms/index.js";
|
|
5
|
+
import "../operations/index.js";
|
|
6
|
+
import "../forms/index.js";
|
|
7
|
+
import "../events.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
1
|
+
import "../types.js";
|
|
2
|
+
import "../operations/registry.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
1
|
+
import "../registry.js";
|
|
2
|
+
import "../ownership.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
1
|
+
import "./registry.js";
|
|
2
|
+
import "./ownership.js";
|
|
@@ -2,7 +2,7 @@ import { StabilityEnum, defineCapability } from "@contractspec/lib.contracts";
|
|
|
2
2
|
|
|
3
3
|
//#region src/feature-flags.capability.ts
|
|
4
4
|
const FeatureFlagsCapability = defineCapability({ meta: {
|
|
5
|
-
key: "feature-
|
|
5
|
+
key: "feature-flag",
|
|
6
6
|
version: "1.0.0",
|
|
7
7
|
kind: "api",
|
|
8
8
|
stability: StabilityEnum.Experimental,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags.capability.js","names":[],"sources":["../src/feature-flags.capability.ts"],"sourcesContent":["import { defineCapability, StabilityEnum } from '@contractspec/lib.contracts';\n\nexport const FeatureFlagsCapability = defineCapability({\n meta: {\n key: 'feature-
|
|
1
|
+
{"version":3,"file":"feature-flags.capability.js","names":[],"sources":["../src/feature-flags.capability.ts"],"sourcesContent":["import { defineCapability, StabilityEnum } from '@contractspec/lib.contracts';\n\nexport const FeatureFlagsCapability = defineCapability({\n meta: {\n key: 'feature-flag',\n version: '1.0.0',\n kind: 'api',\n stability: StabilityEnum.Experimental,\n description: 'Feature flag management and evaluation',\n owners: ['@platform.featureflags'],\n tags: ['feature-flags', 'configuration'],\n },\n});\n\nexport const ExperimentsCapability = defineCapability({\n meta: {\n key: 'experiments',\n version: '1.0.0',\n kind: 'api',\n stability: StabilityEnum.Experimental,\n description: 'A/B testing and experimentation platform',\n owners: ['@platform.featureflags'],\n tags: ['experiments', 'ab-testing'],\n },\n});\n"],"mappings":";;;AAEA,MAAa,yBAAyB,iBAAiB,EACrD,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,yBAAyB;CAClC,MAAM,CAAC,iBAAiB,gBAAgB;CACzC,EACF,CAAC;AAEF,MAAa,wBAAwB,iBAAiB,EACpD,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,yBAAyB;CAClC,MAAM,CAAC,eAAe,aAAa;CACpC,EACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags.feature.js","names":[],"sources":["../src/feature-flags.feature.ts"],"sourcesContent":["/**\n * Feature Flags Feature Module Specification\n *\n * Defines the feature module for feature flag and experiment management.\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Feature Flags feature module that bundles flag management,\n * targeting rules, and A/B experiment capabilities.\n */\nexport const FeatureFlagsFeature = defineFeature({\n meta: {\n key: 'feature-flags',\n version: '1.0.0',\n title: 'Feature Flags',\n description:\n 'Feature flag management with targeting rules and A/B experiments',\n domain: 'platform',\n owners: ['@platform.feature-flags'],\n tags: ['feature-flags', 'experiments', 'targeting'],\n stability: 'stable',\n },\n\n // All contract operations included in this feature\n operations: [\n // Flag CRUD operations\n { key: 'flag.create', version: '1.0.0' },\n { key: 'flag.update', version: '1.0.0' },\n { key: 'flag.delete', version: '1.0.0' },\n { key: 'flag.toggle', version: '1.0.0' },\n { key: 'flag.get', version: '1.0.0' },\n { key: 'flag.list', version: '1.0.0' },\n { key: 'flag.evaluate', version: '1.0.0' },\n\n // Targeting rule operations\n { key: 'flag.rule.create', version: '1.0.0' },\n { key: 'flag.rule.delete', version: '1.0.0' },\n\n // Experiment operations\n { key: 'experiment.create', version: '1.0.0' },\n { key: 'experiment.start', version: '1.0.0' },\n { key: 'experiment.stop', version: '1.0.0' },\n { key: 'experiment.get', version: '1.0.0' },\n ],\n\n // Events emitted by this feature\n events: [\n // Flag events\n { key: 'flag.created', version: '1.0.0' },\n { key: 'flag.updated', version: '1.0.0' },\n { key: 'flag.deleted', version: '1.0.0' },\n { key: 'flag.toggled', version: '1.0.0' },\n { key: 'flag.evaluated', version: '1.0.0' },\n\n // Rule events\n { key: 'flag.rule_created', version: '1.0.0' },\n { key: 'flag.rule_deleted', version: '1.0.0' },\n\n // Experiment events\n { key: 'experiment.created', version: '1.0.0' },\n { key: 'experiment.started', version: '1.0.0' },\n { key: 'experiment.stopped', version: '1.0.0' },\n { key: 'experiment.variant_assigned', version: '1.0.0' },\n ],\n\n // No presentations for this library feature\n presentations: [],\n opToPresentation: [],\n presentationsTargets: [],\n\n // Capability definitions\n capabilities: {\n provides: [\n { key: 'feature-
|
|
1
|
+
{"version":3,"file":"feature-flags.feature.js","names":[],"sources":["../src/feature-flags.feature.ts"],"sourcesContent":["/**\n * Feature Flags Feature Module Specification\n *\n * Defines the feature module for feature flag and experiment management.\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Feature Flags feature module that bundles flag management,\n * targeting rules, and A/B experiment capabilities.\n */\nexport const FeatureFlagsFeature = defineFeature({\n meta: {\n key: 'feature-flags',\n version: '1.0.0',\n title: 'Feature Flags',\n description:\n 'Feature flag management with targeting rules and A/B experiments',\n domain: 'platform',\n owners: ['@platform.feature-flags'],\n tags: ['feature-flags', 'experiments', 'targeting'],\n stability: 'stable',\n },\n\n // All contract operations included in this feature\n operations: [\n // Flag CRUD operations\n { key: 'flag.create', version: '1.0.0' },\n { key: 'flag.update', version: '1.0.0' },\n { key: 'flag.delete', version: '1.0.0' },\n { key: 'flag.toggle', version: '1.0.0' },\n { key: 'flag.get', version: '1.0.0' },\n { key: 'flag.list', version: '1.0.0' },\n { key: 'flag.evaluate', version: '1.0.0' },\n\n // Targeting rule operations\n { key: 'flag.rule.create', version: '1.0.0' },\n { key: 'flag.rule.delete', version: '1.0.0' },\n\n // Experiment operations\n { key: 'experiment.create', version: '1.0.0' },\n { key: 'experiment.start', version: '1.0.0' },\n { key: 'experiment.stop', version: '1.0.0' },\n { key: 'experiment.get', version: '1.0.0' },\n ],\n\n // Events emitted by this feature\n events: [\n // Flag events\n { key: 'flag.created', version: '1.0.0' },\n { key: 'flag.updated', version: '1.0.0' },\n { key: 'flag.deleted', version: '1.0.0' },\n { key: 'flag.toggled', version: '1.0.0' },\n { key: 'flag.evaluated', version: '1.0.0' },\n\n // Rule events\n { key: 'flag.rule_created', version: '1.0.0' },\n { key: 'flag.rule_deleted', version: '1.0.0' },\n\n // Experiment events\n { key: 'experiment.created', version: '1.0.0' },\n { key: 'experiment.started', version: '1.0.0' },\n { key: 'experiment.stopped', version: '1.0.0' },\n { key: 'experiment.variant_assigned', version: '1.0.0' },\n ],\n\n // No presentations for this library feature\n presentations: [],\n opToPresentation: [],\n presentationsTargets: [],\n\n // Capability definitions\n capabilities: {\n provides: [\n { key: 'feature-flag', version: '1.0.0' },\n { key: 'experiments', version: '1.0.0' },\n ],\n requires: [{ key: 'identity', version: '1.0.0' }],\n },\n});\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,sBAAsB,cAAc;CAC/C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,0BAA0B;EACnC,MAAM;GAAC;GAAiB;GAAe;GAAY;EACnD,WA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ieldType.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,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaModel.d.ts","names":[],"sources":["../../../../schema/src/SchemaModel.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAImD;;KAM9C,SAAA,GAAY,YAA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AA;EAAa,OAAA,EAAA,IAAA;CAAc,GAAA,IAAA,GAAA,KAAA;AAC3B,KASN,kBATM,CAAA,UASuB,0BATvB,CAAA,GAAA,QAAZ,MAUQ,CAVR,GAUY,aAVZ,CAWF,UAXE,CAWS,gBAXT,CAW0B,CAX1B,CAW4B,CAX5B,CAAA,CAAA,MAAA,CAAA,CAAA,EAWyC,YAXzC,CAWsD,CAXtD,CAWwD,CAXxD,CAAA,CAAA,CAAA,EAYF,CAZE,CAYA,CAZA,CAAA,CAAA,YAAA,CAAA,CAAA,EACF;;AAAC;AAQL;;AACc,KAUF,oBAVE,CAAA,UAU6B,0BAV7B,CAAA,GAWZ,CAAA,CAAE,SAXU,CAWA,kBAXA,CAWmB,CAXnB,CAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.feature-flags",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.53.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.
|
|
28
|
-
"@contractspec/lib.contracts": "1.
|
|
27
|
+
"@contractspec/lib.schema": "1.53.0",
|
|
28
|
+
"@contractspec/lib.contracts": "1.53.0",
|
|
29
29
|
"zod": "^4.3.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@contractspec/tool.typescript": "1.
|
|
33
|
-
"@contractspec/tool.tsdown": "1.
|
|
32
|
+
"@contractspec/tool.typescript": "1.53.0",
|
|
33
|
+
"@contractspec/tool.tsdown": "1.53.0",
|
|
34
34
|
"typescript": "^5.9.3"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|