@contractspec/lib.contracts 1.56.1 → 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/_virtual/{rolldown_runtime.js → _rolldown/runtime.js} +3 -3
- package/dist/app-config/app-config.contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/runtime.js +3 -3
- package/dist/app-config/validation.js +3 -3
- package/dist/capabilities/capabilities.js +20 -20
- package/dist/capabilities/context.d.ts +0 -1
- package/dist/capabilities/context.js +1 -1
- package/dist/capabilities/guards.d.ts +0 -1
- package/dist/capabilities/index.d.ts +2 -1
- package/dist/capabilities/index.js +2 -1
- package/dist/capabilities/meeting-recorder.d.ts +10 -0
- package/dist/capabilities/meeting-recorder.js +82 -0
- package/dist/capabilities/validation.d.ts +0 -1
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -1
- package/dist/client/react/drivers/shadcn.d.ts +0 -1
- package/dist/client/react/form-render.js +3 -3
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/registry.d.ts +0 -1
- package/dist/data-views/spec.d.ts +0 -1
- package/dist/docs/commands/docsPublish.command.d.ts +13 -13
- package/dist/docs/contracts.d.ts +103 -103
- package/dist/docs/events/docsGenerated.event.d.ts +13 -13
- package/dist/docs/events/docsPublished.event.d.ts +15 -15
- package/dist/docs/forms/docsSearch.form.d.ts +4 -4
- package/dist/docs/queries/contractReference.query.d.ts +47 -47
- package/dist/docs/queries/docsIndex.query.d.ts +57 -57
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
- package/dist/docs/tech/mcp-endpoints.docblock.js +5 -0
- package/dist/events.d.ts +0 -1
- package/dist/examples/index.d.ts +0 -1
- package/dist/examples/registry.d.ts +0 -1
- package/dist/examples/schema.d.ts +17 -17
- package/dist/experiments/spec.d.ts +2 -4
- package/dist/features/index.d.ts +0 -1
- package/dist/features/types.d.ts +2 -5
- package/dist/forms/forms.d.ts +1 -2
- package/dist/forms/forms.js +1 -2
- package/dist/index.d.ts +42 -1
- package/dist/index.js +36 -1
- package/dist/install.d.ts +2 -5
- package/dist/integrations/docs/integrations.docblock.js +19 -1
- package/dist/integrations/index.d.ts +26 -1
- package/dist/integrations/index.js +20 -1
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +10 -0
- package/dist/integrations/meeting-recorder/contracts/index.js +12 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +458 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.js +149 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +173 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +156 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +92 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +82 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +7 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +21 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +11 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +67 -0
- package/dist/integrations/meeting-recorder/models.d.ts +407 -0
- package/dist/integrations/meeting-recorder/models.js +295 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts +16 -0
- package/dist/integrations/meeting-recorder/telemetry.js +42 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/analytics-reader.d.ts +107 -0
- package/dist/integrations/providers/analytics-reader.js +0 -0
- package/dist/integrations/providers/analytics-writer.d.ts +10 -0
- package/dist/integrations/providers/analytics-writer.js +0 -0
- package/dist/integrations/providers/analytics.d.ts +49 -0
- package/dist/integrations/providers/analytics.js +0 -0
- package/dist/integrations/providers/database.d.ts +15 -0
- package/dist/integrations/providers/database.js +0 -0
- package/dist/integrations/providers/fal.d.ts +8 -0
- package/dist/integrations/providers/fal.js +94 -0
- package/dist/integrations/providers/fathom.d.ts +8 -0
- package/dist/integrations/providers/fathom.js +114 -0
- package/dist/integrations/providers/fireflies.d.ts +8 -0
- package/dist/integrations/providers/fireflies.js +98 -0
- package/dist/integrations/providers/gradium.d.ts +8 -0
- package/dist/integrations/providers/gradium.js +92 -0
- package/dist/integrations/providers/granola.d.ts +8 -0
- package/dist/integrations/providers/granola.js +71 -0
- package/dist/integrations/providers/index.d.ts +19 -1
- package/dist/integrations/providers/index.js +13 -1
- package/dist/integrations/providers/jira.d.ts +8 -0
- package/dist/integrations/providers/jira.js +90 -0
- package/dist/integrations/providers/linear.d.ts +8 -0
- package/dist/integrations/providers/linear.js +85 -0
- package/dist/integrations/providers/meeting-recorder.d.ts +132 -0
- package/dist/integrations/providers/meeting-recorder.js +0 -0
- package/dist/integrations/providers/notion.d.ts +8 -0
- package/dist/integrations/providers/notion.js +91 -0
- package/dist/integrations/providers/posthog.d.ts +8 -0
- package/dist/integrations/providers/posthog.js +107 -0
- package/dist/integrations/providers/project-management.d.ts +35 -0
- package/dist/integrations/providers/project-management.js +0 -0
- package/dist/integrations/providers/registry.d.ts +0 -1
- package/dist/integrations/providers/registry.js +24 -0
- package/dist/integrations/providers/supabase-postgres.d.ts +8 -0
- package/dist/integrations/providers/supabase-postgres.js +73 -0
- package/dist/integrations/providers/supabase-vector.d.ts +8 -0
- package/dist/integrations/providers/supabase-vector.js +93 -0
- package/dist/integrations/providers/tldv.d.ts +8 -0
- package/dist/integrations/providers/tldv.js +98 -0
- package/dist/integrations/runtime.js +0 -1
- package/dist/integrations/spec.d.ts +1 -1
- package/dist/jobs/queue.d.ts +0 -1
- package/dist/knowledge/binding.d.ts +1 -3
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/llm/exporters.d.ts +0 -1
- package/dist/llm/exporters.js +0 -1
- package/dist/llm/prompts.d.ts +0 -1
- package/dist/llm/types.d.ts +0 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/openapi.d.ts +0 -1
- package/dist/operations/operation.d.ts +19 -43
- package/dist/operations/registry.d.ts +0 -1
- package/dist/operations/registry.js +2 -2
- package/dist/operations/report/getContractVerificationStatus.d.ts +10 -10
- package/dist/ownership.d.ts +41 -88
- package/dist/policy/guards.d.ts +0 -1
- package/dist/policy/guards.js +3 -3
- package/dist/policy/index.d.ts +0 -1
- package/dist/policy/validation.d.ts +0 -1
- package/dist/product-intent/contract-patch-intent.d.ts +103 -0
- package/dist/product-intent/contract-patch-intent.js +33 -0
- package/dist/product-intent/contract-spec-patch.d.ts +89 -0
- package/dist/product-intent/contract-spec-patch.js +27 -0
- package/dist/product-intent/evidence.d.ts +17 -0
- package/dist/product-intent/evidence.js +13 -0
- package/dist/product-intent/findings.d.ts +60 -0
- package/dist/product-intent/findings.js +17 -0
- package/dist/product-intent/impact-report.d.ts +60 -0
- package/dist/product-intent/impact-report.js +27 -0
- package/dist/product-intent/index.d.ts +16 -0
- package/dist/product-intent/index.js +17 -0
- package/dist/product-intent/insights.d.ts +65 -0
- package/dist/product-intent/insights.js +23 -0
- package/dist/product-intent/opportunity-brief.d.ts +195 -0
- package/dist/product-intent/opportunity-brief.js +42 -0
- package/dist/product-intent/problems.d.ts +62 -0
- package/dist/product-intent/problems.js +22 -0
- package/dist/product-intent/registry.d.ts +32 -0
- package/dist/product-intent/registry.js +49 -0
- package/dist/product-intent/runtime.d.ts +103 -0
- package/dist/product-intent/runtime.js +101 -0
- package/dist/product-intent/spec.d.ts +676 -0
- package/dist/product-intent/spec.js +53 -0
- package/dist/product-intent/task-pack.d.ts +101 -0
- package/dist/product-intent/task-pack.js +34 -0
- package/dist/product-intent/tickets.d.ts +70 -0
- package/dist/product-intent/tickets.js +24 -0
- package/dist/product-intent/types.d.ts +12 -0
- package/dist/product-intent/types.js +13 -0
- package/dist/product-intent/ui-wireframe.d.ts +103 -0
- package/dist/product-intent/ui-wireframe.js +33 -0
- package/dist/registry-utils.d.ts +0 -1
- package/dist/registry-utils.js +3 -3
- package/dist/resources.js +1 -1
- package/dist/schema-to-markdown.d.ts +0 -1
- package/dist/server/contracts-adapter-input.js +2 -2
- package/dist/server/graphql-pothos.d.ts +0 -1
- package/dist/server/mcp/createMcpServer.d.ts +0 -1
- package/dist/server/rest-express.d.ts +0 -1
- package/dist/server/rest-generic.js +3 -3
- package/dist/server/rest-next-app.d.ts +0 -1
- package/dist/tests/spec.d.ts +0 -1
- package/dist/translations/registry.d.ts +0 -1
- package/dist/translations/spec.d.ts +0 -1
- package/dist/translations/validation.d.ts +0 -1
- package/dist/types.d.ts +5 -12
- package/dist/versioning/types.d.ts +0 -1
- package/dist/versioning/utils.d.ts +0 -1
- package/dist/workflow/adapters/memory-store.d.ts +0 -1
- package/dist/workflow/context.d.ts +0 -1
- package/dist/workflow/context.js +2 -2
- package/dist/workflow/runner.d.ts +1 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +0 -1
- package/dist/workspace-config/contractsrc-types.d.ts +1 -3
- package/package.json +110 -32
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/elevenlabs-voice.js +0 -95
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gcs-storage.js +0 -88
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-inbound.js +0 -200
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/gmail-outbound.js +0 -105
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/google-calendar.js +0 -154
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/index.js +0 -16
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-embedding.js +0 -41
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/mistral-llm.js +0 -247
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/postmark-email.js +0 -55
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-client.js +0 -171
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/powens-openbanking.js +0 -218
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/provider-factory.js +0 -146
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/qdrant-vector.js +0 -69
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/stripe-payments.js +0 -202
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/impls/twilio-sms.js +0 -58
|
@@ -3,50 +3,50 @@ import "../operations/index.js";
|
|
|
3
3
|
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
4
4
|
import { EventSpecMeta } from "../events.js";
|
|
5
5
|
import "../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
7
7
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
8
8
|
|
|
9
9
|
//#region src/app-config/lifecycle-contracts.d.ts
|
|
10
10
|
declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
|
|
11
11
|
tenantId: {
|
|
12
|
-
type:
|
|
12
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
13
13
|
isOptional: false;
|
|
14
14
|
};
|
|
15
15
|
appId: {
|
|
16
|
-
type:
|
|
16
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
blueprintName: {
|
|
20
|
-
type:
|
|
20
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
21
21
|
isOptional: false;
|
|
22
22
|
};
|
|
23
23
|
blueprintVersion: {
|
|
24
|
-
type:
|
|
24
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
25
25
|
isOptional: false;
|
|
26
26
|
};
|
|
27
27
|
environment: {
|
|
28
|
-
type:
|
|
28
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
29
29
|
isOptional: true;
|
|
30
30
|
};
|
|
31
31
|
fromVersion: {
|
|
32
|
-
type:
|
|
32
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
33
33
|
isOptional: true;
|
|
34
34
|
};
|
|
35
35
|
createdBy: {
|
|
36
|
-
type:
|
|
36
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
}>, SchemaModel<{
|
|
40
40
|
version: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
status: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
createdAt: {
|
|
49
|
-
type:
|
|
49
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
}>, {
|
|
@@ -55,32 +55,32 @@ declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
|
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
|
|
57
57
|
tenantId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
appId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
version: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
promotedBy: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
}>, SchemaModel<{
|
|
74
74
|
version: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
status: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
warnings: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
isArray: true;
|
|
86
86
|
};
|
|
@@ -90,44 +90,44 @@ declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
|
|
|
90
90
|
}[]>;
|
|
91
91
|
declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
92
92
|
tenantId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
appId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
version: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
environment: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
publishedBy: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
changeSummary: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
114
114
|
isOptional: true;
|
|
115
115
|
};
|
|
116
116
|
}>, SchemaModel<{
|
|
117
117
|
version: {
|
|
118
|
-
type:
|
|
118
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
status: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
previousVersion: {
|
|
126
|
-
type:
|
|
126
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
publishedAt: {
|
|
130
|
-
type:
|
|
130
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
}>, {
|
|
@@ -136,40 +136,40 @@ declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
|
136
136
|
}[]>;
|
|
137
137
|
declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
138
138
|
tenantId: {
|
|
139
|
-
type:
|
|
139
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
appId: {
|
|
143
|
-
type:
|
|
143
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
toVersion: {
|
|
147
|
-
type:
|
|
147
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
environment: {
|
|
151
|
-
type:
|
|
151
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
152
152
|
isOptional: true;
|
|
153
153
|
};
|
|
154
154
|
rolledBackBy: {
|
|
155
|
-
type:
|
|
155
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
reason: {
|
|
159
|
-
type:
|
|
159
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
}>, SchemaModel<{
|
|
163
163
|
newVersion: {
|
|
164
|
-
type:
|
|
164
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
status: {
|
|
168
|
-
type:
|
|
168
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
rolledBackFrom: {
|
|
172
|
-
type:
|
|
172
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
}>, {
|
|
@@ -178,22 +178,22 @@ declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
|
178
178
|
}[]>;
|
|
179
179
|
declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
180
180
|
tenantId: {
|
|
181
|
-
type:
|
|
181
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
appId: {
|
|
185
|
-
type:
|
|
185
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
186
186
|
isOptional: false;
|
|
187
187
|
};
|
|
188
188
|
}>, SchemaModel<{
|
|
189
189
|
versions: {
|
|
190
190
|
type: SchemaModel<{
|
|
191
191
|
meta: {
|
|
192
|
-
type:
|
|
192
|
+
type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
config: {
|
|
196
|
-
type:
|
|
196
|
+
type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
}>;
|
|
@@ -203,35 +203,35 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
|
203
203
|
transitions: {
|
|
204
204
|
type: SchemaModel<{
|
|
205
205
|
tenantId: {
|
|
206
|
-
type:
|
|
206
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
appId: {
|
|
210
|
-
type:
|
|
210
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
fromStatus: {
|
|
214
|
-
type:
|
|
214
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
toStatus: {
|
|
218
|
-
type:
|
|
218
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
version: {
|
|
222
|
-
type:
|
|
222
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
timestamp: {
|
|
226
|
-
type:
|
|
226
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
229
|
actor: {
|
|
230
|
-
type:
|
|
230
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
231
231
|
isOptional: false;
|
|
232
232
|
};
|
|
233
233
|
reason: {
|
|
234
|
-
type:
|
|
234
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
237
|
}>;
|
|
@@ -241,26 +241,26 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
|
241
241
|
}>, undefined>;
|
|
242
242
|
declare const GetTenantConfigVersionQuery: OperationSpec<SchemaModel<{
|
|
243
243
|
tenantId: {
|
|
244
|
-
type:
|
|
244
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
appId: {
|
|
248
|
-
type:
|
|
248
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
version: {
|
|
252
|
-
type:
|
|
252
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
}>, SchemaModel<{
|
|
256
256
|
version: {
|
|
257
257
|
type: SchemaModel<{
|
|
258
258
|
meta: {
|
|
259
|
-
type:
|
|
259
|
+
type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
config: {
|
|
263
|
-
type:
|
|
263
|
+
type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
}>;
|
|
@@ -177,9 +177,9 @@ function resolveBranding(defaults, tenant) {
|
|
|
177
177
|
}
|
|
178
178
|
if (!appName) appName = defaults?.appNameKey ?? tenantMeta.appId;
|
|
179
179
|
const assetEntries = /* @__PURE__ */ new Map();
|
|
180
|
-
const applyAssets = (assets
|
|
181
|
-
if (!assets
|
|
182
|
-
for (const asset of assets
|
|
180
|
+
const applyAssets = (assets) => {
|
|
181
|
+
if (!assets) return;
|
|
182
|
+
for (const asset of assets) {
|
|
183
183
|
if (!asset?.type) continue;
|
|
184
184
|
if ("url" in asset && asset.url) assetEntries.set(asset.type, asset.url);
|
|
185
185
|
}
|
|
@@ -64,9 +64,9 @@ function validateResolvedConfig(blueprint, resolved, context = EMPTY_CONTEXT) {
|
|
|
64
64
|
return buildResult(getRegistry().validateResolved(blueprint, resolved, context));
|
|
65
65
|
}
|
|
66
66
|
function buildResult(issues) {
|
|
67
|
-
const errors = issues.filter((issue
|
|
68
|
-
const warnings = issues.filter((issue
|
|
69
|
-
const info = issues.filter((issue
|
|
67
|
+
const errors = issues.filter((issue) => issue.severity === "error");
|
|
68
|
+
const warnings = issues.filter((issue) => issue.severity === "warning");
|
|
69
|
+
const info = issues.filter((issue) => issue.severity === "info");
|
|
70
70
|
return {
|
|
71
71
|
valid: errors.length === 0,
|
|
72
72
|
errors,
|
|
@@ -39,42 +39,42 @@ var CapabilityRegistry = class {
|
|
|
39
39
|
if (this.surfaceIndex) return this.surfaceIndex;
|
|
40
40
|
this.surfaceIndex = /* @__PURE__ */ new Map();
|
|
41
41
|
for (const spec of this.items.values()) {
|
|
42
|
-
const capabilityKey
|
|
42
|
+
const capabilityKey = capKey(spec.meta.key, spec.meta.version);
|
|
43
43
|
for (const surface of spec.provides ?? []) {
|
|
44
44
|
const surfaceKey = `${surface.surface}:${surface.key}`;
|
|
45
45
|
if (!this.surfaceIndex.has(surfaceKey)) this.surfaceIndex.set(surfaceKey, /* @__PURE__ */ new Set());
|
|
46
|
-
this.surfaceIndex.get(surfaceKey)?.add(capabilityKey
|
|
46
|
+
this.surfaceIndex.get(surfaceKey)?.add(capabilityKey);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
return this.surfaceIndex;
|
|
50
50
|
}
|
|
51
51
|
/** Get all operation keys provided by a capability. */
|
|
52
|
-
getOperationsFor(capabilityKey
|
|
53
|
-
const spec = this.get(capabilityKey
|
|
52
|
+
getOperationsFor(capabilityKey, version) {
|
|
53
|
+
const spec = this.get(capabilityKey, version);
|
|
54
54
|
if (!spec) return [];
|
|
55
55
|
return spec.provides?.filter((s) => s.surface === "operation").map((s) => s.key) ?? [];
|
|
56
56
|
}
|
|
57
57
|
/** Get all event keys provided by a capability. */
|
|
58
|
-
getEventsFor(capabilityKey
|
|
59
|
-
const spec = this.get(capabilityKey
|
|
58
|
+
getEventsFor(capabilityKey, version) {
|
|
59
|
+
const spec = this.get(capabilityKey, version);
|
|
60
60
|
if (!spec) return [];
|
|
61
61
|
return spec.provides?.filter((s) => s.surface === "event").map((s) => s.key) ?? [];
|
|
62
62
|
}
|
|
63
63
|
/** Get all presentation keys provided by a capability. */
|
|
64
|
-
getPresentationsFor(capabilityKey
|
|
65
|
-
const spec = this.get(capabilityKey
|
|
64
|
+
getPresentationsFor(capabilityKey, version) {
|
|
65
|
+
const spec = this.get(capabilityKey, version);
|
|
66
66
|
if (!spec) return [];
|
|
67
67
|
return spec.provides?.filter((s) => s.surface === "presentation").map((s) => s.key) ?? [];
|
|
68
68
|
}
|
|
69
69
|
/** Get all workflow keys provided by a capability. */
|
|
70
|
-
getWorkflowsFor(capabilityKey
|
|
71
|
-
const spec = this.get(capabilityKey
|
|
70
|
+
getWorkflowsFor(capabilityKey, version) {
|
|
71
|
+
const spec = this.get(capabilityKey, version);
|
|
72
72
|
if (!spec) return [];
|
|
73
73
|
return spec.provides?.filter((s) => s.surface === "workflow").map((s) => s.key) ?? [];
|
|
74
74
|
}
|
|
75
75
|
/** Get all resource keys provided by a capability. */
|
|
76
|
-
getResourcesFor(capabilityKey
|
|
77
|
-
const spec = this.get(capabilityKey
|
|
76
|
+
getResourcesFor(capabilityKey, version) {
|
|
77
|
+
const spec = this.get(capabilityKey, version);
|
|
78
78
|
if (!spec) return [];
|
|
79
79
|
return spec.provides?.filter((s) => s.surface === "resource").map((s) => s.key) ?? [];
|
|
80
80
|
}
|
|
@@ -115,10 +115,10 @@ var CapabilityRegistry = class {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/** Get the ancestor chain for a capability (from immediate parent to root). */
|
|
118
|
-
getAncestors(capabilityKey
|
|
118
|
+
getAncestors(capabilityKey, version) {
|
|
119
119
|
const ancestors = [];
|
|
120
120
|
const visited = /* @__PURE__ */ new Set();
|
|
121
|
-
let current = this.get(capabilityKey
|
|
121
|
+
let current = this.get(capabilityKey, version);
|
|
122
122
|
while (current?.extends) {
|
|
123
123
|
const parentKey = capKey(current.extends.key, current.extends.version);
|
|
124
124
|
if (visited.has(parentKey)) break;
|
|
@@ -135,10 +135,10 @@ var CapabilityRegistry = class {
|
|
|
135
135
|
* Requirements from ancestors are included, with child requirements taking
|
|
136
136
|
* precedence over parent requirements for the same key.
|
|
137
137
|
*/
|
|
138
|
-
getEffectiveRequirements(capabilityKey
|
|
139
|
-
const spec = this.get(capabilityKey
|
|
138
|
+
getEffectiveRequirements(capabilityKey, version) {
|
|
139
|
+
const spec = this.get(capabilityKey, version);
|
|
140
140
|
if (!spec) return [];
|
|
141
|
-
const ancestors = this.getAncestors(capabilityKey
|
|
141
|
+
const ancestors = this.getAncestors(capabilityKey, version);
|
|
142
142
|
const requirementMap = /* @__PURE__ */ new Map();
|
|
143
143
|
for (const ancestor of [...ancestors].reverse()) for (const req of ancestor.requires ?? []) requirementMap.set(req.key, req);
|
|
144
144
|
for (const req of spec.requires ?? []) requirementMap.set(req.key, req);
|
|
@@ -147,10 +147,10 @@ var CapabilityRegistry = class {
|
|
|
147
147
|
/**
|
|
148
148
|
* Get all surfaces provided by a capability, including inherited ones.
|
|
149
149
|
*/
|
|
150
|
-
getEffectiveSurfaces(capabilityKey
|
|
151
|
-
const spec = this.get(capabilityKey
|
|
150
|
+
getEffectiveSurfaces(capabilityKey, version) {
|
|
151
|
+
const spec = this.get(capabilityKey, version);
|
|
152
152
|
if (!spec) return [];
|
|
153
|
-
const ancestors = this.getAncestors(capabilityKey
|
|
153
|
+
const ancestors = this.getAncestors(capabilityKey, version);
|
|
154
154
|
const surfaces = [];
|
|
155
155
|
for (const ancestor of [...ancestors].reverse()) surfaces.push(...ancestor.provides ?? []);
|
|
156
156
|
surfaces.push(...spec.provides ?? []);
|
|
@@ -43,7 +43,7 @@ var CapabilityContextImpl = class {
|
|
|
43
43
|
getMatchingCapabilities(pattern) {
|
|
44
44
|
if (!pattern.includes("*")) return this.capabilities.has(pattern) ? [pattern] : [];
|
|
45
45
|
const regexPattern = pattern.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
|
|
46
|
-
const regex =
|
|
46
|
+
const regex = new RegExp(`^${regexPattern}$`);
|
|
47
47
|
return [...this.capabilities].filter((key) => regex.test(key));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -3,4 +3,5 @@ import { CapabilityValidationDeps, CapabilityValidationError, CapabilityValidati
|
|
|
3
3
|
import { CapabilityContext, CapabilityMissingError, createBypassCapabilityContext, createCapabilityContext, createEmptyCapabilityContext } from "./context.js";
|
|
4
4
|
import { CapabilityGuardResult, assertCapabilityForEvent, assertCapabilityForOperation, assertCapabilityForPresentation, checkCapabilityForEvent, checkCapabilityForOperation, checkCapabilityForPresentation, filterEventsByCapability, filterOperationsByCapability, filterPresentationsByCapability } from "./guards.js";
|
|
5
5
|
import { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities } from "./openbanking.js";
|
|
6
|
-
|
|
6
|
+
import { meetingRecorderMeetingsReadCapability, meetingRecorderTranscriptsReadCapability, meetingRecorderWebhooksCapability, registerMeetingRecorderCapabilities } from "./meeting-recorder.js";
|
|
7
|
+
export { CapabilityContext, CapabilityGuardResult, CapabilityKind, CapabilityMeta, CapabilityMissingError, CapabilityRef, CapabilityRegistry, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef, CapabilityValidationDeps, CapabilityValidationError, CapabilityValidationResult, assertCapabilityForEvent, assertCapabilityForOperation, assertCapabilityForPresentation, capabilityKey, checkCapabilityForEvent, checkCapabilityForOperation, checkCapabilityForPresentation, createBypassCapabilityContext, createCapabilityContext, createEmptyCapabilityContext, defineCapability, filterEventsByCapability, filterOperationsByCapability, filterPresentationsByCapability, findOrphanSpecs, meetingRecorderMeetingsReadCapability, meetingRecorderTranscriptsReadCapability, meetingRecorderWebhooksCapability, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerMeetingRecorderCapabilities, registerOpenBankingCapabilities, validateCapabilityConsistency };
|
|
@@ -3,5 +3,6 @@ import { findOrphanSpecs, validateCapabilityConsistency } from "./validation.js"
|
|
|
3
3
|
import { CapabilityMissingError, createBypassCapabilityContext, createCapabilityContext, createEmptyCapabilityContext } from "./context.js";
|
|
4
4
|
import { assertCapabilityForEvent, assertCapabilityForOperation, assertCapabilityForPresentation, checkCapabilityForEvent, checkCapabilityForOperation, checkCapabilityForPresentation, filterEventsByCapability, filterOperationsByCapability, filterPresentationsByCapability } from "./guards.js";
|
|
5
5
|
import { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities } from "./openbanking.js";
|
|
6
|
+
import { meetingRecorderMeetingsReadCapability, meetingRecorderTranscriptsReadCapability, meetingRecorderWebhooksCapability, registerMeetingRecorderCapabilities } from "./meeting-recorder.js";
|
|
6
7
|
|
|
7
|
-
export { CapabilityMissingError, CapabilityRegistry, assertCapabilityForEvent, assertCapabilityForOperation, assertCapabilityForPresentation, capabilityKey, checkCapabilityForEvent, checkCapabilityForOperation, checkCapabilityForPresentation, createBypassCapabilityContext, createCapabilityContext, createEmptyCapabilityContext, defineCapability, filterEventsByCapability, filterOperationsByCapability, filterPresentationsByCapability, findOrphanSpecs, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities, validateCapabilityConsistency };
|
|
8
|
+
export { CapabilityMissingError, CapabilityRegistry, assertCapabilityForEvent, assertCapabilityForOperation, assertCapabilityForPresentation, capabilityKey, checkCapabilityForEvent, checkCapabilityForOperation, checkCapabilityForPresentation, createBypassCapabilityContext, createCapabilityContext, createEmptyCapabilityContext, defineCapability, filterEventsByCapability, filterOperationsByCapability, filterPresentationsByCapability, findOrphanSpecs, meetingRecorderMeetingsReadCapability, meetingRecorderTranscriptsReadCapability, meetingRecorderWebhooksCapability, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerMeetingRecorderCapabilities, registerOpenBankingCapabilities, validateCapabilityConsistency };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CapabilityRegistry, CapabilitySpec } from "./capabilities.js";
|
|
2
|
+
import "./index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/capabilities/meeting-recorder.d.ts
|
|
5
|
+
declare const meetingRecorderMeetingsReadCapability: CapabilitySpec;
|
|
6
|
+
declare const meetingRecorderTranscriptsReadCapability: CapabilitySpec;
|
|
7
|
+
declare const meetingRecorderWebhooksCapability: CapabilitySpec;
|
|
8
|
+
declare function registerMeetingRecorderCapabilities(registry: CapabilityRegistry): CapabilityRegistry;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { meetingRecorderMeetingsReadCapability, meetingRecorderTranscriptsReadCapability, meetingRecorderWebhooksCapability, registerMeetingRecorderCapabilities };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { StabilityEnum } from "../ownership.js";
|
|
2
|
+
|
|
3
|
+
//#region src/capabilities/meeting-recorder.ts
|
|
4
|
+
const OWNERS = ["platform.integrations"];
|
|
5
|
+
const TAGS = [
|
|
6
|
+
"meeting-recorder",
|
|
7
|
+
"transcripts",
|
|
8
|
+
"integrations"
|
|
9
|
+
];
|
|
10
|
+
const meetingRecorderMeetingsReadCapability = {
|
|
11
|
+
meta: {
|
|
12
|
+
key: "meeting-recorder.meetings.read",
|
|
13
|
+
version: "1.0.0",
|
|
14
|
+
kind: "integration",
|
|
15
|
+
title: "Meeting Recorder Meetings (Read)",
|
|
16
|
+
description: "Provides read-only access to recorded meetings and their metadata.",
|
|
17
|
+
domain: "integrations",
|
|
18
|
+
owners: [...OWNERS],
|
|
19
|
+
tags: [...TAGS, "meetings"],
|
|
20
|
+
stability: StabilityEnum.Experimental
|
|
21
|
+
},
|
|
22
|
+
provides: [{
|
|
23
|
+
surface: "operation",
|
|
24
|
+
key: "meeting-recorder.meetings.list",
|
|
25
|
+
version: "1.0.0",
|
|
26
|
+
description: "List meetings available from the recorder provider."
|
|
27
|
+
}, {
|
|
28
|
+
surface: "operation",
|
|
29
|
+
key: "meeting-recorder.meetings.get",
|
|
30
|
+
version: "1.0.0",
|
|
31
|
+
description: "Fetch detailed metadata for a specific meeting."
|
|
32
|
+
}]
|
|
33
|
+
};
|
|
34
|
+
const meetingRecorderTranscriptsReadCapability = {
|
|
35
|
+
meta: {
|
|
36
|
+
key: "meeting-recorder.transcripts.read",
|
|
37
|
+
version: "1.0.0",
|
|
38
|
+
kind: "integration",
|
|
39
|
+
title: "Meeting Recorder Transcripts (Read)",
|
|
40
|
+
description: "Enables retrieval of transcripts for recorded meetings from external providers.",
|
|
41
|
+
domain: "integrations",
|
|
42
|
+
owners: [...OWNERS],
|
|
43
|
+
tags: [...TAGS, "transcripts"],
|
|
44
|
+
stability: StabilityEnum.Experimental
|
|
45
|
+
},
|
|
46
|
+
provides: [{
|
|
47
|
+
surface: "operation",
|
|
48
|
+
key: "meeting-recorder.transcripts.get",
|
|
49
|
+
version: "1.0.0",
|
|
50
|
+
description: "Fetch the transcript for a specific meeting recording."
|
|
51
|
+
}, {
|
|
52
|
+
surface: "operation",
|
|
53
|
+
key: "meeting-recorder.transcripts.sync",
|
|
54
|
+
version: "1.0.0",
|
|
55
|
+
description: "Trigger a transcript sync from the recorder provider."
|
|
56
|
+
}]
|
|
57
|
+
};
|
|
58
|
+
const meetingRecorderWebhooksCapability = {
|
|
59
|
+
meta: {
|
|
60
|
+
key: "meeting-recorder.webhooks",
|
|
61
|
+
version: "1.0.0",
|
|
62
|
+
kind: "integration",
|
|
63
|
+
title: "Meeting Recorder Webhooks",
|
|
64
|
+
description: "Allows processing of webhook events for meeting transcript readiness.",
|
|
65
|
+
domain: "integrations",
|
|
66
|
+
owners: [...OWNERS],
|
|
67
|
+
tags: [...TAGS, "webhooks"],
|
|
68
|
+
stability: StabilityEnum.Experimental
|
|
69
|
+
},
|
|
70
|
+
provides: [{
|
|
71
|
+
surface: "operation",
|
|
72
|
+
key: "meeting-recorder.webhooks.ingest",
|
|
73
|
+
version: "1.0.0",
|
|
74
|
+
description: "Ingest and verify meeting recorder webhook payloads."
|
|
75
|
+
}]
|
|
76
|
+
};
|
|
77
|
+
function registerMeetingRecorderCapabilities(registry) {
|
|
78
|
+
return registry.register(meetingRecorderMeetingsReadCapability).register(meetingRecorderTranscriptsReadCapability).register(meetingRecorderWebhooksCapability);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//#endregion
|
|
82
|
+
export { meetingRecorderMeetingsReadCapability, meetingRecorderTranscriptsReadCapability, meetingRecorderWebhooksCapability, registerMeetingRecorderCapabilities };
|
|
@@ -5,7 +5,6 @@ import { OperationSpecRegistry } from "../operations/registry.js";
|
|
|
5
5
|
import { EventRegistry } from "../events.js";
|
|
6
6
|
|
|
7
7
|
//#region src/capabilities/validation.d.ts
|
|
8
|
-
|
|
9
8
|
/** Single validation error describing an inconsistency. */
|
|
10
9
|
interface CapabilityValidationError {
|
|
11
10
|
/** Type of validation error. */
|
|
@@ -254,18 +254,18 @@ function createFormRenderer(base) {
|
|
|
254
254
|
});
|
|
255
255
|
const canAdd = f.max == null || fields.length < f.max;
|
|
256
256
|
const canRemove = (idx) => (f.min == null ? fields.length > 0 : fields.length > f.min) && idx >= 0;
|
|
257
|
-
const Button
|
|
257
|
+
const Button = driver.Button;
|
|
258
258
|
const Label = driver.FieldLabel;
|
|
259
259
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
260
260
|
f.labelI18n ? /* @__PURE__ */ jsx(Label, { children: f.labelI18n }) : null,
|
|
261
|
-
fields.map((row, idx) => /* @__PURE__ */ jsxs("div", { children: [renderOne(f.of, name, idx), canRemove(idx) ? /* @__PURE__ */ jsx(Button
|
|
261
|
+
fields.map((row, idx) => /* @__PURE__ */ jsxs("div", { children: [renderOne(f.of, name, idx), canRemove(idx) ? /* @__PURE__ */ jsx(Button, {
|
|
262
262
|
type: "button",
|
|
263
263
|
variant: "ghost",
|
|
264
264
|
size: "sm",
|
|
265
265
|
onClick: () => remove(idx),
|
|
266
266
|
children: "Remove"
|
|
267
267
|
}) : null] }, row.id ?? idx)),
|
|
268
|
-
canAdd ? /* @__PURE__ */ jsx(Button
|
|
268
|
+
canAdd ? /* @__PURE__ */ jsx(Button, {
|
|
269
269
|
type: "button",
|
|
270
270
|
variant: "outline",
|
|
271
271
|
size: "sm",
|
|
@@ -47,11 +47,11 @@ declare const ContractRegistryItemSchema: z.ZodObject<{
|
|
|
47
47
|
meta: z.ZodObject<{
|
|
48
48
|
stability: z.ZodEnum<{
|
|
49
49
|
experimental: "experimental";
|
|
50
|
-
deprecated: "deprecated";
|
|
51
50
|
idea: "idea";
|
|
52
51
|
in_creation: "in_creation";
|
|
53
52
|
beta: "beta";
|
|
54
53
|
stable: "stable";
|
|
54
|
+
deprecated: "deprecated";
|
|
55
55
|
}>;
|
|
56
56
|
owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
57
57
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -96,11 +96,11 @@ declare const ContractRegistryManifestSchema: z.ZodObject<{
|
|
|
96
96
|
meta: z.ZodObject<{
|
|
97
97
|
stability: z.ZodEnum<{
|
|
98
98
|
experimental: "experimental";
|
|
99
|
-
deprecated: "deprecated";
|
|
100
99
|
idea: "idea";
|
|
101
100
|
in_creation: "in_creation";
|
|
102
101
|
beta: "beta";
|
|
103
102
|
stable: "stable";
|
|
103
|
+
deprecated: "deprecated";
|
|
104
104
|
}>;
|
|
105
105
|
owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
106
106
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|