@lssm/lib.contracts 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139
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/app-config/contracts.d.ts +50 -50
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/lifecycle-contracts.d.ts +80 -80
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/client/react/form-render.d.ts +1 -1
- package/dist/events.js +1 -1
- package/dist/index.js +1 -1
- package/dist/install.d.ts +1 -1
- package/dist/integrations/contracts.d.ts +102 -102
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/jsonschema.d.ts +4 -4
- package/dist/knowledge/contracts.d.ts +66 -66
- package/dist/knowledge/contracts.js +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/onboarding-base.js +1 -1
- package/dist/presentations.d.ts +4 -4
- package/dist/presentations.v2.d.ts +1 -1
- package/dist/schema/dist/EnumType.js +1 -0
- package/dist/schema/dist/FieldType.js +1 -0
- package/dist/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/schema/dist/SchemaModel.js +1 -0
- package/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/schema/dist/entity/index.js +1 -0
- package/dist/schema/dist/entity/types.js +1 -0
- package/dist/schema/dist/index.js +1 -0
- package/dist/server/graphql-pothos.d.ts +5 -1
- package/dist/server/graphql-pothos.js +1 -1
- package/package.json +4 -4
- package/dist/_virtual/rolldown_runtime.js +0 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { ContractSpec } from "../spec.js";
|
|
2
2
|
import { SpecRegistry } from "../registry.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _lssm_lib_schema235 from "@lssm/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/app-config/contracts.d.ts
|
|
7
7
|
declare const UpdateTenantBrandingCommand: ContractSpec<SchemaModel<{
|
|
8
8
|
tenantId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
appId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
environment: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
appName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema235.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
assets: {
|
|
25
25
|
type: SchemaModel<{
|
|
26
26
|
type: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
url: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
mimeType: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
@@ -40,92 +40,92 @@ declare const UpdateTenantBrandingCommand: ContractSpec<SchemaModel<{
|
|
|
40
40
|
isArray: true;
|
|
41
41
|
};
|
|
42
42
|
colors: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema235.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
customDomain: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
subdomain: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
}>, SchemaModel<{
|
|
55
55
|
success: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema235.FieldType<boolean, boolean>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
updatedAt: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema235.FieldType<Date, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
}>, undefined>;
|
|
64
64
|
declare const VerifyCustomDomainCommand: ContractSpec<SchemaModel<{
|
|
65
65
|
tenantId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
appId: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
domain: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
}>, SchemaModel<{
|
|
78
78
|
status: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
message: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
}>, undefined>;
|
|
87
87
|
declare const UpdateBlueprintTranslationCatalogCommand: ContractSpec<SchemaModel<{
|
|
88
88
|
blueprintName: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
blueprintVersion: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema235.FieldType<number, number>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
catalogName: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
catalogVersion: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema235.FieldType<number, number>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
defaultLocale: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
supportedLocales: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
isArray: true;
|
|
112
112
|
};
|
|
113
113
|
entries: {
|
|
114
114
|
type: SchemaModel<{
|
|
115
115
|
key: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
locale: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
value: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
context: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
}>;
|
|
@@ -134,39 +134,39 @@ declare const UpdateBlueprintTranslationCatalogCommand: ContractSpec<SchemaModel
|
|
|
134
134
|
};
|
|
135
135
|
}>, SchemaModel<{
|
|
136
136
|
success: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema235.FieldType<boolean, boolean>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
updatedAt: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema235.FieldType<Date, string>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
}>, undefined>;
|
|
145
145
|
declare const UpdateTenantTranslationOverridesCommand: ContractSpec<SchemaModel<{
|
|
146
146
|
tenantId: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
appId: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
entries: {
|
|
155
155
|
type: SchemaModel<{
|
|
156
156
|
key: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
locale: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
value: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
context: {
|
|
169
|
-
type:
|
|
169
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
170
170
|
isOptional: true;
|
|
171
171
|
};
|
|
172
172
|
}>;
|
|
@@ -174,67 +174,67 @@ declare const UpdateTenantTranslationOverridesCommand: ContractSpec<SchemaModel<
|
|
|
174
174
|
isArray: true;
|
|
175
175
|
};
|
|
176
176
|
defaultLocale: {
|
|
177
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
178
178
|
isOptional: true;
|
|
179
179
|
};
|
|
180
180
|
enabledLocales: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
182
182
|
isOptional: true;
|
|
183
183
|
isArray: true;
|
|
184
184
|
};
|
|
185
185
|
}>, SchemaModel<{
|
|
186
186
|
success: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema235.FieldType<boolean, boolean>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
updatedAt: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema235.FieldType<Date, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
}>, undefined>;
|
|
195
195
|
declare const GetResolvedBrandingQuery: ContractSpec<SchemaModel<{
|
|
196
196
|
tenantId: {
|
|
197
|
-
type:
|
|
197
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
198
198
|
isOptional: false;
|
|
199
199
|
};
|
|
200
200
|
appId: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
environment: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
206
206
|
isOptional: true;
|
|
207
207
|
};
|
|
208
208
|
}>, SchemaModel<{
|
|
209
209
|
branding: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema235.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
}>, undefined>;
|
|
214
214
|
declare const ResolveMessageQuery: ContractSpec<SchemaModel<{
|
|
215
215
|
tenantId: {
|
|
216
|
-
type:
|
|
216
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
217
217
|
isOptional: false;
|
|
218
218
|
};
|
|
219
219
|
appId: {
|
|
220
|
-
type:
|
|
220
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
221
221
|
isOptional: false;
|
|
222
222
|
};
|
|
223
223
|
locale: {
|
|
224
|
-
type:
|
|
224
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
225
225
|
isOptional: false;
|
|
226
226
|
};
|
|
227
227
|
key: {
|
|
228
|
-
type:
|
|
228
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
229
229
|
isOptional: false;
|
|
230
230
|
};
|
|
231
231
|
}>, SchemaModel<{
|
|
232
232
|
value: {
|
|
233
|
-
type:
|
|
233
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
234
234
|
isOptional: true;
|
|
235
235
|
};
|
|
236
236
|
source: {
|
|
237
|
-
type:
|
|
237
|
+
type: _lssm_lib_schema235.FieldType<string, string>;
|
|
238
238
|
isOptional: true;
|
|
239
239
|
};
|
|
240
240
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../schema/dist/ScalarTypeEnum.js";import{t}from"../schema/dist/SchemaModel.js";import"../schema/dist/index.js";import{defineCommand as n,defineQuery as r}from"../spec.js";import{OwnersEnum as i,StabilityEnum as a,TagsEnum as o}from"../ownership.js";const s=new t({name:`BrandingAssetInput`,fields:{type:{type:e.String_unsecure(),isOptional:!1},url:{type:e.URL(),isOptional:!1},mimeType:{type:e.String_unsecure(),isOptional:!0}}}),c=new t({name:`UpdateTenantBrandingInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},appName:{type:e.JSONObject(),isOptional:!0},assets:{type:s,isOptional:!0,isArray:!0},colors:{type:e.JSONObject(),isOptional:!0},customDomain:{type:e.String_unsecure(),isOptional:!0},subdomain:{type:e.String_unsecure(),isOptional:!0}}}),l=new t({name:`UpdateTenantBrandingOutput`,fields:{success:{type:e.Boolean(),isOptional:!1},updatedAt:{type:e.DateTime(),isOptional:!1}}}),u=new t({name:`VerifyCustomDomainInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},domain:{type:e.String_unsecure(),isOptional:!1}}}),d=new t({name:`VerifyCustomDomainOutput`,fields:{status:{type:e.String_unsecure(),isOptional:!1},message:{type:e.String_unsecure(),isOptional:!0}}}),f=new t({name:`TranslationEntryInput`,fields:{key:{type:e.String_unsecure(),isOptional:!1},locale:{type:e.String_unsecure(),isOptional:!1},value:{type:e.String_unsecure(),isOptional:!1},context:{type:e.String_unsecure(),isOptional:!0}}}),p=new t({name:`UpdateBlueprintTranslationInput`,fields:{blueprintName:{type:e.String_unsecure(),isOptional:!1},blueprintVersion:{type:e.Int_unsecure(),isOptional:!1},catalogName:{type:e.String_unsecure(),isOptional:!1},catalogVersion:{type:e.Int_unsecure(),isOptional:!1},defaultLocale:{type:e.String_unsecure(),isOptional:!1},supportedLocales:{type:e.String_unsecure(),isOptional:!1,isArray:!0},entries:{type:f,isOptional:!1,isArray:!0}}}),m=new t({name:`UpdateTenantTranslationInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},entries:{type:f,isOptional:!1,isArray:!0},defaultLocale:{type:e.String_unsecure(),isOptional:!0},enabledLocales:{type:e.String_unsecure(),isOptional:!0,isArray:!0}}}),h=new t({name:`MessageResolutionInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},locale:{type:e.String_unsecure(),isOptional:!1},key:{type:e.String_unsecure(),isOptional:!1}}}),g=new t({name:`MessageResolutionOutput`,fields:{value:{type:e.String_unsecure(),isOptional:!0},source:{type:e.String_unsecure(),isOptional:!0}}}),_=n({meta:{name:`appConfig.updateTenantBranding`,version:1,description:`Applies tenant branding overrides (names, assets, domains).`,owners:[i.PlatformSigil],tags:[`branding`],stability:a.Beta,goal:`Maintain tenant-specific branding assets and domains.`,context:`Invoked by the Studio or automation when a tenant updates branding settings.`},io:{input:c,output:l},policy:{auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]}}),v=n({meta:{name:`appConfig.verifyCustomDomain`,version:1,description:`Validates DNS ownership for tenant custom domains.`,owners:[i.PlatformSigil],tags:[`branding`],stability:a.Experimental,goal:`Confirm tenant-provided domains before activation.`,context:`Triggered after the tenant adds DNS records to verify domain ownership.`},io:{input:u,output:d},policy:{auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]}}),y=n({meta:{name:`appConfig.updateBlueprintTranslationCatalog`,version:1,description:`Registers or updates translation entries for a blueprint.`,owners:[i.PlatformSigil],tags:[o.I18n],stability:a.Beta,goal:`Keep blueprint translation catalogs in sync with shipped copy.`,context:`Executed by platform automation or CI when committing updated translation catalogs.`},io:{input:p,output:l},policy:{auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]}}),b=n({meta:{name:`appConfig.updateTenantTranslations`,version:1,description:`Applies tenant-specific translation entries.`,owners:[i.PlatformSigil],tags:[o.I18n],stability:a.Beta,goal:`Allow tenants to override selected message keys.`,context:`Called by the Studio when a tenant customizes labels or copy for their locale.`},io:{input:m,output:l},policy:{auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]}}),x=r({meta:{name:`appConfig.getResolvedBranding`,version:1,description:`Returns the resolved branding for a tenant/app/environment.`,owners:[i.PlatformSigil],tags:[`branding`],stability:a.Beta,goal:`Expose hydrated branding assets for rendering UI/email experiences.`,context:`Used by runtime surfaces to fetch brand assets prior to rendering tenant-specific experiences.`},io:{input:new t({name:`GetResolvedBrandingInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0}}}),output:new t({name:`GetResolvedBrandingOutput`,fields:{branding:{type:e.JSONObject(),isOptional:!1}}})},policy:{auth:`admin`,policies:[{name:`platform.app-config.read`,version:1}]}}),S=r({meta:{name:`appConfig.resolveMessage`,version:1,description:`Resolves a translation key for a tenant in the requested locale.`,owners:[i.PlatformSigil],tags:[o.I18n],stability:a.Experimental,goal:`Expose a server-side API for resolving message keys on demand.`,context:`Used by backend services or scripts that need translated copy outside the front-end runtime.`},io:{input:h,output:g},policy:{auth:`admin`,policies:[{name:`platform.app-config.read`,version:1}]}}),C={UpdateTenantBrandingCommand:_,VerifyCustomDomainCommand:v,UpdateBlueprintTranslationCatalogCommand:y,UpdateTenantTranslationOverridesCommand:b,GetResolvedBrandingQuery:x,ResolveMessageQuery:S};function w(e){return e.register(_).register(v).register(y).register(b).register(x).register(S)}export{x as GetResolvedBrandingQuery,S as ResolveMessageQuery,y as UpdateBlueprintTranslationCatalogCommand,_ as UpdateTenantBrandingCommand,b as UpdateTenantTranslationOverridesCommand,v as VerifyCustomDomainCommand,C as appConfigContracts,w as registerAppConfigContracts};
|
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import { EventSpec } from "../events.js";
|
|
2
2
|
import "../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _lssm_lib_schema209 from "@lssm/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/app-config/events.d.ts
|
|
7
7
|
declare const ConfigDraftCreatedEvent: EventSpec<SchemaModel<{
|
|
8
8
|
tenantId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
appId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
version: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
blueprintName: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
blueprintVersion: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
createdBy: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
clonedFrom: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
}>>;
|
|
37
37
|
declare const ConfigPromotedToPreviewEvent: EventSpec<SchemaModel<{
|
|
38
38
|
tenantId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
appId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
version: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
promotedBy: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
warnings: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
isArray: true;
|
|
58
58
|
};
|
|
59
59
|
}>>;
|
|
60
60
|
declare const ConfigPublishedEvent: EventSpec<SchemaModel<{
|
|
61
61
|
tenantId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
appId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
version: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
previousVersion: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
publishedBy: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
changeSummary: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
changedSections: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
87
87
|
isOptional: true;
|
|
88
88
|
isArray: true;
|
|
89
89
|
};
|
|
90
90
|
}>>;
|
|
91
91
|
declare const ConfigRolledBackEvent: EventSpec<SchemaModel<{
|
|
92
92
|
tenantId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
appId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
newVersion: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
rolledBackFrom: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
rolledBackTo: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema209.FieldType<number, number>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
rolledBackBy: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
reason: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema209.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../schema/dist/ScalarTypeEnum.js";import{t}from"../schema/dist/SchemaModel.js";import"../schema/dist/index.js";import{defineEvent as n}from"../events.js";import{OwnersEnum as r,StabilityEnum as i,TagsEnum as a}from"../ownership.js";const o={title:`Tenant App Config Lifecycle`,description:`Events emitted when tenant app configurations move through lifecycle stages.`,domain:`app-config.lifecycle`,owners:[r.PlatformSigil],tags:[a.Hygiene],stability:i.Beta},s=n({name:`app_config.draft_created`,version:1,description:`A new tenant config draft was created.`,ownership:o,payload:new t({name:`ConfigDraftCreatedPayload`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},blueprintName:{type:e.String_unsecure(),isOptional:!1},blueprintVersion:{type:e.Int_unsecure(),isOptional:!1},createdBy:{type:e.String_unsecure(),isOptional:!1},clonedFrom:{type:e.Int_unsecure(),isOptional:!0}}})}),c=n({name:`app_config.promoted_to_preview`,version:1,description:`A tenant config draft was promoted to preview.`,ownership:o,payload:new t({name:`ConfigPromotedToPreviewPayload`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},promotedBy:{type:e.String_unsecure(),isOptional:!1},warnings:{type:e.String_unsecure(),isOptional:!0,isArray:!0}}})}),l=n({name:`app_config.published`,version:1,description:`A tenant config version was published to production.`,ownership:o,payload:new t({name:`ConfigPublishedPayload`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},previousVersion:{type:e.Int_unsecure(),isOptional:!0},publishedBy:{type:e.String_unsecure(),isOptional:!1},changeSummary:{type:e.String_unsecure(),isOptional:!0},changedSections:{type:e.String_unsecure(),isOptional:!0,isArray:!0}}})}),u=n({name:`app_config.rolled_back`,version:1,description:`A tenant config was rolled back to a previous version.`,ownership:o,payload:new t({name:`ConfigRolledBackPayload`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},newVersion:{type:e.Int_unsecure(),isOptional:!1},rolledBackFrom:{type:e.Int_unsecure(),isOptional:!1},rolledBackTo:{type:e.Int_unsecure(),isOptional:!1},rolledBackBy:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!1}}})});export{s as ConfigDraftCreatedEvent,c as ConfigPromotedToPreviewEvent,l as ConfigPublishedEvent,u as ConfigRolledBackEvent};
|