@lssm/lib.feature-flags 0.0.0-canary-20251217080011 → 0.0.0-canary-20251219202229
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/LICENSE +21 -0
- package/README.md +2 -0
- package/dist/contracts/dist/capabilities/openbanking.js +2 -1
- package/dist/contracts/dist/capabilities/openbanking.js.map +1 -0
- package/dist/contracts/dist/contract-registry/schemas.js +2 -1
- package/dist/contracts/dist/contract-registry/schemas.js.map +1 -0
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/index.js +2 -6
- package/dist/contracts/dist/docs/meta.docs.js +30 -0
- package/dist/contracts/dist/docs/meta.docs.js.map +1 -0
- package/dist/contracts/dist/docs/presentations.js +2 -1
- package/dist/contracts/dist/docs/presentations.js.map +1 -0
- package/dist/contracts/dist/docs/registry.js +2 -1
- package/dist/contracts/dist/docs/registry.js.map +1 -0
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech-contracts.docs.js +97 -0
- package/dist/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
- package/dist/contracts/dist/events.js +2 -1
- package/dist/contracts/dist/events.js.map +1 -0
- package/dist/contracts/dist/index.js +2 -1
- package/dist/contracts/dist/integrations/contracts.js +65 -66
- package/dist/contracts/dist/integrations/contracts.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/models.js +60 -61
- package/dist/contracts/dist/integrations/openbanking/models.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/telemetry.js +2 -1
- package/dist/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/elevenlabs.js +2 -1
- package/dist/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/gcs-storage.js +2 -1
- package/dist/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/gmail.js +2 -1
- package/dist/contracts/dist/integrations/providers/gmail.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/google-calendar.js +2 -1
- package/dist/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/mistral.js +2 -1
- package/dist/contracts/dist/integrations/providers/mistral.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/postmark.js +2 -1
- package/dist/contracts/dist/integrations/providers/postmark.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/powens.js +2 -1
- package/dist/contracts/dist/integrations/providers/powens.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/qdrant.js +2 -1
- package/dist/contracts/dist/integrations/providers/qdrant.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/stripe.js +2 -1
- package/dist/contracts/dist/integrations/providers/stripe.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/twilio-sms.js +2 -1
- package/dist/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
- package/dist/contracts/dist/knowledge/contracts.js +44 -45
- package/dist/contracts/dist/knowledge/contracts.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/email-threads.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/product-canon.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/support-faq.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
- package/dist/contracts/dist/llm/exporters.js +2 -1
- package/dist/contracts/dist/llm/exporters.js.map +1 -0
- package/dist/contracts/dist/onboarding-base.js +22 -23
- package/dist/contracts/dist/onboarding-base.js.map +1 -0
- package/dist/contracts/dist/ownership.js +4 -2
- package/dist/contracts/dist/ownership.js.map +1 -0
- package/dist/contracts/dist/presentations.v2.js +2 -1
- package/dist/contracts/dist/presentations.v2.js.map +1 -0
- package/dist/contracts/dist/regenerator/service.js +2 -1
- package/dist/contracts/dist/regenerator/service.js.map +1 -0
- package/dist/contracts/dist/schema/dist/index.js +3873 -6
- package/dist/contracts/dist/schema/dist/index.js.map +1 -0
- package/dist/contracts/dist/spec.js +2 -1
- package/dist/contracts/dist/spec.js.map +1 -0
- package/dist/contracts/index.d.ts +261 -260
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +117 -118
- package/dist/contracts/index.js.map +1 -0
- package/dist/docs/feature-flags.docblock.js +2 -1
- package/dist/docs/feature-flags.docblock.js.map +1 -0
- package/dist/entities/index.d.ts +160 -159
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +93 -93
- package/dist/entities/index.js.map +1 -0
- package/dist/evaluation/index.d.ts +2 -1
- package/dist/evaluation/index.d.ts.map +1 -0
- package/dist/evaluation/index.js +2 -1
- package/dist/evaluation/index.js.map +1 -0
- package/dist/events.d.ts +2 -1
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +81 -82
- package/dist/events.js.map +1 -0
- package/dist/feature-flags.feature.d.ts +2 -1
- package/dist/feature-flags.feature.d.ts.map +1 -0
- package/dist/feature-flags.feature.js +2 -1
- package/dist/feature-flags.feature.js.map +1 -0
- package/dist/schema/dist/index.js +4889 -6
- package/dist/schema/dist/index.js.map +1 -0
- package/package.json +7 -6
- package/dist/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -236
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/contracts/index.ts"],"sourcesContent":[],"mappings":";;;;cAOa,sCAAgB;;UAgB3B,mBAAA,CAAA;;EAhBW,CAAA;EAgBX,GAAA,EAAA;;;;;;;;;;;;;uCAhB2B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAkBhB,CAAA;EAmBX,YAAA,EAAA;;;;;;;;;;;;EAnB6B,IAAA,EAAA;IAqBlB,IAAA,+BA0BX,CAAA,OAAA,EAAA,OAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;;cA/CW,wCAAkB;;UAmB7B,mBAAA,CAAA;;;;;qBAE0B;EAAA,CAAA;EA4Bf,IAAA,EAAA;IAUX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;qBAVgC;EAAA,CAAA;EA2LrB,OAAA,EAAA;IA0BX,IAAA,+BAAA,CAAA,OAAA,EAAA,OAAA,CAAA;;;;;;;;IA1B6B,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;EAAA,YAAA,EAAA;IA+BlB,IAAA,+BA0BX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBjB,4CAAoB,iCAAA;;UA0B/B,mBAAA,CAAA;;;;;;;;;UA1B+B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cA+BpB,0CAAkB,iCAAA;;UAgC7B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAhC6B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqClB,0CAAkB,iCAAA;;UA0B7B,mBAAA,CAAA;;;;;UA1B6B,mBAAA,CAAA;;;;;;;cA+BlB,gDAAwB,iCAAA;;UAsCnC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAtCmC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CxB,+CAAuB,iCAAA;;UAgClC,mBAAA,CAAA;;;;;UAhCkC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCvB,8CAAsB,iCAAA;;UAgCjC,mBAAA,CAAA;;;;;;;;;;;;;UAhCiC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCtB,6CAAqB,iCAAA;;UA0BhC,mBAAA,CAAA;;;;;UA1BgC,mBAAA,CAAA"}
|
package/dist/contracts/index.js
CHANGED
|
@@ -1,330 +1,328 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineSchemaModel } from "../schema/dist/SchemaModel.js";
|
|
3
|
-
import "../schema/dist/index.js";
|
|
1
|
+
import { E5, K5 } from "../schema/dist/index.js";
|
|
4
2
|
import { defineCommand, defineQuery } from "./dist/spec.js";
|
|
5
3
|
import "./dist/index.js";
|
|
6
4
|
|
|
7
5
|
//#region src/contracts/index.ts
|
|
8
6
|
const OWNERS = ["platform.feature-flags"];
|
|
9
|
-
const FeatureFlagModel =
|
|
7
|
+
const FeatureFlagModel = K5({
|
|
10
8
|
name: "FeatureFlag",
|
|
11
9
|
description: "Represents a feature flag",
|
|
12
10
|
fields: {
|
|
13
11
|
id: {
|
|
14
|
-
type:
|
|
12
|
+
type: E5.String_unsecure(),
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
key: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.String_unsecure(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
},
|
|
21
19
|
name: {
|
|
22
|
-
type:
|
|
20
|
+
type: E5.String_unsecure(),
|
|
23
21
|
isOptional: false
|
|
24
22
|
},
|
|
25
23
|
description: {
|
|
26
|
-
type:
|
|
24
|
+
type: E5.String_unsecure(),
|
|
27
25
|
isOptional: true
|
|
28
26
|
},
|
|
29
27
|
status: {
|
|
30
|
-
type:
|
|
28
|
+
type: E5.String_unsecure(),
|
|
31
29
|
isOptional: false
|
|
32
30
|
},
|
|
33
31
|
defaultValue: {
|
|
34
|
-
type:
|
|
32
|
+
type: E5.Boolean(),
|
|
35
33
|
isOptional: false
|
|
36
34
|
},
|
|
37
35
|
variants: {
|
|
38
|
-
type:
|
|
36
|
+
type: E5.JSON(),
|
|
39
37
|
isOptional: true
|
|
40
38
|
},
|
|
41
39
|
orgId: {
|
|
42
|
-
type:
|
|
40
|
+
type: E5.String_unsecure(),
|
|
43
41
|
isOptional: true
|
|
44
42
|
},
|
|
45
43
|
tags: {
|
|
46
|
-
type:
|
|
44
|
+
type: E5.JSON(),
|
|
47
45
|
isOptional: true
|
|
48
46
|
},
|
|
49
47
|
createdAt: {
|
|
50
|
-
type:
|
|
48
|
+
type: E5.DateTime(),
|
|
51
49
|
isOptional: false
|
|
52
50
|
},
|
|
53
51
|
updatedAt: {
|
|
54
|
-
type:
|
|
52
|
+
type: E5.DateTime(),
|
|
55
53
|
isOptional: false
|
|
56
54
|
}
|
|
57
55
|
}
|
|
58
56
|
});
|
|
59
|
-
const TargetingRuleModel =
|
|
57
|
+
const TargetingRuleModel = K5({
|
|
60
58
|
name: "TargetingRule",
|
|
61
59
|
description: "Represents a targeting rule",
|
|
62
60
|
fields: {
|
|
63
61
|
id: {
|
|
64
|
-
type:
|
|
62
|
+
type: E5.String_unsecure(),
|
|
65
63
|
isOptional: false
|
|
66
64
|
},
|
|
67
65
|
flagId: {
|
|
68
|
-
type:
|
|
66
|
+
type: E5.String_unsecure(),
|
|
69
67
|
isOptional: false
|
|
70
68
|
},
|
|
71
69
|
name: {
|
|
72
|
-
type:
|
|
70
|
+
type: E5.String_unsecure(),
|
|
73
71
|
isOptional: true
|
|
74
72
|
},
|
|
75
73
|
priority: {
|
|
76
|
-
type:
|
|
74
|
+
type: E5.Int_unsecure(),
|
|
77
75
|
isOptional: false
|
|
78
76
|
},
|
|
79
77
|
enabled: {
|
|
80
|
-
type:
|
|
78
|
+
type: E5.Boolean(),
|
|
81
79
|
isOptional: false
|
|
82
80
|
},
|
|
83
81
|
attribute: {
|
|
84
|
-
type:
|
|
82
|
+
type: E5.String_unsecure(),
|
|
85
83
|
isOptional: false
|
|
86
84
|
},
|
|
87
85
|
operator: {
|
|
88
|
-
type:
|
|
86
|
+
type: E5.String_unsecure(),
|
|
89
87
|
isOptional: false
|
|
90
88
|
},
|
|
91
89
|
value: {
|
|
92
|
-
type:
|
|
90
|
+
type: E5.JSON(),
|
|
93
91
|
isOptional: false
|
|
94
92
|
},
|
|
95
93
|
rolloutPercentage: {
|
|
96
|
-
type:
|
|
94
|
+
type: E5.Int_unsecure(),
|
|
97
95
|
isOptional: true
|
|
98
96
|
},
|
|
99
97
|
serveValue: {
|
|
100
|
-
type:
|
|
98
|
+
type: E5.Boolean(),
|
|
101
99
|
isOptional: true
|
|
102
100
|
},
|
|
103
101
|
serveVariant: {
|
|
104
|
-
type:
|
|
102
|
+
type: E5.String_unsecure(),
|
|
105
103
|
isOptional: true
|
|
106
104
|
}
|
|
107
105
|
}
|
|
108
106
|
});
|
|
109
|
-
const ExperimentModel =
|
|
107
|
+
const ExperimentModel = K5({
|
|
110
108
|
name: "Experiment",
|
|
111
109
|
description: "Represents an experiment",
|
|
112
110
|
fields: {
|
|
113
111
|
id: {
|
|
114
|
-
type:
|
|
112
|
+
type: E5.String_unsecure(),
|
|
115
113
|
isOptional: false
|
|
116
114
|
},
|
|
117
115
|
key: {
|
|
118
|
-
type:
|
|
116
|
+
type: E5.String_unsecure(),
|
|
119
117
|
isOptional: false
|
|
120
118
|
},
|
|
121
119
|
name: {
|
|
122
|
-
type:
|
|
120
|
+
type: E5.String_unsecure(),
|
|
123
121
|
isOptional: false
|
|
124
122
|
},
|
|
125
123
|
description: {
|
|
126
|
-
type:
|
|
124
|
+
type: E5.String_unsecure(),
|
|
127
125
|
isOptional: true
|
|
128
126
|
},
|
|
129
127
|
hypothesis: {
|
|
130
|
-
type:
|
|
128
|
+
type: E5.String_unsecure(),
|
|
131
129
|
isOptional: true
|
|
132
130
|
},
|
|
133
131
|
flagId: {
|
|
134
|
-
type:
|
|
132
|
+
type: E5.String_unsecure(),
|
|
135
133
|
isOptional: false
|
|
136
134
|
},
|
|
137
135
|
status: {
|
|
138
|
-
type:
|
|
136
|
+
type: E5.String_unsecure(),
|
|
139
137
|
isOptional: false
|
|
140
138
|
},
|
|
141
139
|
variants: {
|
|
142
|
-
type:
|
|
140
|
+
type: E5.JSON(),
|
|
143
141
|
isOptional: false
|
|
144
142
|
},
|
|
145
143
|
metrics: {
|
|
146
|
-
type:
|
|
144
|
+
type: E5.JSON(),
|
|
147
145
|
isOptional: true
|
|
148
146
|
},
|
|
149
147
|
audiencePercentage: {
|
|
150
|
-
type:
|
|
148
|
+
type: E5.Int_unsecure(),
|
|
151
149
|
isOptional: false
|
|
152
150
|
},
|
|
153
151
|
startedAt: {
|
|
154
|
-
type:
|
|
152
|
+
type: E5.DateTime(),
|
|
155
153
|
isOptional: true
|
|
156
154
|
},
|
|
157
155
|
endedAt: {
|
|
158
|
-
type:
|
|
156
|
+
type: E5.DateTime(),
|
|
159
157
|
isOptional: true
|
|
160
158
|
},
|
|
161
159
|
winningVariant: {
|
|
162
|
-
type:
|
|
160
|
+
type: E5.String_unsecure(),
|
|
163
161
|
isOptional: true
|
|
164
162
|
},
|
|
165
163
|
results: {
|
|
166
|
-
type:
|
|
164
|
+
type: E5.JSON(),
|
|
167
165
|
isOptional: true
|
|
168
166
|
},
|
|
169
167
|
createdAt: {
|
|
170
|
-
type:
|
|
168
|
+
type: E5.DateTime(),
|
|
171
169
|
isOptional: false
|
|
172
170
|
}
|
|
173
171
|
}
|
|
174
172
|
});
|
|
175
|
-
const EvaluationResultModel =
|
|
173
|
+
const EvaluationResultModel = K5({
|
|
176
174
|
name: "EvaluationResult",
|
|
177
175
|
description: "Result of flag evaluation",
|
|
178
176
|
fields: {
|
|
179
177
|
enabled: {
|
|
180
|
-
type:
|
|
178
|
+
type: E5.Boolean(),
|
|
181
179
|
isOptional: false
|
|
182
180
|
},
|
|
183
181
|
variant: {
|
|
184
|
-
type:
|
|
182
|
+
type: E5.String_unsecure(),
|
|
185
183
|
isOptional: true
|
|
186
184
|
},
|
|
187
185
|
reason: {
|
|
188
|
-
type:
|
|
186
|
+
type: E5.String_unsecure(),
|
|
189
187
|
isOptional: false
|
|
190
188
|
},
|
|
191
189
|
ruleId: {
|
|
192
|
-
type:
|
|
190
|
+
type: E5.String_unsecure(),
|
|
193
191
|
isOptional: true
|
|
194
192
|
},
|
|
195
193
|
experimentId: {
|
|
196
|
-
type:
|
|
194
|
+
type: E5.String_unsecure(),
|
|
197
195
|
isOptional: true
|
|
198
196
|
}
|
|
199
197
|
}
|
|
200
198
|
});
|
|
201
|
-
const CreateFlagInput =
|
|
199
|
+
const CreateFlagInput = K5({
|
|
202
200
|
name: "CreateFlagInput",
|
|
203
201
|
description: "Input for creating a feature flag",
|
|
204
202
|
fields: {
|
|
205
203
|
key: {
|
|
206
|
-
type:
|
|
204
|
+
type: E5.String_unsecure(),
|
|
207
205
|
isOptional: false
|
|
208
206
|
},
|
|
209
207
|
name: {
|
|
210
|
-
type:
|
|
208
|
+
type: E5.String_unsecure(),
|
|
211
209
|
isOptional: false
|
|
212
210
|
},
|
|
213
211
|
description: {
|
|
214
|
-
type:
|
|
212
|
+
type: E5.String_unsecure(),
|
|
215
213
|
isOptional: true
|
|
216
214
|
},
|
|
217
215
|
defaultValue: {
|
|
218
|
-
type:
|
|
216
|
+
type: E5.Boolean(),
|
|
219
217
|
isOptional: true
|
|
220
218
|
},
|
|
221
219
|
variants: {
|
|
222
|
-
type:
|
|
220
|
+
type: E5.JSON(),
|
|
223
221
|
isOptional: true
|
|
224
222
|
},
|
|
225
223
|
orgId: {
|
|
226
|
-
type:
|
|
224
|
+
type: E5.String_unsecure(),
|
|
227
225
|
isOptional: true
|
|
228
226
|
},
|
|
229
227
|
tags: {
|
|
230
|
-
type:
|
|
228
|
+
type: E5.JSON(),
|
|
231
229
|
isOptional: true
|
|
232
230
|
}
|
|
233
231
|
}
|
|
234
232
|
});
|
|
235
|
-
const UpdateFlagInput =
|
|
233
|
+
const UpdateFlagInput = K5({
|
|
236
234
|
name: "UpdateFlagInput",
|
|
237
235
|
description: "Input for updating a feature flag",
|
|
238
236
|
fields: {
|
|
239
237
|
flagId: {
|
|
240
|
-
type:
|
|
238
|
+
type: E5.String_unsecure(),
|
|
241
239
|
isOptional: false
|
|
242
240
|
},
|
|
243
241
|
name: {
|
|
244
|
-
type:
|
|
242
|
+
type: E5.String_unsecure(),
|
|
245
243
|
isOptional: true
|
|
246
244
|
},
|
|
247
245
|
description: {
|
|
248
|
-
type:
|
|
246
|
+
type: E5.String_unsecure(),
|
|
249
247
|
isOptional: true
|
|
250
248
|
},
|
|
251
249
|
defaultValue: {
|
|
252
|
-
type:
|
|
250
|
+
type: E5.Boolean(),
|
|
253
251
|
isOptional: true
|
|
254
252
|
},
|
|
255
253
|
variants: {
|
|
256
|
-
type:
|
|
254
|
+
type: E5.JSON(),
|
|
257
255
|
isOptional: true
|
|
258
256
|
},
|
|
259
257
|
tags: {
|
|
260
|
-
type:
|
|
258
|
+
type: E5.JSON(),
|
|
261
259
|
isOptional: true
|
|
262
260
|
}
|
|
263
261
|
}
|
|
264
262
|
});
|
|
265
|
-
const DeleteFlagInput =
|
|
263
|
+
const DeleteFlagInput = K5({
|
|
266
264
|
name: "DeleteFlagInput",
|
|
267
265
|
description: "Input for deleting a feature flag",
|
|
268
266
|
fields: { flagId: {
|
|
269
|
-
type:
|
|
267
|
+
type: E5.String_unsecure(),
|
|
270
268
|
isOptional: false
|
|
271
269
|
} }
|
|
272
270
|
});
|
|
273
|
-
const ToggleFlagInput =
|
|
271
|
+
const ToggleFlagInput = K5({
|
|
274
272
|
name: "ToggleFlagInput",
|
|
275
273
|
description: "Input for toggling a feature flag",
|
|
276
274
|
fields: {
|
|
277
275
|
flagId: {
|
|
278
|
-
type:
|
|
276
|
+
type: E5.String_unsecure(),
|
|
279
277
|
isOptional: false
|
|
280
278
|
},
|
|
281
279
|
status: {
|
|
282
|
-
type:
|
|
280
|
+
type: E5.String_unsecure(),
|
|
283
281
|
isOptional: false
|
|
284
282
|
}
|
|
285
283
|
}
|
|
286
284
|
});
|
|
287
|
-
const GetFlagInput =
|
|
285
|
+
const GetFlagInput = K5({
|
|
288
286
|
name: "GetFlagInput",
|
|
289
287
|
description: "Input for getting a feature flag",
|
|
290
288
|
fields: {
|
|
291
289
|
key: {
|
|
292
|
-
type:
|
|
290
|
+
type: E5.String_unsecure(),
|
|
293
291
|
isOptional: false
|
|
294
292
|
},
|
|
295
293
|
orgId: {
|
|
296
|
-
type:
|
|
294
|
+
type: E5.String_unsecure(),
|
|
297
295
|
isOptional: true
|
|
298
296
|
}
|
|
299
297
|
}
|
|
300
298
|
});
|
|
301
|
-
const ListFlagsInput =
|
|
299
|
+
const ListFlagsInput = K5({
|
|
302
300
|
name: "ListFlagsInput",
|
|
303
301
|
description: "Input for listing feature flags",
|
|
304
302
|
fields: {
|
|
305
303
|
orgId: {
|
|
306
|
-
type:
|
|
304
|
+
type: E5.String_unsecure(),
|
|
307
305
|
isOptional: true
|
|
308
306
|
},
|
|
309
307
|
status: {
|
|
310
|
-
type:
|
|
308
|
+
type: E5.String_unsecure(),
|
|
311
309
|
isOptional: true
|
|
312
310
|
},
|
|
313
311
|
tags: {
|
|
314
|
-
type:
|
|
312
|
+
type: E5.JSON(),
|
|
315
313
|
isOptional: true
|
|
316
314
|
},
|
|
317
315
|
limit: {
|
|
318
|
-
type:
|
|
316
|
+
type: E5.Int_unsecure(),
|
|
319
317
|
isOptional: true
|
|
320
318
|
},
|
|
321
319
|
offset: {
|
|
322
|
-
type:
|
|
320
|
+
type: E5.Int_unsecure(),
|
|
323
321
|
isOptional: true
|
|
324
322
|
}
|
|
325
323
|
}
|
|
326
324
|
});
|
|
327
|
-
const ListFlagsOutput =
|
|
325
|
+
const ListFlagsOutput = K5({
|
|
328
326
|
name: "ListFlagsOutput",
|
|
329
327
|
description: "Output for listing feature flags",
|
|
330
328
|
fields: {
|
|
@@ -334,164 +332,164 @@ const ListFlagsOutput = defineSchemaModel({
|
|
|
334
332
|
isOptional: false
|
|
335
333
|
},
|
|
336
334
|
total: {
|
|
337
|
-
type:
|
|
335
|
+
type: E5.Int_unsecure(),
|
|
338
336
|
isOptional: false
|
|
339
337
|
}
|
|
340
338
|
}
|
|
341
339
|
});
|
|
342
|
-
const EvaluateFlagInput =
|
|
340
|
+
const EvaluateFlagInput = K5({
|
|
343
341
|
name: "EvaluateFlagInput",
|
|
344
342
|
description: "Input for evaluating a feature flag",
|
|
345
343
|
fields: {
|
|
346
344
|
key: {
|
|
347
|
-
type:
|
|
345
|
+
type: E5.String_unsecure(),
|
|
348
346
|
isOptional: false
|
|
349
347
|
},
|
|
350
348
|
context: {
|
|
351
|
-
type:
|
|
349
|
+
type: E5.JSON(),
|
|
352
350
|
isOptional: false
|
|
353
351
|
}
|
|
354
352
|
}
|
|
355
353
|
});
|
|
356
|
-
const CreateRuleInput =
|
|
354
|
+
const CreateRuleInput = K5({
|
|
357
355
|
name: "CreateRuleInput",
|
|
358
356
|
description: "Input for creating a targeting rule",
|
|
359
357
|
fields: {
|
|
360
358
|
flagId: {
|
|
361
|
-
type:
|
|
359
|
+
type: E5.String_unsecure(),
|
|
362
360
|
isOptional: false
|
|
363
361
|
},
|
|
364
362
|
name: {
|
|
365
|
-
type:
|
|
363
|
+
type: E5.String_unsecure(),
|
|
366
364
|
isOptional: true
|
|
367
365
|
},
|
|
368
366
|
priority: {
|
|
369
|
-
type:
|
|
367
|
+
type: E5.Int_unsecure(),
|
|
370
368
|
isOptional: true
|
|
371
369
|
},
|
|
372
370
|
attribute: {
|
|
373
|
-
type:
|
|
371
|
+
type: E5.String_unsecure(),
|
|
374
372
|
isOptional: false
|
|
375
373
|
},
|
|
376
374
|
operator: {
|
|
377
|
-
type:
|
|
375
|
+
type: E5.String_unsecure(),
|
|
378
376
|
isOptional: false
|
|
379
377
|
},
|
|
380
378
|
value: {
|
|
381
|
-
type:
|
|
379
|
+
type: E5.JSON(),
|
|
382
380
|
isOptional: false
|
|
383
381
|
},
|
|
384
382
|
rolloutPercentage: {
|
|
385
|
-
type:
|
|
383
|
+
type: E5.Int_unsecure(),
|
|
386
384
|
isOptional: true
|
|
387
385
|
},
|
|
388
386
|
serveValue: {
|
|
389
|
-
type:
|
|
387
|
+
type: E5.Boolean(),
|
|
390
388
|
isOptional: true
|
|
391
389
|
},
|
|
392
390
|
serveVariant: {
|
|
393
|
-
type:
|
|
391
|
+
type: E5.String_unsecure(),
|
|
394
392
|
isOptional: true
|
|
395
393
|
}
|
|
396
394
|
}
|
|
397
395
|
});
|
|
398
|
-
const DeleteRuleInput =
|
|
396
|
+
const DeleteRuleInput = K5({
|
|
399
397
|
name: "DeleteRuleInput",
|
|
400
398
|
description: "Input for deleting a targeting rule",
|
|
401
399
|
fields: { ruleId: {
|
|
402
|
-
type:
|
|
400
|
+
type: E5.String_unsecure(),
|
|
403
401
|
isOptional: false
|
|
404
402
|
} }
|
|
405
403
|
});
|
|
406
|
-
const CreateExperimentInput =
|
|
404
|
+
const CreateExperimentInput = K5({
|
|
407
405
|
name: "CreateExperimentInput",
|
|
408
406
|
description: "Input for creating an experiment",
|
|
409
407
|
fields: {
|
|
410
408
|
key: {
|
|
411
|
-
type:
|
|
409
|
+
type: E5.String_unsecure(),
|
|
412
410
|
isOptional: false
|
|
413
411
|
},
|
|
414
412
|
name: {
|
|
415
|
-
type:
|
|
413
|
+
type: E5.String_unsecure(),
|
|
416
414
|
isOptional: false
|
|
417
415
|
},
|
|
418
416
|
description: {
|
|
419
|
-
type:
|
|
417
|
+
type: E5.String_unsecure(),
|
|
420
418
|
isOptional: true
|
|
421
419
|
},
|
|
422
420
|
hypothesis: {
|
|
423
|
-
type:
|
|
421
|
+
type: E5.String_unsecure(),
|
|
424
422
|
isOptional: true
|
|
425
423
|
},
|
|
426
424
|
flagId: {
|
|
427
|
-
type:
|
|
425
|
+
type: E5.String_unsecure(),
|
|
428
426
|
isOptional: false
|
|
429
427
|
},
|
|
430
428
|
variants: {
|
|
431
|
-
type:
|
|
429
|
+
type: E5.JSON(),
|
|
432
430
|
isOptional: false
|
|
433
431
|
},
|
|
434
432
|
metrics: {
|
|
435
|
-
type:
|
|
433
|
+
type: E5.JSON(),
|
|
436
434
|
isOptional: true
|
|
437
435
|
},
|
|
438
436
|
audiencePercentage: {
|
|
439
|
-
type:
|
|
437
|
+
type: E5.Int_unsecure(),
|
|
440
438
|
isOptional: true
|
|
441
439
|
},
|
|
442
440
|
scheduledStartAt: {
|
|
443
|
-
type:
|
|
441
|
+
type: E5.DateTime(),
|
|
444
442
|
isOptional: true
|
|
445
443
|
},
|
|
446
444
|
scheduledEndAt: {
|
|
447
|
-
type:
|
|
445
|
+
type: E5.DateTime(),
|
|
448
446
|
isOptional: true
|
|
449
447
|
},
|
|
450
448
|
orgId: {
|
|
451
|
-
type:
|
|
449
|
+
type: E5.String_unsecure(),
|
|
452
450
|
isOptional: true
|
|
453
451
|
}
|
|
454
452
|
}
|
|
455
453
|
});
|
|
456
|
-
const StartExperimentInput =
|
|
454
|
+
const StartExperimentInput = K5({
|
|
457
455
|
name: "StartExperimentInput",
|
|
458
456
|
description: "Input for starting an experiment",
|
|
459
457
|
fields: { experimentId: {
|
|
460
|
-
type:
|
|
458
|
+
type: E5.String_unsecure(),
|
|
461
459
|
isOptional: false
|
|
462
460
|
} }
|
|
463
461
|
});
|
|
464
|
-
const StopExperimentInput =
|
|
462
|
+
const StopExperimentInput = K5({
|
|
465
463
|
name: "StopExperimentInput",
|
|
466
464
|
description: "Input for stopping an experiment",
|
|
467
465
|
fields: {
|
|
468
466
|
experimentId: {
|
|
469
|
-
type:
|
|
467
|
+
type: E5.String_unsecure(),
|
|
470
468
|
isOptional: false
|
|
471
469
|
},
|
|
472
470
|
reason: {
|
|
473
|
-
type:
|
|
471
|
+
type: E5.String_unsecure(),
|
|
474
472
|
isOptional: false
|
|
475
473
|
},
|
|
476
474
|
winningVariant: {
|
|
477
|
-
type:
|
|
475
|
+
type: E5.String_unsecure(),
|
|
478
476
|
isOptional: true
|
|
479
477
|
}
|
|
480
478
|
}
|
|
481
479
|
});
|
|
482
|
-
const GetExperimentInput =
|
|
480
|
+
const GetExperimentInput = K5({
|
|
483
481
|
name: "GetExperimentInput",
|
|
484
482
|
description: "Input for getting an experiment",
|
|
485
483
|
fields: { experimentId: {
|
|
486
|
-
type:
|
|
484
|
+
type: E5.String_unsecure(),
|
|
487
485
|
isOptional: false
|
|
488
486
|
} }
|
|
489
487
|
});
|
|
490
|
-
const SuccessOutput =
|
|
488
|
+
const SuccessOutput = K5({
|
|
491
489
|
name: "SuccessOutput",
|
|
492
490
|
description: "Generic success output",
|
|
493
491
|
fields: { success: {
|
|
494
|
-
type:
|
|
492
|
+
type: E5.Boolean(),
|
|
495
493
|
isOptional: false
|
|
496
494
|
} }
|
|
497
495
|
});
|
|
@@ -907,4 +905,5 @@ const GetExperimentContract = defineQuery({
|
|
|
907
905
|
});
|
|
908
906
|
|
|
909
907
|
//#endregion
|
|
910
|
-
export { CreateExperimentContract, CreateFlagContract, CreateRuleContract, DeleteFlagContract, DeleteRuleContract, EvaluateFlagContract, EvaluationResultModel, ExperimentModel, FeatureFlagModel, GetExperimentContract, GetFlagContract, ListFlagsContract, StartExperimentContract, StopExperimentContract, TargetingRuleModel, ToggleFlagContract, UpdateFlagContract };
|
|
908
|
+
export { CreateExperimentContract, CreateFlagContract, CreateRuleContract, DeleteFlagContract, DeleteRuleContract, EvaluateFlagContract, EvaluationResultModel, ExperimentModel, FeatureFlagModel, GetExperimentContract, GetFlagContract, ListFlagsContract, StartExperimentContract, StopExperimentContract, TargetingRuleModel, ToggleFlagContract, UpdateFlagContract };
|
|
909
|
+
//# sourceMappingURL=index.js.map
|