@contractspec/lib.feature-flags 1.56.0 → 1.57.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/index.d.ts +260 -263
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/entities/index.d.ts +159 -159
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/evaluation/index.d.ts.map +1 -1
- package/dist/events.d.ts +158 -161
- package/dist/events.d.ts.map +1 -1
- package/dist/feature-flags.capability.d.ts +3 -4
- package/dist/feature-flags.capability.d.ts.map +1 -1
- package/dist/feature-flags.feature.d.ts +2 -3
- package/dist/feature-flags.feature.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/contracts/src/app-config/lifecycle.d.ts +0 -1
- package/dist/contracts/src/app-config/runtime.d.ts +0 -13
- package/dist/contracts/src/app-config/spec.d.ts +0 -9
- package/dist/contracts/src/app-config/validation.d.ts +0 -8
- package/dist/contracts/src/capabilities/capabilities.d.ts +0 -60
- package/dist/contracts/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/contracts/src/capabilities/context.d.ts +0 -1
- package/dist/contracts/src/capabilities/guards.d.ts +0 -4
- package/dist/contracts/src/capabilities/index.d.ts +0 -5
- package/dist/contracts/src/capabilities/openbanking.d.ts +0 -1
- package/dist/contracts/src/capabilities/validation.d.ts +0 -4
- package/dist/contracts/src/client/index.d.ts +0 -1
- package/dist/contracts/src/client/react/drivers/rn-reusables.d.ts +0 -1
- package/dist/contracts/src/client/react/drivers/shadcn.d.ts +0 -1
- package/dist/contracts/src/client/react/feature-render.d.ts +0 -3
- package/dist/contracts/src/client/react/form-render.d.ts +0 -4
- package/dist/contracts/src/client/react/index.d.ts +0 -4
- package/dist/contracts/src/contract-registry/index.d.ts +0 -2
- package/dist/contracts/src/contract-registry/schemas.d.ts +0 -2
- package/dist/contracts/src/contract-registry/types.d.ts +0 -1
- package/dist/contracts/src/data-views/index.d.ts +0 -4
- package/dist/contracts/src/data-views/registry.d.ts +0 -2
- package/dist/contracts/src/data-views/report/contractVerificationTable.d.ts +0 -1
- package/dist/contracts/src/data-views/spec.d.ts +0 -3
- package/dist/contracts/src/data-views/types.d.ts +0 -2
- package/dist/contracts/src/docs/accessibility_wcag_compliance_specs.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/capabilities/documentationSystem.capability.d.ts +0 -1
- package/dist/contracts/src/docs/capabilities/index.d.ts +0 -1
- package/dist/contracts/src/docs/commands/docsGenerate.command.d.ts +0 -2
- package/dist/contracts/src/docs/commands/docsPublish.command.d.ts +0 -2
- package/dist/contracts/src/docs/commands/index.d.ts +0 -2
- package/dist/contracts/src/docs/contracts.d.ts +0 -7
- package/dist/contracts/src/docs/events/docsGenerated.event.d.ts +0 -2
- package/dist/contracts/src/docs/events/docsPublished.event.d.ts +0 -2
- package/dist/contracts/src/docs/events/index.d.ts +0 -2
- package/dist/contracts/src/docs/forms/docsSearch.form.d.ts +0 -2
- package/dist/contracts/src/docs/forms/index.d.ts +0 -1
- package/dist/contracts/src/docs/index.d.ts +0 -33
- package/dist/contracts/src/docs/presentations/docsLayout.presentation.d.ts +0 -1
- package/dist/contracts/src/docs/presentations/docsReferencePage.presentation.d.ts +0 -1
- package/dist/contracts/src/docs/presentations/index.d.ts +0 -2
- package/dist/contracts/src/docs/presentations.d.ts +0 -2
- package/dist/contracts/src/docs/queries/contractReference.query.d.ts +0 -2
- package/dist/contracts/src/docs/queries/docsIndex.query.d.ts +0 -2
- package/dist/contracts/src/docs/queries/index.d.ts +0 -2
- package/dist/contracts/src/docs/registry.d.ts +0 -10
- package/dist/contracts/src/docs/registry.d.ts.map +0 -1
- package/dist/contracts/src/docs/tech/auth/better-auth-nextjs.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/contracts/README.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/contracts/openapi-export.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/contracts/openapi-import.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/lifecycle-stage-system.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/mcp-endpoints.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/presentation-runtime.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/schema/README.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/learning-events.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/learning-journeys.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/platform-admin-panel.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/project-access-teams.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/project-routing.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/sandbox-unlogged.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/team-invitations.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/workspace-ops.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/studio/workspaces.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/telemetry-ingest.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/tech/vscode-extension.docblock.d.ts +0 -1
- package/dist/contracts/src/docs/views/contractReference.dataView.d.ts +0 -1
- package/dist/contracts/src/docs/views/docsIndex.dataView.d.ts +0 -1
- package/dist/contracts/src/docs/views/exampleCatalog.dataView.d.ts +0 -1
- package/dist/contracts/src/docs/views/index.d.ts +0 -3
- package/dist/contracts/src/events.d.ts +0 -45
- package/dist/contracts/src/events.d.ts.map +0 -1
- package/dist/contracts/src/examples/index.d.ts +0 -4
- package/dist/contracts/src/examples/registry.d.ts +0 -2
- package/dist/contracts/src/examples/schema.d.ts +0 -2
- package/dist/contracts/src/examples/types.d.ts +0 -3
- package/dist/contracts/src/examples/validation.d.ts +0 -1
- package/dist/contracts/src/experiments/evaluator.d.ts +0 -2
- package/dist/contracts/src/experiments/spec-resolver.d.ts +0 -4
- package/dist/contracts/src/experiments/spec.d.ts +0 -16
- package/dist/contracts/src/experiments/spec.d.ts.map +0 -1
- package/dist/contracts/src/features/index.d.ts +0 -4
- package/dist/contracts/src/features/install.d.ts +0 -6
- package/dist/contracts/src/features/registry.d.ts +0 -2
- package/dist/contracts/src/features/types.d.ts +0 -80
- package/dist/contracts/src/features/types.d.ts.map +0 -1
- package/dist/contracts/src/features/validation.d.ts +0 -2
- package/dist/contracts/src/forms/forms.d.ts +0 -3
- package/dist/contracts/src/forms/index.d.ts +0 -1
- package/dist/contracts/src/index.d.ts +0 -53
- package/dist/contracts/src/install.d.ts +0 -7
- package/dist/contracts/src/integrations/connection.d.ts +0 -1
- package/dist/contracts/src/integrations/index.d.ts +0 -6
- package/dist/contracts/src/integrations/openbanking/contracts/accounts.d.ts +0 -4
- package/dist/contracts/src/integrations/openbanking/contracts/balances.d.ts +0 -4
- package/dist/contracts/src/integrations/openbanking/contracts/index.d.ts +0 -5
- package/dist/contracts/src/integrations/openbanking/contracts/transactions.d.ts +0 -4
- package/dist/contracts/src/integrations/openbanking/guards.d.ts +0 -1
- package/dist/contracts/src/integrations/openbanking/models.d.ts +0 -1
- package/dist/contracts/src/integrations/openbanking/openbanking.feature.d.ts +0 -1
- package/dist/contracts/src/integrations/operations.d.ts +0 -4
- package/dist/contracts/src/integrations/providers/elevenlabs.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/gcs-storage.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/gmail.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/google-calendar.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/index.d.ts +0 -11
- package/dist/contracts/src/integrations/providers/mistral.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/postmark.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/powens.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/qdrant.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/registry.d.ts +0 -1
- package/dist/contracts/src/integrations/providers/stripe.d.ts +0 -2
- package/dist/contracts/src/integrations/providers/twilio-sms.d.ts +0 -2
- package/dist/contracts/src/integrations/spec.d.ts +0 -3
- package/dist/contracts/src/jsonschema.d.ts +0 -4
- package/dist/contracts/src/knowledge/index.d.ts +0 -2
- package/dist/contracts/src/knowledge/operations.d.ts +0 -4
- package/dist/contracts/src/knowledge/spaces/email-threads.d.ts +0 -1
- package/dist/contracts/src/knowledge/spaces/financial-docs.d.ts +0 -1
- package/dist/contracts/src/knowledge/spaces/financial-overview.d.ts +0 -1
- package/dist/contracts/src/knowledge/spaces/index.d.ts +0 -6
- package/dist/contracts/src/knowledge/spaces/product-canon.d.ts +0 -1
- package/dist/contracts/src/knowledge/spaces/support-faq.d.ts +0 -1
- package/dist/contracts/src/knowledge/spaces/uploaded-docs.d.ts +0 -1
- package/dist/contracts/src/knowledge/spec.d.ts +0 -3
- package/dist/contracts/src/llm/exporters.d.ts +0 -7
- package/dist/contracts/src/llm/index.d.ts +0 -3
- package/dist/contracts/src/llm/prompts.d.ts +0 -2
- package/dist/contracts/src/llm/types.d.ts +0 -5
- package/dist/contracts/src/migrations.d.ts +0 -1
- package/dist/contracts/src/model-registry.d.ts +0 -1
- package/dist/contracts/src/onboarding-base.d.ts +0 -2
- package/dist/contracts/src/openapi.d.ts +0 -1
- package/dist/contracts/src/operations/index.d.ts +0 -3
- package/dist/contracts/src/operations/operation.d.ts +0 -176
- package/dist/contracts/src/operations/operation.d.ts.map +0 -1
- package/dist/contracts/src/operations/registry.d.ts +0 -6
- package/dist/contracts/src/operations/report/getContractVerificationStatus.d.ts +0 -3
- package/dist/contracts/src/operations/report/index.d.ts +0 -4
- package/dist/contracts/src/ownership.d.ts +0 -164
- package/dist/contracts/src/ownership.d.ts.map +0 -1
- package/dist/contracts/src/policy/engine.d.ts +0 -3
- package/dist/contracts/src/policy/guards.d.ts +0 -1
- package/dist/contracts/src/policy/index.d.ts +0 -6
- package/dist/contracts/src/policy/opa-adapter.d.ts +0 -3
- package/dist/contracts/src/policy/registry.d.ts +0 -2
- package/dist/contracts/src/policy/spec.d.ts +0 -13
- package/dist/contracts/src/policy/spec.d.ts.map +0 -1
- package/dist/contracts/src/policy/validation.d.ts +0 -3
- package/dist/contracts/src/presentations/index.d.ts +0 -3
- package/dist/contracts/src/presentations/presentations.d.ts +0 -10
- package/dist/contracts/src/presentations/presentations.d.ts.map +0 -1
- package/dist/contracts/src/presentations/registry.d.ts +0 -2
- package/dist/contracts/src/presentations/transform-engine.d.ts +0 -2
- package/dist/contracts/src/prompt.d.ts +0 -2
- package/dist/contracts/src/promptRegistry.d.ts +0 -2
- package/dist/contracts/src/regenerator/adapters.d.ts +0 -1
- package/dist/contracts/src/regenerator/executor.d.ts +0 -1
- package/dist/contracts/src/regenerator/index.d.ts +0 -6
- package/dist/contracts/src/regenerator/service.d.ts +0 -2
- package/dist/contracts/src/regenerator/sinks.d.ts +0 -2
- package/dist/contracts/src/regenerator/types.d.ts +0 -3
- package/dist/contracts/src/regenerator/utils.d.ts +0 -1
- package/dist/contracts/src/registry-utils.d.ts +0 -1
- package/dist/contracts/src/registry.d.ts +0 -3
- package/dist/contracts/src/resources.d.ts +0 -19
- package/dist/contracts/src/resources.d.ts.map +0 -1
- package/dist/contracts/src/schema-to-markdown.d.ts +0 -1
- package/dist/contracts/src/serialization/index.d.ts +0 -1
- package/dist/contracts/src/serialization/serializers.d.ts +0 -7
- package/dist/contracts/src/server/graphql-pothos.d.ts +0 -7
- package/dist/contracts/src/server/index.d.ts +0 -7
- package/dist/contracts/src/server/mcp/createMcpServer.d.ts +0 -5
- package/dist/contracts/src/server/mcp/mcpTypes.d.ts +0 -2
- package/dist/contracts/src/server/provider-mcp.d.ts +0 -1
- package/dist/contracts/src/server/rest-elysia.d.ts +0 -3
- package/dist/contracts/src/server/rest-express.d.ts +0 -3
- package/dist/contracts/src/server/rest-generic.d.ts +0 -2
- package/dist/contracts/src/server/rest-next-app.d.ts +0 -3
- package/dist/contracts/src/server/rest-next-pages.d.ts +0 -3
- package/dist/contracts/src/telemetry/anomaly.d.ts +0 -2
- package/dist/contracts/src/telemetry/index.d.ts +0 -3
- package/dist/contracts/src/telemetry/spec.d.ts +0 -2
- package/dist/contracts/src/telemetry/tracker.d.ts +0 -3
- package/dist/contracts/src/tests/index.d.ts +0 -2
- package/dist/contracts/src/tests/runner.d.ts +0 -3
- package/dist/contracts/src/tests/spec.d.ts +0 -13
- package/dist/contracts/src/tests/spec.d.ts.map +0 -1
- package/dist/contracts/src/themes.d.ts +0 -2
- package/dist/contracts/src/types.d.ts +0 -5
- package/dist/contracts/src/versioning/refs.d.ts +0 -47
- package/dist/contracts/src/versioning/refs.d.ts.map +0 -1
- package/dist/contracts/src/workflow/adapters/db-adapter.d.ts +0 -1
- package/dist/contracts/src/workflow/adapters/file-adapter.d.ts +0 -1
- package/dist/contracts/src/workflow/adapters/index.d.ts +0 -3
- package/dist/contracts/src/workflow/adapters/memory-store.d.ts +0 -1
- package/dist/contracts/src/workflow/context.d.ts +0 -2
- package/dist/contracts/src/workflow/index.d.ts +0 -8
- package/dist/contracts/src/workflow/overview.docblock.d.ts +0 -1
- package/dist/contracts/src/workflow/runner.d.ts +0 -5
- package/dist/contracts/src/workflow/sla-monitor.d.ts +0 -2
- package/dist/contracts/src/workflow/spec.d.ts +0 -6
- package/dist/contracts/src/workflow/state.d.ts +0 -1
- package/dist/contracts/src/workflow/validation.d.ts +0 -5
- package/dist/contracts/src/workspace-config/contractsrc-schema.d.ts +0 -1
- package/dist/contracts/src/workspace-config/index.d.ts +0 -1
- package/dist/contracts/src/workspace-config/workspace-config.docblock.d.ts +0 -1
- package/dist/schema/src/EnumType.d.ts +0 -36
- package/dist/schema/src/EnumType.d.ts.map +0 -1
- package/dist/schema/src/FieldType.d.ts +0 -30
- package/dist/schema/src/FieldType.d.ts.map +0 -1
- package/dist/schema/src/GraphQLSchemaType.d.ts +0 -2
- package/dist/schema/src/JsonSchemaType.d.ts +0 -2
- package/dist/schema/src/ScalarTypeEnum.d.ts +0 -1
- package/dist/schema/src/SchemaModel.d.ts +0 -70
- package/dist/schema/src/SchemaModel.d.ts.map +0 -1
- package/dist/schema/src/SchemaModelType.d.ts +0 -38
- package/dist/schema/src/SchemaModelType.d.ts.map +0 -1
- package/dist/schema/src/ZodSchemaType.d.ts +0 -2
- package/dist/schema/src/entity/defineEntity.d.ts +0 -1
- package/dist/schema/src/entity/generator.d.ts +0 -1
- package/dist/schema/src/entity/index.d.ts +0 -3
- package/dist/schema/src/entity/types.d.ts +0 -146
- package/dist/schema/src/entity/types.d.ts.map +0 -1
- package/dist/schema/src/index.d.ts +0 -10
package/dist/events.d.ts
CHANGED
|
@@ -1,330 +1,327 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import "./schema/src/index.js";
|
|
4
|
-
import { EventSpec } from "./contracts/src/events.js";
|
|
5
|
-
import "./contracts/src/index.js";
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
6
3
|
|
|
7
4
|
//#region src/events.d.ts
|
|
8
5
|
/**
|
|
9
6
|
* Emitted when a feature flag is created.
|
|
10
7
|
*/
|
|
11
|
-
declare const FlagCreatedEvent: EventSpec<SchemaModel<{
|
|
8
|
+
declare const FlagCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
12
9
|
flagId: {
|
|
13
|
-
type: FieldType<string, string>;
|
|
10
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
11
|
isOptional: false;
|
|
15
12
|
};
|
|
16
13
|
key: {
|
|
17
|
-
type: FieldType<string, string>;
|
|
14
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
15
|
isOptional: false;
|
|
19
16
|
};
|
|
20
17
|
name: {
|
|
21
|
-
type: FieldType<string, string>;
|
|
18
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
19
|
isOptional: false;
|
|
23
20
|
};
|
|
24
21
|
status: {
|
|
25
|
-
type: FieldType<string, string>;
|
|
22
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
26
23
|
isOptional: false;
|
|
27
24
|
};
|
|
28
25
|
orgId: {
|
|
29
|
-
type: FieldType<string, string>;
|
|
26
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
27
|
isOptional: true;
|
|
31
28
|
};
|
|
32
29
|
createdBy: {
|
|
33
|
-
type: FieldType<string, string>;
|
|
30
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
31
|
isOptional: true;
|
|
35
32
|
};
|
|
36
33
|
createdAt: {
|
|
37
|
-
type: FieldType<Date, string>;
|
|
34
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
38
35
|
isOptional: false;
|
|
39
36
|
};
|
|
40
37
|
}>>;
|
|
41
38
|
/**
|
|
42
39
|
* Emitted when a feature flag is updated.
|
|
43
40
|
*/
|
|
44
|
-
declare const FlagUpdatedEvent: EventSpec<SchemaModel<{
|
|
41
|
+
declare const FlagUpdatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
45
42
|
flagId: {
|
|
46
|
-
type: FieldType<string, string>;
|
|
43
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
47
44
|
isOptional: false;
|
|
48
45
|
};
|
|
49
46
|
key: {
|
|
50
|
-
type: FieldType<string, string>;
|
|
47
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
51
48
|
isOptional: false;
|
|
52
49
|
};
|
|
53
50
|
changes: {
|
|
54
|
-
type: FieldType<unknown, unknown>;
|
|
51
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
55
52
|
isOptional: false;
|
|
56
53
|
};
|
|
57
54
|
updatedBy: {
|
|
58
|
-
type: FieldType<string, string>;
|
|
55
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
56
|
isOptional: true;
|
|
60
57
|
};
|
|
61
58
|
updatedAt: {
|
|
62
|
-
type: FieldType<Date, string>;
|
|
59
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
63
60
|
isOptional: false;
|
|
64
61
|
};
|
|
65
62
|
}>>;
|
|
66
63
|
/**
|
|
67
64
|
* Emitted when a feature flag is deleted.
|
|
68
65
|
*/
|
|
69
|
-
declare const FlagDeletedEvent: EventSpec<SchemaModel<{
|
|
66
|
+
declare const FlagDeletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
70
67
|
flagId: {
|
|
71
|
-
type: FieldType<string, string>;
|
|
68
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
72
69
|
isOptional: false;
|
|
73
70
|
};
|
|
74
71
|
key: {
|
|
75
|
-
type: FieldType<string, string>;
|
|
72
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
76
73
|
isOptional: false;
|
|
77
74
|
};
|
|
78
75
|
deletedBy: {
|
|
79
|
-
type: FieldType<string, string>;
|
|
76
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
80
77
|
isOptional: true;
|
|
81
78
|
};
|
|
82
79
|
deletedAt: {
|
|
83
|
-
type: FieldType<Date, string>;
|
|
80
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
84
81
|
isOptional: false;
|
|
85
82
|
};
|
|
86
83
|
}>>;
|
|
87
84
|
/**
|
|
88
85
|
* Emitted when a feature flag status is toggled.
|
|
89
86
|
*/
|
|
90
|
-
declare const FlagToggledEvent: EventSpec<SchemaModel<{
|
|
87
|
+
declare const FlagToggledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
91
88
|
flagId: {
|
|
92
|
-
type: FieldType<string, string>;
|
|
89
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
93
90
|
isOptional: false;
|
|
94
91
|
};
|
|
95
92
|
key: {
|
|
96
|
-
type: FieldType<string, string>;
|
|
93
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
97
94
|
isOptional: false;
|
|
98
95
|
};
|
|
99
96
|
previousStatus: {
|
|
100
|
-
type: FieldType<string, string>;
|
|
97
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
101
98
|
isOptional: false;
|
|
102
99
|
};
|
|
103
100
|
newStatus: {
|
|
104
|
-
type: FieldType<string, string>;
|
|
101
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
105
102
|
isOptional: false;
|
|
106
103
|
};
|
|
107
104
|
toggledBy: {
|
|
108
|
-
type: FieldType<string, string>;
|
|
105
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
109
106
|
isOptional: true;
|
|
110
107
|
};
|
|
111
108
|
toggledAt: {
|
|
112
|
-
type: FieldType<Date, string>;
|
|
109
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
113
110
|
isOptional: false;
|
|
114
111
|
};
|
|
115
112
|
}>>;
|
|
116
113
|
/**
|
|
117
114
|
* Emitted when a targeting rule is created.
|
|
118
115
|
*/
|
|
119
|
-
declare const RuleCreatedEvent: EventSpec<SchemaModel<{
|
|
116
|
+
declare const RuleCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
120
117
|
ruleId: {
|
|
121
|
-
type: FieldType<string, string>;
|
|
118
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
122
119
|
isOptional: false;
|
|
123
120
|
};
|
|
124
121
|
flagId: {
|
|
125
|
-
type: FieldType<string, string>;
|
|
122
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
126
123
|
isOptional: false;
|
|
127
124
|
};
|
|
128
125
|
flagKey: {
|
|
129
|
-
type: FieldType<string, string>;
|
|
126
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
130
127
|
isOptional: false;
|
|
131
128
|
};
|
|
132
129
|
attribute: {
|
|
133
|
-
type: FieldType<string, string>;
|
|
130
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
134
131
|
isOptional: false;
|
|
135
132
|
};
|
|
136
133
|
operator: {
|
|
137
|
-
type: FieldType<string, string>;
|
|
134
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
138
135
|
isOptional: false;
|
|
139
136
|
};
|
|
140
137
|
createdAt: {
|
|
141
|
-
type: FieldType<Date, string>;
|
|
138
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
142
139
|
isOptional: false;
|
|
143
140
|
};
|
|
144
141
|
}>>;
|
|
145
142
|
/**
|
|
146
143
|
* Emitted when a targeting rule is deleted.
|
|
147
144
|
*/
|
|
148
|
-
declare const RuleDeletedEvent: EventSpec<SchemaModel<{
|
|
145
|
+
declare const RuleDeletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
149
146
|
ruleId: {
|
|
150
|
-
type: FieldType<string, string>;
|
|
147
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
151
148
|
isOptional: false;
|
|
152
149
|
};
|
|
153
150
|
flagId: {
|
|
154
|
-
type: FieldType<string, string>;
|
|
151
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
155
152
|
isOptional: false;
|
|
156
153
|
};
|
|
157
154
|
flagKey: {
|
|
158
|
-
type: FieldType<string, string>;
|
|
155
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
159
156
|
isOptional: false;
|
|
160
157
|
};
|
|
161
158
|
deletedAt: {
|
|
162
|
-
type: FieldType<Date, string>;
|
|
159
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
163
160
|
isOptional: false;
|
|
164
161
|
};
|
|
165
162
|
}>>;
|
|
166
163
|
/**
|
|
167
164
|
* Emitted when an experiment is created.
|
|
168
165
|
*/
|
|
169
|
-
declare const ExperimentCreatedEvent: EventSpec<SchemaModel<{
|
|
166
|
+
declare const ExperimentCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
170
167
|
experimentId: {
|
|
171
|
-
type: FieldType<string, string>;
|
|
168
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
172
169
|
isOptional: false;
|
|
173
170
|
};
|
|
174
171
|
key: {
|
|
175
|
-
type: FieldType<string, string>;
|
|
172
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
176
173
|
isOptional: false;
|
|
177
174
|
};
|
|
178
175
|
name: {
|
|
179
|
-
type: FieldType<string, string>;
|
|
176
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
180
177
|
isOptional: false;
|
|
181
178
|
};
|
|
182
179
|
flagId: {
|
|
183
|
-
type: FieldType<string, string>;
|
|
180
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
184
181
|
isOptional: false;
|
|
185
182
|
};
|
|
186
183
|
variants: {
|
|
187
|
-
type: FieldType<unknown, unknown>;
|
|
184
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
188
185
|
isOptional: false;
|
|
189
186
|
};
|
|
190
187
|
createdBy: {
|
|
191
|
-
type: FieldType<string, string>;
|
|
188
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
192
189
|
isOptional: true;
|
|
193
190
|
};
|
|
194
191
|
createdAt: {
|
|
195
|
-
type: FieldType<Date, string>;
|
|
192
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
196
193
|
isOptional: false;
|
|
197
194
|
};
|
|
198
195
|
}>>;
|
|
199
196
|
/**
|
|
200
197
|
* Emitted when an experiment starts.
|
|
201
198
|
*/
|
|
202
|
-
declare const ExperimentStartedEvent: EventSpec<SchemaModel<{
|
|
199
|
+
declare const ExperimentStartedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
203
200
|
experimentId: {
|
|
204
|
-
type: FieldType<string, string>;
|
|
201
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
205
202
|
isOptional: false;
|
|
206
203
|
};
|
|
207
204
|
key: {
|
|
208
|
-
type: FieldType<string, string>;
|
|
205
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
209
206
|
isOptional: false;
|
|
210
207
|
};
|
|
211
208
|
flagId: {
|
|
212
|
-
type: FieldType<string, string>;
|
|
209
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
213
210
|
isOptional: false;
|
|
214
211
|
};
|
|
215
212
|
variants: {
|
|
216
|
-
type: FieldType<unknown, unknown>;
|
|
213
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
217
214
|
isOptional: false;
|
|
218
215
|
};
|
|
219
216
|
audiencePercentage: {
|
|
220
|
-
type: FieldType<number, number>;
|
|
217
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
221
218
|
isOptional: false;
|
|
222
219
|
};
|
|
223
220
|
startedBy: {
|
|
224
|
-
type: FieldType<string, string>;
|
|
221
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
225
222
|
isOptional: true;
|
|
226
223
|
};
|
|
227
224
|
startedAt: {
|
|
228
|
-
type: FieldType<Date, string>;
|
|
225
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
229
226
|
isOptional: false;
|
|
230
227
|
};
|
|
231
228
|
}>>;
|
|
232
229
|
/**
|
|
233
230
|
* Emitted when an experiment stops.
|
|
234
231
|
*/
|
|
235
|
-
declare const ExperimentStoppedEvent: EventSpec<SchemaModel<{
|
|
232
|
+
declare const ExperimentStoppedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
236
233
|
experimentId: {
|
|
237
|
-
type: FieldType<string, string>;
|
|
234
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
238
235
|
isOptional: false;
|
|
239
236
|
};
|
|
240
237
|
key: {
|
|
241
|
-
type: FieldType<string, string>;
|
|
238
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
242
239
|
isOptional: false;
|
|
243
240
|
};
|
|
244
241
|
reason: {
|
|
245
|
-
type: FieldType<string, string>;
|
|
242
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
246
243
|
isOptional: false;
|
|
247
244
|
};
|
|
248
245
|
winningVariant: {
|
|
249
|
-
type: FieldType<string, string>;
|
|
246
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
250
247
|
isOptional: true;
|
|
251
248
|
};
|
|
252
249
|
stoppedBy: {
|
|
253
|
-
type: FieldType<string, string>;
|
|
250
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
254
251
|
isOptional: true;
|
|
255
252
|
};
|
|
256
253
|
stoppedAt: {
|
|
257
|
-
type: FieldType<Date, string>;
|
|
254
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
258
255
|
isOptional: false;
|
|
259
256
|
};
|
|
260
257
|
}>>;
|
|
261
258
|
/**
|
|
262
259
|
* Emitted when a flag is evaluated (for analytics).
|
|
263
260
|
*/
|
|
264
|
-
declare const FlagEvaluatedEvent: EventSpec<SchemaModel<{
|
|
261
|
+
declare const FlagEvaluatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
265
262
|
flagId: {
|
|
266
|
-
type: FieldType<string, string>;
|
|
263
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
267
264
|
isOptional: false;
|
|
268
265
|
};
|
|
269
266
|
flagKey: {
|
|
270
|
-
type: FieldType<string, string>;
|
|
267
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
271
268
|
isOptional: false;
|
|
272
269
|
};
|
|
273
270
|
subjectType: {
|
|
274
|
-
type: FieldType<string, string>;
|
|
271
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
275
272
|
isOptional: false;
|
|
276
273
|
};
|
|
277
274
|
subjectId: {
|
|
278
|
-
type: FieldType<string, string>;
|
|
275
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
279
276
|
isOptional: false;
|
|
280
277
|
};
|
|
281
278
|
result: {
|
|
282
|
-
type: FieldType<boolean, boolean>;
|
|
279
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
283
280
|
isOptional: false;
|
|
284
281
|
};
|
|
285
282
|
variant: {
|
|
286
|
-
type: FieldType<string, string>;
|
|
283
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
287
284
|
isOptional: true;
|
|
288
285
|
};
|
|
289
286
|
reason: {
|
|
290
|
-
type: FieldType<string, string>;
|
|
287
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
291
288
|
isOptional: false;
|
|
292
289
|
};
|
|
293
290
|
evaluatedAt: {
|
|
294
|
-
type: FieldType<Date, string>;
|
|
291
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
295
292
|
isOptional: false;
|
|
296
293
|
};
|
|
297
294
|
}>>;
|
|
298
295
|
/**
|
|
299
296
|
* Emitted when a subject is assigned to an experiment variant.
|
|
300
297
|
*/
|
|
301
|
-
declare const VariantAssignedEvent: EventSpec<SchemaModel<{
|
|
298
|
+
declare const VariantAssignedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
302
299
|
experimentId: {
|
|
303
|
-
type: FieldType<string, string>;
|
|
300
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
304
301
|
isOptional: false;
|
|
305
302
|
};
|
|
306
303
|
experimentKey: {
|
|
307
|
-
type: FieldType<string, string>;
|
|
304
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
308
305
|
isOptional: false;
|
|
309
306
|
};
|
|
310
307
|
subjectType: {
|
|
311
|
-
type: FieldType<string, string>;
|
|
308
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
312
309
|
isOptional: false;
|
|
313
310
|
};
|
|
314
311
|
subjectId: {
|
|
315
|
-
type: FieldType<string, string>;
|
|
312
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
316
313
|
isOptional: false;
|
|
317
314
|
};
|
|
318
315
|
variant: {
|
|
319
|
-
type: FieldType<string, string>;
|
|
316
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
320
317
|
isOptional: false;
|
|
321
318
|
};
|
|
322
319
|
bucket: {
|
|
323
|
-
type: FieldType<number, number>;
|
|
320
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
324
321
|
isOptional: false;
|
|
325
322
|
};
|
|
326
323
|
assignedAt: {
|
|
327
|
-
type: FieldType<Date, string>;
|
|
324
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
328
325
|
isOptional: false;
|
|
329
326
|
};
|
|
330
327
|
}>>;
|
|
@@ -332,293 +329,293 @@ declare const VariantAssignedEvent: EventSpec<SchemaModel<{
|
|
|
332
329
|
* All feature flag events.
|
|
333
330
|
*/
|
|
334
331
|
declare const FeatureFlagEvents: {
|
|
335
|
-
FlagCreatedEvent: EventSpec<SchemaModel<{
|
|
332
|
+
FlagCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
336
333
|
flagId: {
|
|
337
|
-
type: FieldType<string, string>;
|
|
334
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
338
335
|
isOptional: false;
|
|
339
336
|
};
|
|
340
337
|
key: {
|
|
341
|
-
type: FieldType<string, string>;
|
|
338
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
342
339
|
isOptional: false;
|
|
343
340
|
};
|
|
344
341
|
name: {
|
|
345
|
-
type: FieldType<string, string>;
|
|
342
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
346
343
|
isOptional: false;
|
|
347
344
|
};
|
|
348
345
|
status: {
|
|
349
|
-
type: FieldType<string, string>;
|
|
346
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
350
347
|
isOptional: false;
|
|
351
348
|
};
|
|
352
349
|
orgId: {
|
|
353
|
-
type: FieldType<string, string>;
|
|
350
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
354
351
|
isOptional: true;
|
|
355
352
|
};
|
|
356
353
|
createdBy: {
|
|
357
|
-
type: FieldType<string, string>;
|
|
354
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
358
355
|
isOptional: true;
|
|
359
356
|
};
|
|
360
357
|
createdAt: {
|
|
361
|
-
type: FieldType<Date, string>;
|
|
358
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
362
359
|
isOptional: false;
|
|
363
360
|
};
|
|
364
361
|
}>>;
|
|
365
|
-
FlagUpdatedEvent: EventSpec<SchemaModel<{
|
|
362
|
+
FlagUpdatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
366
363
|
flagId: {
|
|
367
|
-
type: FieldType<string, string>;
|
|
364
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
368
365
|
isOptional: false;
|
|
369
366
|
};
|
|
370
367
|
key: {
|
|
371
|
-
type: FieldType<string, string>;
|
|
368
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
372
369
|
isOptional: false;
|
|
373
370
|
};
|
|
374
371
|
changes: {
|
|
375
|
-
type: FieldType<unknown, unknown>;
|
|
372
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
376
373
|
isOptional: false;
|
|
377
374
|
};
|
|
378
375
|
updatedBy: {
|
|
379
|
-
type: FieldType<string, string>;
|
|
376
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
380
377
|
isOptional: true;
|
|
381
378
|
};
|
|
382
379
|
updatedAt: {
|
|
383
|
-
type: FieldType<Date, string>;
|
|
380
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
384
381
|
isOptional: false;
|
|
385
382
|
};
|
|
386
383
|
}>>;
|
|
387
|
-
FlagDeletedEvent: EventSpec<SchemaModel<{
|
|
384
|
+
FlagDeletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
388
385
|
flagId: {
|
|
389
|
-
type: FieldType<string, string>;
|
|
386
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
390
387
|
isOptional: false;
|
|
391
388
|
};
|
|
392
389
|
key: {
|
|
393
|
-
type: FieldType<string, string>;
|
|
390
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
394
391
|
isOptional: false;
|
|
395
392
|
};
|
|
396
393
|
deletedBy: {
|
|
397
|
-
type: FieldType<string, string>;
|
|
394
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
398
395
|
isOptional: true;
|
|
399
396
|
};
|
|
400
397
|
deletedAt: {
|
|
401
|
-
type: FieldType<Date, string>;
|
|
398
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
402
399
|
isOptional: false;
|
|
403
400
|
};
|
|
404
401
|
}>>;
|
|
405
|
-
FlagToggledEvent: EventSpec<SchemaModel<{
|
|
402
|
+
FlagToggledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
406
403
|
flagId: {
|
|
407
|
-
type: FieldType<string, string>;
|
|
404
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
408
405
|
isOptional: false;
|
|
409
406
|
};
|
|
410
407
|
key: {
|
|
411
|
-
type: FieldType<string, string>;
|
|
408
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
412
409
|
isOptional: false;
|
|
413
410
|
};
|
|
414
411
|
previousStatus: {
|
|
415
|
-
type: FieldType<string, string>;
|
|
412
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
416
413
|
isOptional: false;
|
|
417
414
|
};
|
|
418
415
|
newStatus: {
|
|
419
|
-
type: FieldType<string, string>;
|
|
416
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
420
417
|
isOptional: false;
|
|
421
418
|
};
|
|
422
419
|
toggledBy: {
|
|
423
|
-
type: FieldType<string, string>;
|
|
420
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
424
421
|
isOptional: true;
|
|
425
422
|
};
|
|
426
423
|
toggledAt: {
|
|
427
|
-
type: FieldType<Date, string>;
|
|
424
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
428
425
|
isOptional: false;
|
|
429
426
|
};
|
|
430
427
|
}>>;
|
|
431
|
-
RuleCreatedEvent: EventSpec<SchemaModel<{
|
|
428
|
+
RuleCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
432
429
|
ruleId: {
|
|
433
|
-
type: FieldType<string, string>;
|
|
430
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
434
431
|
isOptional: false;
|
|
435
432
|
};
|
|
436
433
|
flagId: {
|
|
437
|
-
type: FieldType<string, string>;
|
|
434
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
438
435
|
isOptional: false;
|
|
439
436
|
};
|
|
440
437
|
flagKey: {
|
|
441
|
-
type: FieldType<string, string>;
|
|
438
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
442
439
|
isOptional: false;
|
|
443
440
|
};
|
|
444
441
|
attribute: {
|
|
445
|
-
type: FieldType<string, string>;
|
|
442
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
446
443
|
isOptional: false;
|
|
447
444
|
};
|
|
448
445
|
operator: {
|
|
449
|
-
type: FieldType<string, string>;
|
|
446
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
450
447
|
isOptional: false;
|
|
451
448
|
};
|
|
452
449
|
createdAt: {
|
|
453
|
-
type: FieldType<Date, string>;
|
|
450
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
454
451
|
isOptional: false;
|
|
455
452
|
};
|
|
456
453
|
}>>;
|
|
457
|
-
RuleDeletedEvent: EventSpec<SchemaModel<{
|
|
454
|
+
RuleDeletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
458
455
|
ruleId: {
|
|
459
|
-
type: FieldType<string, string>;
|
|
456
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
460
457
|
isOptional: false;
|
|
461
458
|
};
|
|
462
459
|
flagId: {
|
|
463
|
-
type: FieldType<string, string>;
|
|
460
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
464
461
|
isOptional: false;
|
|
465
462
|
};
|
|
466
463
|
flagKey: {
|
|
467
|
-
type: FieldType<string, string>;
|
|
464
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
468
465
|
isOptional: false;
|
|
469
466
|
};
|
|
470
467
|
deletedAt: {
|
|
471
|
-
type: FieldType<Date, string>;
|
|
468
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
472
469
|
isOptional: false;
|
|
473
470
|
};
|
|
474
471
|
}>>;
|
|
475
|
-
ExperimentCreatedEvent: EventSpec<SchemaModel<{
|
|
472
|
+
ExperimentCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
476
473
|
experimentId: {
|
|
477
|
-
type: FieldType<string, string>;
|
|
474
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
478
475
|
isOptional: false;
|
|
479
476
|
};
|
|
480
477
|
key: {
|
|
481
|
-
type: FieldType<string, string>;
|
|
478
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
482
479
|
isOptional: false;
|
|
483
480
|
};
|
|
484
481
|
name: {
|
|
485
|
-
type: FieldType<string, string>;
|
|
482
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
486
483
|
isOptional: false;
|
|
487
484
|
};
|
|
488
485
|
flagId: {
|
|
489
|
-
type: FieldType<string, string>;
|
|
486
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
490
487
|
isOptional: false;
|
|
491
488
|
};
|
|
492
489
|
variants: {
|
|
493
|
-
type: FieldType<unknown, unknown>;
|
|
490
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
494
491
|
isOptional: false;
|
|
495
492
|
};
|
|
496
493
|
createdBy: {
|
|
497
|
-
type: FieldType<string, string>;
|
|
494
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
498
495
|
isOptional: true;
|
|
499
496
|
};
|
|
500
497
|
createdAt: {
|
|
501
|
-
type: FieldType<Date, string>;
|
|
498
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
502
499
|
isOptional: false;
|
|
503
500
|
};
|
|
504
501
|
}>>;
|
|
505
|
-
ExperimentStartedEvent: EventSpec<SchemaModel<{
|
|
502
|
+
ExperimentStartedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
506
503
|
experimentId: {
|
|
507
|
-
type: FieldType<string, string>;
|
|
504
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
508
505
|
isOptional: false;
|
|
509
506
|
};
|
|
510
507
|
key: {
|
|
511
|
-
type: FieldType<string, string>;
|
|
508
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
512
509
|
isOptional: false;
|
|
513
510
|
};
|
|
514
511
|
flagId: {
|
|
515
|
-
type: FieldType<string, string>;
|
|
512
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
516
513
|
isOptional: false;
|
|
517
514
|
};
|
|
518
515
|
variants: {
|
|
519
|
-
type: FieldType<unknown, unknown>;
|
|
516
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
520
517
|
isOptional: false;
|
|
521
518
|
};
|
|
522
519
|
audiencePercentage: {
|
|
523
|
-
type: FieldType<number, number>;
|
|
520
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
524
521
|
isOptional: false;
|
|
525
522
|
};
|
|
526
523
|
startedBy: {
|
|
527
|
-
type: FieldType<string, string>;
|
|
524
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
528
525
|
isOptional: true;
|
|
529
526
|
};
|
|
530
527
|
startedAt: {
|
|
531
|
-
type: FieldType<Date, string>;
|
|
528
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
532
529
|
isOptional: false;
|
|
533
530
|
};
|
|
534
531
|
}>>;
|
|
535
|
-
ExperimentStoppedEvent: EventSpec<SchemaModel<{
|
|
532
|
+
ExperimentStoppedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
536
533
|
experimentId: {
|
|
537
|
-
type: FieldType<string, string>;
|
|
534
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
538
535
|
isOptional: false;
|
|
539
536
|
};
|
|
540
537
|
key: {
|
|
541
|
-
type: FieldType<string, string>;
|
|
538
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
542
539
|
isOptional: false;
|
|
543
540
|
};
|
|
544
541
|
reason: {
|
|
545
|
-
type: FieldType<string, string>;
|
|
542
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
546
543
|
isOptional: false;
|
|
547
544
|
};
|
|
548
545
|
winningVariant: {
|
|
549
|
-
type: FieldType<string, string>;
|
|
546
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
550
547
|
isOptional: true;
|
|
551
548
|
};
|
|
552
549
|
stoppedBy: {
|
|
553
|
-
type: FieldType<string, string>;
|
|
550
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
554
551
|
isOptional: true;
|
|
555
552
|
};
|
|
556
553
|
stoppedAt: {
|
|
557
|
-
type: FieldType<Date, string>;
|
|
554
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
558
555
|
isOptional: false;
|
|
559
556
|
};
|
|
560
557
|
}>>;
|
|
561
|
-
FlagEvaluatedEvent: EventSpec<SchemaModel<{
|
|
558
|
+
FlagEvaluatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
562
559
|
flagId: {
|
|
563
|
-
type: FieldType<string, string>;
|
|
560
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
564
561
|
isOptional: false;
|
|
565
562
|
};
|
|
566
563
|
flagKey: {
|
|
567
|
-
type: FieldType<string, string>;
|
|
564
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
568
565
|
isOptional: false;
|
|
569
566
|
};
|
|
570
567
|
subjectType: {
|
|
571
|
-
type: FieldType<string, string>;
|
|
568
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
572
569
|
isOptional: false;
|
|
573
570
|
};
|
|
574
571
|
subjectId: {
|
|
575
|
-
type: FieldType<string, string>;
|
|
572
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
576
573
|
isOptional: false;
|
|
577
574
|
};
|
|
578
575
|
result: {
|
|
579
|
-
type: FieldType<boolean, boolean>;
|
|
576
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
580
577
|
isOptional: false;
|
|
581
578
|
};
|
|
582
579
|
variant: {
|
|
583
|
-
type: FieldType<string, string>;
|
|
580
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
584
581
|
isOptional: true;
|
|
585
582
|
};
|
|
586
583
|
reason: {
|
|
587
|
-
type: FieldType<string, string>;
|
|
584
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
588
585
|
isOptional: false;
|
|
589
586
|
};
|
|
590
587
|
evaluatedAt: {
|
|
591
|
-
type: FieldType<Date, string>;
|
|
588
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
592
589
|
isOptional: false;
|
|
593
590
|
};
|
|
594
591
|
}>>;
|
|
595
|
-
VariantAssignedEvent: EventSpec<SchemaModel<{
|
|
592
|
+
VariantAssignedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
596
593
|
experimentId: {
|
|
597
|
-
type: FieldType<string, string>;
|
|
594
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
598
595
|
isOptional: false;
|
|
599
596
|
};
|
|
600
597
|
experimentKey: {
|
|
601
|
-
type: FieldType<string, string>;
|
|
598
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
602
599
|
isOptional: false;
|
|
603
600
|
};
|
|
604
601
|
subjectType: {
|
|
605
|
-
type: FieldType<string, string>;
|
|
602
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
606
603
|
isOptional: false;
|
|
607
604
|
};
|
|
608
605
|
subjectId: {
|
|
609
|
-
type: FieldType<string, string>;
|
|
606
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
610
607
|
isOptional: false;
|
|
611
608
|
};
|
|
612
609
|
variant: {
|
|
613
|
-
type: FieldType<string, string>;
|
|
610
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
614
611
|
isOptional: false;
|
|
615
612
|
};
|
|
616
613
|
bucket: {
|
|
617
|
-
type: FieldType<number, number>;
|
|
614
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
618
615
|
isOptional: false;
|
|
619
616
|
};
|
|
620
617
|
assignedAt: {
|
|
621
|
-
type: FieldType<Date, string>;
|
|
618
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
622
619
|
isOptional: false;
|
|
623
620
|
};
|
|
624
621
|
}>>;
|