@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.
Files changed (238) hide show
  1. package/dist/contracts/index.d.ts +260 -263
  2. package/dist/contracts/index.d.ts.map +1 -1
  3. package/dist/entities/index.d.ts +159 -159
  4. package/dist/entities/index.d.ts.map +1 -1
  5. package/dist/evaluation/index.d.ts.map +1 -1
  6. package/dist/events.d.ts +158 -161
  7. package/dist/events.d.ts.map +1 -1
  8. package/dist/feature-flags.capability.d.ts +3 -4
  9. package/dist/feature-flags.capability.d.ts.map +1 -1
  10. package/dist/feature-flags.feature.d.ts +2 -3
  11. package/dist/feature-flags.feature.d.ts.map +1 -1
  12. package/package.json +5 -5
  13. package/dist/contracts/src/app-config/lifecycle.d.ts +0 -1
  14. package/dist/contracts/src/app-config/runtime.d.ts +0 -13
  15. package/dist/contracts/src/app-config/spec.d.ts +0 -9
  16. package/dist/contracts/src/app-config/validation.d.ts +0 -8
  17. package/dist/contracts/src/capabilities/capabilities.d.ts +0 -60
  18. package/dist/contracts/src/capabilities/capabilities.d.ts.map +0 -1
  19. package/dist/contracts/src/capabilities/context.d.ts +0 -1
  20. package/dist/contracts/src/capabilities/guards.d.ts +0 -4
  21. package/dist/contracts/src/capabilities/index.d.ts +0 -5
  22. package/dist/contracts/src/capabilities/openbanking.d.ts +0 -1
  23. package/dist/contracts/src/capabilities/validation.d.ts +0 -4
  24. package/dist/contracts/src/client/index.d.ts +0 -1
  25. package/dist/contracts/src/client/react/drivers/rn-reusables.d.ts +0 -1
  26. package/dist/contracts/src/client/react/drivers/shadcn.d.ts +0 -1
  27. package/dist/contracts/src/client/react/feature-render.d.ts +0 -3
  28. package/dist/contracts/src/client/react/form-render.d.ts +0 -4
  29. package/dist/contracts/src/client/react/index.d.ts +0 -4
  30. package/dist/contracts/src/contract-registry/index.d.ts +0 -2
  31. package/dist/contracts/src/contract-registry/schemas.d.ts +0 -2
  32. package/dist/contracts/src/contract-registry/types.d.ts +0 -1
  33. package/dist/contracts/src/data-views/index.d.ts +0 -4
  34. package/dist/contracts/src/data-views/registry.d.ts +0 -2
  35. package/dist/contracts/src/data-views/report/contractVerificationTable.d.ts +0 -1
  36. package/dist/contracts/src/data-views/spec.d.ts +0 -3
  37. package/dist/contracts/src/data-views/types.d.ts +0 -2
  38. package/dist/contracts/src/docs/accessibility_wcag_compliance_specs.docblock.d.ts +0 -1
  39. package/dist/contracts/src/docs/capabilities/documentationSystem.capability.d.ts +0 -1
  40. package/dist/contracts/src/docs/capabilities/index.d.ts +0 -1
  41. package/dist/contracts/src/docs/commands/docsGenerate.command.d.ts +0 -2
  42. package/dist/contracts/src/docs/commands/docsPublish.command.d.ts +0 -2
  43. package/dist/contracts/src/docs/commands/index.d.ts +0 -2
  44. package/dist/contracts/src/docs/contracts.d.ts +0 -7
  45. package/dist/contracts/src/docs/events/docsGenerated.event.d.ts +0 -2
  46. package/dist/contracts/src/docs/events/docsPublished.event.d.ts +0 -2
  47. package/dist/contracts/src/docs/events/index.d.ts +0 -2
  48. package/dist/contracts/src/docs/forms/docsSearch.form.d.ts +0 -2
  49. package/dist/contracts/src/docs/forms/index.d.ts +0 -1
  50. package/dist/contracts/src/docs/index.d.ts +0 -33
  51. package/dist/contracts/src/docs/presentations/docsLayout.presentation.d.ts +0 -1
  52. package/dist/contracts/src/docs/presentations/docsReferencePage.presentation.d.ts +0 -1
  53. package/dist/contracts/src/docs/presentations/index.d.ts +0 -2
  54. package/dist/contracts/src/docs/presentations.d.ts +0 -2
  55. package/dist/contracts/src/docs/queries/contractReference.query.d.ts +0 -2
  56. package/dist/contracts/src/docs/queries/docsIndex.query.d.ts +0 -2
  57. package/dist/contracts/src/docs/queries/index.d.ts +0 -2
  58. package/dist/contracts/src/docs/registry.d.ts +0 -10
  59. package/dist/contracts/src/docs/registry.d.ts.map +0 -1
  60. package/dist/contracts/src/docs/tech/auth/better-auth-nextjs.docblock.d.ts +0 -1
  61. package/dist/contracts/src/docs/tech/contracts/README.docblock.d.ts +0 -1
  62. package/dist/contracts/src/docs/tech/contracts/openapi-export.docblock.d.ts +0 -1
  63. package/dist/contracts/src/docs/tech/contracts/openapi-import.docblock.d.ts +0 -1
  64. package/dist/contracts/src/docs/tech/lifecycle-stage-system.docblock.d.ts +0 -1
  65. package/dist/contracts/src/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
  66. package/dist/contracts/src/docs/tech/mcp-endpoints.docblock.d.ts +0 -1
  67. package/dist/contracts/src/docs/tech/presentation-runtime.docblock.d.ts +0 -1
  68. package/dist/contracts/src/docs/tech/schema/README.docblock.d.ts +0 -1
  69. package/dist/contracts/src/docs/tech/studio/learning-events.docblock.d.ts +0 -1
  70. package/dist/contracts/src/docs/tech/studio/learning-journeys.docblock.d.ts +0 -1
  71. package/dist/contracts/src/docs/tech/studio/platform-admin-panel.docblock.d.ts +0 -1
  72. package/dist/contracts/src/docs/tech/studio/project-access-teams.docblock.d.ts +0 -1
  73. package/dist/contracts/src/docs/tech/studio/project-routing.docblock.d.ts +0 -1
  74. package/dist/contracts/src/docs/tech/studio/sandbox-unlogged.docblock.d.ts +0 -1
  75. package/dist/contracts/src/docs/tech/studio/team-invitations.docblock.d.ts +0 -1
  76. package/dist/contracts/src/docs/tech/studio/workspace-ops.docblock.d.ts +0 -1
  77. package/dist/contracts/src/docs/tech/studio/workspaces.docblock.d.ts +0 -1
  78. package/dist/contracts/src/docs/tech/telemetry-ingest.docblock.d.ts +0 -1
  79. package/dist/contracts/src/docs/tech/vscode-extension.docblock.d.ts +0 -1
  80. package/dist/contracts/src/docs/views/contractReference.dataView.d.ts +0 -1
  81. package/dist/contracts/src/docs/views/docsIndex.dataView.d.ts +0 -1
  82. package/dist/contracts/src/docs/views/exampleCatalog.dataView.d.ts +0 -1
  83. package/dist/contracts/src/docs/views/index.d.ts +0 -3
  84. package/dist/contracts/src/events.d.ts +0 -45
  85. package/dist/contracts/src/events.d.ts.map +0 -1
  86. package/dist/contracts/src/examples/index.d.ts +0 -4
  87. package/dist/contracts/src/examples/registry.d.ts +0 -2
  88. package/dist/contracts/src/examples/schema.d.ts +0 -2
  89. package/dist/contracts/src/examples/types.d.ts +0 -3
  90. package/dist/contracts/src/examples/validation.d.ts +0 -1
  91. package/dist/contracts/src/experiments/evaluator.d.ts +0 -2
  92. package/dist/contracts/src/experiments/spec-resolver.d.ts +0 -4
  93. package/dist/contracts/src/experiments/spec.d.ts +0 -16
  94. package/dist/contracts/src/experiments/spec.d.ts.map +0 -1
  95. package/dist/contracts/src/features/index.d.ts +0 -4
  96. package/dist/contracts/src/features/install.d.ts +0 -6
  97. package/dist/contracts/src/features/registry.d.ts +0 -2
  98. package/dist/contracts/src/features/types.d.ts +0 -80
  99. package/dist/contracts/src/features/types.d.ts.map +0 -1
  100. package/dist/contracts/src/features/validation.d.ts +0 -2
  101. package/dist/contracts/src/forms/forms.d.ts +0 -3
  102. package/dist/contracts/src/forms/index.d.ts +0 -1
  103. package/dist/contracts/src/index.d.ts +0 -53
  104. package/dist/contracts/src/install.d.ts +0 -7
  105. package/dist/contracts/src/integrations/connection.d.ts +0 -1
  106. package/dist/contracts/src/integrations/index.d.ts +0 -6
  107. package/dist/contracts/src/integrations/openbanking/contracts/accounts.d.ts +0 -4
  108. package/dist/contracts/src/integrations/openbanking/contracts/balances.d.ts +0 -4
  109. package/dist/contracts/src/integrations/openbanking/contracts/index.d.ts +0 -5
  110. package/dist/contracts/src/integrations/openbanking/contracts/transactions.d.ts +0 -4
  111. package/dist/contracts/src/integrations/openbanking/guards.d.ts +0 -1
  112. package/dist/contracts/src/integrations/openbanking/models.d.ts +0 -1
  113. package/dist/contracts/src/integrations/openbanking/openbanking.feature.d.ts +0 -1
  114. package/dist/contracts/src/integrations/operations.d.ts +0 -4
  115. package/dist/contracts/src/integrations/providers/elevenlabs.d.ts +0 -2
  116. package/dist/contracts/src/integrations/providers/gcs-storage.d.ts +0 -2
  117. package/dist/contracts/src/integrations/providers/gmail.d.ts +0 -2
  118. package/dist/contracts/src/integrations/providers/google-calendar.d.ts +0 -2
  119. package/dist/contracts/src/integrations/providers/index.d.ts +0 -11
  120. package/dist/contracts/src/integrations/providers/mistral.d.ts +0 -2
  121. package/dist/contracts/src/integrations/providers/postmark.d.ts +0 -2
  122. package/dist/contracts/src/integrations/providers/powens.d.ts +0 -2
  123. package/dist/contracts/src/integrations/providers/qdrant.d.ts +0 -2
  124. package/dist/contracts/src/integrations/providers/registry.d.ts +0 -1
  125. package/dist/contracts/src/integrations/providers/stripe.d.ts +0 -2
  126. package/dist/contracts/src/integrations/providers/twilio-sms.d.ts +0 -2
  127. package/dist/contracts/src/integrations/spec.d.ts +0 -3
  128. package/dist/contracts/src/jsonschema.d.ts +0 -4
  129. package/dist/contracts/src/knowledge/index.d.ts +0 -2
  130. package/dist/contracts/src/knowledge/operations.d.ts +0 -4
  131. package/dist/contracts/src/knowledge/spaces/email-threads.d.ts +0 -1
  132. package/dist/contracts/src/knowledge/spaces/financial-docs.d.ts +0 -1
  133. package/dist/contracts/src/knowledge/spaces/financial-overview.d.ts +0 -1
  134. package/dist/contracts/src/knowledge/spaces/index.d.ts +0 -6
  135. package/dist/contracts/src/knowledge/spaces/product-canon.d.ts +0 -1
  136. package/dist/contracts/src/knowledge/spaces/support-faq.d.ts +0 -1
  137. package/dist/contracts/src/knowledge/spaces/uploaded-docs.d.ts +0 -1
  138. package/dist/contracts/src/knowledge/spec.d.ts +0 -3
  139. package/dist/contracts/src/llm/exporters.d.ts +0 -7
  140. package/dist/contracts/src/llm/index.d.ts +0 -3
  141. package/dist/contracts/src/llm/prompts.d.ts +0 -2
  142. package/dist/contracts/src/llm/types.d.ts +0 -5
  143. package/dist/contracts/src/migrations.d.ts +0 -1
  144. package/dist/contracts/src/model-registry.d.ts +0 -1
  145. package/dist/contracts/src/onboarding-base.d.ts +0 -2
  146. package/dist/contracts/src/openapi.d.ts +0 -1
  147. package/dist/contracts/src/operations/index.d.ts +0 -3
  148. package/dist/contracts/src/operations/operation.d.ts +0 -176
  149. package/dist/contracts/src/operations/operation.d.ts.map +0 -1
  150. package/dist/contracts/src/operations/registry.d.ts +0 -6
  151. package/dist/contracts/src/operations/report/getContractVerificationStatus.d.ts +0 -3
  152. package/dist/contracts/src/operations/report/index.d.ts +0 -4
  153. package/dist/contracts/src/ownership.d.ts +0 -164
  154. package/dist/contracts/src/ownership.d.ts.map +0 -1
  155. package/dist/contracts/src/policy/engine.d.ts +0 -3
  156. package/dist/contracts/src/policy/guards.d.ts +0 -1
  157. package/dist/contracts/src/policy/index.d.ts +0 -6
  158. package/dist/contracts/src/policy/opa-adapter.d.ts +0 -3
  159. package/dist/contracts/src/policy/registry.d.ts +0 -2
  160. package/dist/contracts/src/policy/spec.d.ts +0 -13
  161. package/dist/contracts/src/policy/spec.d.ts.map +0 -1
  162. package/dist/contracts/src/policy/validation.d.ts +0 -3
  163. package/dist/contracts/src/presentations/index.d.ts +0 -3
  164. package/dist/contracts/src/presentations/presentations.d.ts +0 -10
  165. package/dist/contracts/src/presentations/presentations.d.ts.map +0 -1
  166. package/dist/contracts/src/presentations/registry.d.ts +0 -2
  167. package/dist/contracts/src/presentations/transform-engine.d.ts +0 -2
  168. package/dist/contracts/src/prompt.d.ts +0 -2
  169. package/dist/contracts/src/promptRegistry.d.ts +0 -2
  170. package/dist/contracts/src/regenerator/adapters.d.ts +0 -1
  171. package/dist/contracts/src/regenerator/executor.d.ts +0 -1
  172. package/dist/contracts/src/regenerator/index.d.ts +0 -6
  173. package/dist/contracts/src/regenerator/service.d.ts +0 -2
  174. package/dist/contracts/src/regenerator/sinks.d.ts +0 -2
  175. package/dist/contracts/src/regenerator/types.d.ts +0 -3
  176. package/dist/contracts/src/regenerator/utils.d.ts +0 -1
  177. package/dist/contracts/src/registry-utils.d.ts +0 -1
  178. package/dist/contracts/src/registry.d.ts +0 -3
  179. package/dist/contracts/src/resources.d.ts +0 -19
  180. package/dist/contracts/src/resources.d.ts.map +0 -1
  181. package/dist/contracts/src/schema-to-markdown.d.ts +0 -1
  182. package/dist/contracts/src/serialization/index.d.ts +0 -1
  183. package/dist/contracts/src/serialization/serializers.d.ts +0 -7
  184. package/dist/contracts/src/server/graphql-pothos.d.ts +0 -7
  185. package/dist/contracts/src/server/index.d.ts +0 -7
  186. package/dist/contracts/src/server/mcp/createMcpServer.d.ts +0 -5
  187. package/dist/contracts/src/server/mcp/mcpTypes.d.ts +0 -2
  188. package/dist/contracts/src/server/provider-mcp.d.ts +0 -1
  189. package/dist/contracts/src/server/rest-elysia.d.ts +0 -3
  190. package/dist/contracts/src/server/rest-express.d.ts +0 -3
  191. package/dist/contracts/src/server/rest-generic.d.ts +0 -2
  192. package/dist/contracts/src/server/rest-next-app.d.ts +0 -3
  193. package/dist/contracts/src/server/rest-next-pages.d.ts +0 -3
  194. package/dist/contracts/src/telemetry/anomaly.d.ts +0 -2
  195. package/dist/contracts/src/telemetry/index.d.ts +0 -3
  196. package/dist/contracts/src/telemetry/spec.d.ts +0 -2
  197. package/dist/contracts/src/telemetry/tracker.d.ts +0 -3
  198. package/dist/contracts/src/tests/index.d.ts +0 -2
  199. package/dist/contracts/src/tests/runner.d.ts +0 -3
  200. package/dist/contracts/src/tests/spec.d.ts +0 -13
  201. package/dist/contracts/src/tests/spec.d.ts.map +0 -1
  202. package/dist/contracts/src/themes.d.ts +0 -2
  203. package/dist/contracts/src/types.d.ts +0 -5
  204. package/dist/contracts/src/versioning/refs.d.ts +0 -47
  205. package/dist/contracts/src/versioning/refs.d.ts.map +0 -1
  206. package/dist/contracts/src/workflow/adapters/db-adapter.d.ts +0 -1
  207. package/dist/contracts/src/workflow/adapters/file-adapter.d.ts +0 -1
  208. package/dist/contracts/src/workflow/adapters/index.d.ts +0 -3
  209. package/dist/contracts/src/workflow/adapters/memory-store.d.ts +0 -1
  210. package/dist/contracts/src/workflow/context.d.ts +0 -2
  211. package/dist/contracts/src/workflow/index.d.ts +0 -8
  212. package/dist/contracts/src/workflow/overview.docblock.d.ts +0 -1
  213. package/dist/contracts/src/workflow/runner.d.ts +0 -5
  214. package/dist/contracts/src/workflow/sla-monitor.d.ts +0 -2
  215. package/dist/contracts/src/workflow/spec.d.ts +0 -6
  216. package/dist/contracts/src/workflow/state.d.ts +0 -1
  217. package/dist/contracts/src/workflow/validation.d.ts +0 -5
  218. package/dist/contracts/src/workspace-config/contractsrc-schema.d.ts +0 -1
  219. package/dist/contracts/src/workspace-config/index.d.ts +0 -1
  220. package/dist/contracts/src/workspace-config/workspace-config.docblock.d.ts +0 -1
  221. package/dist/schema/src/EnumType.d.ts +0 -36
  222. package/dist/schema/src/EnumType.d.ts.map +0 -1
  223. package/dist/schema/src/FieldType.d.ts +0 -30
  224. package/dist/schema/src/FieldType.d.ts.map +0 -1
  225. package/dist/schema/src/GraphQLSchemaType.d.ts +0 -2
  226. package/dist/schema/src/JsonSchemaType.d.ts +0 -2
  227. package/dist/schema/src/ScalarTypeEnum.d.ts +0 -1
  228. package/dist/schema/src/SchemaModel.d.ts +0 -70
  229. package/dist/schema/src/SchemaModel.d.ts.map +0 -1
  230. package/dist/schema/src/SchemaModelType.d.ts +0 -38
  231. package/dist/schema/src/SchemaModelType.d.ts.map +0 -1
  232. package/dist/schema/src/ZodSchemaType.d.ts +0 -2
  233. package/dist/schema/src/entity/defineEntity.d.ts +0 -1
  234. package/dist/schema/src/entity/generator.d.ts +0 -1
  235. package/dist/schema/src/entity/index.d.ts +0 -3
  236. package/dist/schema/src/entity/types.d.ts +0 -146
  237. package/dist/schema/src/entity/types.d.ts.map +0 -1
  238. package/dist/schema/src/index.d.ts +0 -10
package/dist/events.d.ts CHANGED
@@ -1,330 +1,327 @@
1
- import { FieldType } from "./schema/src/FieldType.js";
2
- import { SchemaModel } from "./schema/src/SchemaModel.js";
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
  }>>;