@deadair/sdk 0.30.1 → 0.31.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/authentication/types/authentication.types.d.ts +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/plugins/types/plugins.types.d.ts +36 -24
- package/dist/plugins/types/plugins.types.d.ts.map +1 -1
- package/dist/settings/settings.client.d.ts +6 -1
- package/dist/settings/settings.client.d.ts.map +1 -1
- package/dist/settings/types/settings.types.d.ts +27 -1
- package/dist/settings/types/settings.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -44,29 +44,39 @@ export interface ConfigFieldOption {
|
|
|
44
44
|
* generated from [ConfigFieldOptionSource](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L35)
|
|
45
45
|
*/
|
|
46
46
|
export type ConfigFieldOptionSource = 'station.newsCategories' | 'station.newsFeeds' | 'station.podcastShows' | 'station.narrationSeries' | 'intl.timeZones' | 'plugins.speech' | 'plugins.llm' | 'plugins.mixer' | 'plugins.analysis' | 'plugins.similarity' | 'llm.models';
|
|
47
|
+
/**
|
|
48
|
+
* A row a `list` field offers to start from instead of an empty one. Adding a row from it fills the cells it names, by column key, and nothing records which preset a row came from
|
|
49
|
+
* generated from [ConfigFieldPreset](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L52)
|
|
50
|
+
*/
|
|
51
|
+
export interface ConfigFieldPreset {
|
|
52
|
+
/** What the operator picks it by */
|
|
53
|
+
label: string;
|
|
54
|
+
/** Cell values by column key. A key with no column, or a `secret` column's, is ignored */
|
|
55
|
+
cells: Record<string, string>;
|
|
56
|
+
}
|
|
47
57
|
/**
|
|
48
58
|
* Whether a capability has ONE answer or is asked of everything in turn. `one` stores a plugin id
|
|
49
59
|
* and `ordered` stores a list of them; see `plugins/plugin.providers.ts`, which both this and the
|
|
50
60
|
* station read the pairing from
|
|
51
|
-
* generated from [ProviderMode](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
61
|
+
* generated from [ProviderMode](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L101)
|
|
52
62
|
*/
|
|
53
63
|
export type ProviderMode = 'one' | 'ordered';
|
|
54
64
|
/**
|
|
55
65
|
* A plugin handed over from the browser. The generated client types the body as `FormData`, so
|
|
56
66
|
* nothing checks this shape. It says what to send
|
|
57
|
-
* generated from [PluginImport](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
67
|
+
* generated from [PluginImport](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L134)
|
|
58
68
|
*/
|
|
59
69
|
export interface PluginImport {
|
|
60
70
|
/** The gzip tarball npm pack writes: every entry under package/, holding package.json and the built code, at most 64 MB */
|
|
61
71
|
file: Blob;
|
|
62
72
|
}
|
|
63
73
|
/**
|
|
64
|
-
* generated from [PluginLogLevel](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
74
|
+
* generated from [PluginLogLevel](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L145)
|
|
65
75
|
*/
|
|
66
76
|
export type PluginLogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
67
77
|
/**
|
|
68
78
|
* A submitted settings form. Secret values arrive in here and are never echoed back
|
|
69
|
-
* generated from [PluginConfigInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
79
|
+
* generated from [PluginConfigInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L177)
|
|
70
80
|
*/
|
|
71
81
|
export interface PluginConfigInput {
|
|
72
82
|
config: Record<string, unknown>;
|
|
@@ -74,12 +84,12 @@ export interface PluginConfigInput {
|
|
|
74
84
|
/**
|
|
75
85
|
* What a plugin may do with a capability it asked for. Denied is the default and needs no row: a
|
|
76
86
|
* capability is refused until somebody allows it, so "never answered" and "refused" are one state
|
|
77
|
-
* generated from [GrantDecision](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
87
|
+
* generated from [GrantDecision](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L183)
|
|
78
88
|
*/
|
|
79
89
|
export type GrantDecision = 'allowed' | 'denied';
|
|
80
90
|
/**
|
|
81
91
|
* Outcome of the plugin's own `testConnection()`
|
|
82
|
-
* generated from [PluginTestResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
92
|
+
* generated from [PluginTestResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L207)
|
|
83
93
|
*/
|
|
84
94
|
export interface PluginTestResult {
|
|
85
95
|
ok: boolean;
|
|
@@ -88,14 +98,14 @@ export interface PluginTestResult {
|
|
|
88
98
|
/**
|
|
89
99
|
* Where the console should send the browser to obtain the operator's consent. Reported rather than
|
|
90
100
|
* redirected to: the route is behind the Bearer floor, so a browser cannot follow a redirect from it
|
|
91
|
-
* generated from [PluginOAuthStart](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
101
|
+
* generated from [PluginOAuthStart](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L225)
|
|
92
102
|
*/
|
|
93
103
|
export interface PluginOAuthStart {
|
|
94
104
|
url: string;
|
|
95
105
|
}
|
|
96
106
|
/**
|
|
97
107
|
* Outcome of an OAuth callback
|
|
98
|
-
* generated from [PluginOAuthResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
108
|
+
* generated from [PluginOAuthResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L230)
|
|
99
109
|
*/
|
|
100
110
|
export interface PluginOAuthResult {
|
|
101
111
|
pluginId: string;
|
|
@@ -103,7 +113,7 @@ export interface PluginOAuthResult {
|
|
|
103
113
|
message?: string;
|
|
104
114
|
}
|
|
105
115
|
/**
|
|
106
|
-
* generated from [PluginOAuthCallbackQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
116
|
+
* generated from [PluginOAuthCallbackQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L236)
|
|
107
117
|
*/
|
|
108
118
|
export interface PluginOAuthCallbackQuery {
|
|
109
119
|
code?: string;
|
|
@@ -120,7 +130,7 @@ export interface PluginOAuthCallbackQuery {
|
|
|
120
130
|
}
|
|
121
131
|
/**
|
|
122
132
|
* One plugin's standing for one capability, as the Providers section draws it
|
|
123
|
-
* generated from [ProviderCandidate](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
133
|
+
* generated from [ProviderCandidate](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L104)
|
|
124
134
|
*/
|
|
125
135
|
export interface ProviderCandidate {
|
|
126
136
|
pluginId: string;
|
|
@@ -141,7 +151,7 @@ export interface ProviderCandidate {
|
|
|
141
151
|
* Live choices for a plugin's config fields, keyed by field key, out of the plugin's own
|
|
142
152
|
* `suggestConfigOptions()`. What `ConfigFieldDescriptor.options` cannot be: fixed when the manifest
|
|
143
153
|
* was written, where these are whatever the operator's own server currently says
|
|
144
|
-
* generated from [PluginFieldSuggestions](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
154
|
+
* generated from [PluginFieldSuggestions](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L215)
|
|
145
155
|
*/
|
|
146
156
|
export interface PluginFieldSuggestions {
|
|
147
157
|
/** Keys the plugin had nothing to say about are simply absent, rather than present and empty */
|
|
@@ -171,7 +181,7 @@ export interface ConfigFieldColumn {
|
|
|
171
181
|
dependsOnValues?: string[];
|
|
172
182
|
}
|
|
173
183
|
/**
|
|
174
|
-
* generated from [PluginLogEntry](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
184
|
+
* generated from [PluginLogEntry](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L147)
|
|
175
185
|
*/
|
|
176
186
|
export interface PluginLogEntry {
|
|
177
187
|
ts: string;
|
|
@@ -180,14 +190,14 @@ export interface PluginLogEntry {
|
|
|
180
190
|
text: string;
|
|
181
191
|
}
|
|
182
192
|
/**
|
|
183
|
-
* generated from [PluginLogQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
193
|
+
* generated from [PluginLogQuery](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L159)
|
|
184
194
|
*/
|
|
185
195
|
export interface PluginLogQuery {
|
|
186
196
|
limit?: number;
|
|
187
197
|
level?: PluginLogLevel;
|
|
188
198
|
}
|
|
189
199
|
/**
|
|
190
|
-
* generated from [PluginLogLevelInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
200
|
+
* generated from [PluginLogLevelInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L164)
|
|
191
201
|
*/
|
|
192
202
|
export interface PluginLogLevelInput {
|
|
193
203
|
level: PluginLogLevel;
|
|
@@ -195,7 +205,7 @@ export interface PluginLogLevelInput {
|
|
|
195
205
|
/**
|
|
196
206
|
* One capability a plugin asked for, with the station's answer. The ask is the plugin's manifest and
|
|
197
207
|
* the answer is a row, so a plugin that stops asking stops appearing here whatever was stored
|
|
198
|
-
* generated from [PluginGrant](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
208
|
+
* generated from [PluginGrant](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L187)
|
|
199
209
|
*/
|
|
200
210
|
export interface PluginGrant {
|
|
201
211
|
pluginId: string;
|
|
@@ -211,7 +221,7 @@ export interface PluginGrant {
|
|
|
211
221
|
decision: GrantDecision;
|
|
212
222
|
}
|
|
213
223
|
/**
|
|
214
|
-
* generated from [PluginGrantInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
224
|
+
* generated from [PluginGrantInput](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L201)
|
|
215
225
|
*/
|
|
216
226
|
export interface PluginGrantInput {
|
|
217
227
|
capability: string;
|
|
@@ -219,7 +229,7 @@ export interface PluginGrantInput {
|
|
|
219
229
|
}
|
|
220
230
|
/**
|
|
221
231
|
* One capability, who can answer it, and what the operator has said about the order
|
|
222
|
-
* generated from [ProviderCapabilityState](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
232
|
+
* generated from [ProviderCapabilityState](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L116)
|
|
223
233
|
*/
|
|
224
234
|
export interface ProviderCapabilityState {
|
|
225
235
|
/** The manifest capability, which is also the console's anchor for this block */
|
|
@@ -238,7 +248,7 @@ export interface ProviderCapabilityState {
|
|
|
238
248
|
}
|
|
239
249
|
/**
|
|
240
250
|
* Mirrors the plugin SDK's `ConfigField`: enough for a console to render the settings form with no per-plugin code
|
|
241
|
-
* generated from [ConfigFieldDescriptor](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
251
|
+
* generated from [ConfigFieldDescriptor](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L58)
|
|
242
252
|
*/
|
|
243
253
|
export interface ConfigFieldDescriptor {
|
|
244
254
|
key: string;
|
|
@@ -263,13 +273,15 @@ export interface ConfigFieldDescriptor {
|
|
|
263
273
|
optionsFrom?: ConfigFieldOptionSource;
|
|
264
274
|
/** `list` only, and ignored elsewhere */
|
|
265
275
|
columns?: ConfigFieldColumn[];
|
|
276
|
+
/** `list` only: rows the Add button offers to start from, beside an empty one */
|
|
277
|
+
presets?: ConfigFieldPreset[];
|
|
266
278
|
/** Key of the field this one is only relevant to */
|
|
267
279
|
dependsOn?: string;
|
|
268
280
|
/** Key of the `number` field that is the upper end of the range this one opens, declared on the lower end only. Still two settings, each validated by name; the console draws them as one control whose handles cannot cross */
|
|
269
281
|
rangeWith?: string;
|
|
270
282
|
}
|
|
271
283
|
/**
|
|
272
|
-
* generated from [PluginLogPage](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
284
|
+
* generated from [PluginLogPage](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L153)
|
|
273
285
|
*/
|
|
274
286
|
export interface PluginLogPage {
|
|
275
287
|
pluginId: string;
|
|
@@ -278,7 +290,7 @@ export interface PluginLogPage {
|
|
|
278
290
|
entries: PluginLogEntry[];
|
|
279
291
|
}
|
|
280
292
|
/**
|
|
281
|
-
* generated from [PluginGrantList](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
293
|
+
* generated from [PluginGrantList](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L197)
|
|
282
294
|
*/
|
|
283
295
|
export interface PluginGrantList {
|
|
284
296
|
/** Every capability every installed plugin is asking for, refused ones included */
|
|
@@ -287,14 +299,14 @@ export interface PluginGrantList {
|
|
|
287
299
|
/**
|
|
288
300
|
* Every capability an operator chooses between. Capabilities that fan out and merge without
|
|
289
301
|
* ranking are deliberately absent: order changes nothing about a union
|
|
290
|
-
* generated from [ProviderCatalogue](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
302
|
+
* generated from [ProviderCatalogue](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L128)
|
|
291
303
|
*/
|
|
292
304
|
export interface ProviderCatalogue {
|
|
293
305
|
capabilities: ProviderCapabilityState[];
|
|
294
306
|
}
|
|
295
307
|
/**
|
|
296
308
|
* A plugin as the settings list sees it. Carries no configured VALUES, only which secrets are set
|
|
297
|
-
* generated from [PluginSummary](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
309
|
+
* generated from [PluginSummary](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L80)
|
|
298
310
|
*/
|
|
299
311
|
export interface PluginSummary {
|
|
300
312
|
id: string;
|
|
@@ -340,7 +352,7 @@ export interface PluginSummaryInput {
|
|
|
340
352
|
export declare function revivePluginSummary(raw: PluginSummary): PluginSummary;
|
|
341
353
|
/**
|
|
342
354
|
* What an import did
|
|
343
|
-
* generated from [PluginImportResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
355
|
+
* generated from [PluginImportResult](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L139)
|
|
344
356
|
*/
|
|
345
357
|
export interface PluginImportResult {
|
|
346
358
|
/** The id the imported plugin claimed */
|
|
@@ -362,7 +374,7 @@ export interface PluginImportResultInput {
|
|
|
362
374
|
export declare function revivePluginImportResult(raw: PluginImportResult): PluginImportResult;
|
|
363
375
|
/**
|
|
364
376
|
* A summary plus the stored NON-SECRET configuration
|
|
365
|
-
* generated from [PluginDetail](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#
|
|
377
|
+
* generated from [PluginDetail](../../../../../apps/api/data/contracts/plugins/plugins.types.ck#L169)
|
|
366
378
|
*/
|
|
367
379
|
export interface PluginDetail extends PluginSummary {
|
|
368
380
|
/** Absolute path of the plugin's directory on the station */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.types.d.ts","sourceRoot":"","sources":["../../../src/plugins/types/plugins.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAUjC;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,UAAU,GAAG,eAAe,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE7F;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvI;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,UAAU,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAC7B,wBAAwB,GACxB,mBAAmB,GACnB,sBAAsB,GACtB,yBAAyB,GACzB,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,eAAe,GACf,kBAAkB,GAClB,oBAAoB,GACpB,YAAY,CAAC;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IAC7G,OAAO,EAAE,kBAAkB,EAAE,CAAC;CACjC;AAED,qHAAqH;AACrH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,kBAAkB,GAAG,kBAAkB,CASpF;AAED;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,aAAa;IAC/C,6DAA6D;IAC7D,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IACzD,6DAA6D;IAC7D,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;CAC5B;AAED,+GAA+G;AAC/G,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,YAAY,GAAG,YAAY,CAGlE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SdkFetch } from '../sdk-options.js';
|
|
2
|
-
import type { StationSettings, StationSettingsInput } from './types/settings.types.js';
|
|
2
|
+
import type { SigninProvidersCheck, StationSettings, StationSettingsInput } from './types/settings.types.js';
|
|
3
3
|
export declare class SettingsClient {
|
|
4
4
|
private fetch;
|
|
5
5
|
constructor(fetch: SdkFetch);
|
|
@@ -13,5 +13,10 @@ export declare class SettingsClient {
|
|
|
13
13
|
* @description Applies a submitted settings form and answers with the settings as they now stand
|
|
14
14
|
*/
|
|
15
15
|
updateSettings(body: StationSettingsInput): Promise<StationSettings>;
|
|
16
|
+
/**
|
|
17
|
+
* @name Check sign-in providers
|
|
18
|
+
* @description Asks each identity provider in the sign-in settings for its discovery document, the way a sign-in would, and says which answered
|
|
19
|
+
*/
|
|
20
|
+
checkSignInProviders(): Promise<SigninProvidersCheck>;
|
|
16
21
|
}
|
|
17
22
|
//# sourceMappingURL=settings.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.client.d.ts","sourceRoot":"","sources":["../../src/settings/settings.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"settings.client.d.ts","sourceRoot":"","sources":["../../src/settings/settings.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE7G,qBAAa,cAAc;IACX,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,QAAQ;IAEnC;;;OAGG;IACG,WAAW,IAAI,OAAO,CAAC,eAAe,CAAC;IAK7C;;;OAGG;IACG,cAAc,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;IAS1E;;;OAGG;IACG,oBAAoB,IAAI,OAAO,CAAC,oBAAoB,CAAC;CAI9D"}
|
|
@@ -12,6 +12,22 @@ export type SettingGroup = 'station' | 'stream' | 'housekeeping' | 'mail' | 'sig
|
|
|
12
12
|
export interface StationSettingsInput {
|
|
13
13
|
values: Record<string, unknown>;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* One identity provider row, and whether its issuer answered as one
|
|
17
|
+
* generated from [SigninProviderCheck](../../../../../apps/api/data/contracts/settings/settings.types.ck#L58)
|
|
18
|
+
*/
|
|
19
|
+
export interface SigninProviderCheck {
|
|
20
|
+
/** The row's name */
|
|
21
|
+
name: string;
|
|
22
|
+
/** What its button says */
|
|
23
|
+
label: string;
|
|
24
|
+
/** The issuer that was asked */
|
|
25
|
+
issuer: string;
|
|
26
|
+
/** Whether the issuer answered with a discovery document naming itself */
|
|
27
|
+
ok: boolean;
|
|
28
|
+
/** Why not, in a sentence. Absent when it answered */
|
|
29
|
+
problem?: string;
|
|
30
|
+
}
|
|
15
31
|
/**
|
|
16
32
|
* A station setting as the console needs to render it. `ConfigFieldDescriptor` is the plugins area's,
|
|
17
33
|
* and shared deliberately: a plugin's settings form and the station's are the same problem, and the
|
|
@@ -21,6 +37,16 @@ export interface StationSettingsInput {
|
|
|
21
37
|
export interface StationSettingDescriptor extends ConfigFieldDescriptor {
|
|
22
38
|
group: SettingGroup;
|
|
23
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Every identity provider row the station could read, and the ones it could not use at all
|
|
42
|
+
* generated from [SigninProvidersCheck](../../../../../apps/api/data/contracts/settings/settings.types.ck#L67)
|
|
43
|
+
*/
|
|
44
|
+
export interface SigninProvidersCheck {
|
|
45
|
+
/** In the order the rows are listed */
|
|
46
|
+
providers: SigninProviderCheck[];
|
|
47
|
+
/** One sentence per row the station drops before asking anybody: a missing cell, a name that is not a slug, an issuer that is not an address */
|
|
48
|
+
unusable: string[];
|
|
49
|
+
}
|
|
24
50
|
/**
|
|
25
51
|
* Every station setting, with what it is currently worth
|
|
26
52
|
* generated from [StationSettings](../../../../../apps/api/data/contracts/settings/settings.types.ck#L44)
|
|
@@ -31,7 +57,7 @@ export interface StationSettings {
|
|
|
31
57
|
values: Record<string, unknown>;
|
|
32
58
|
/** One entry per `secret` setting: whether a value is currently stored. Never the value itself */
|
|
33
59
|
configured: Record<string, boolean>;
|
|
34
|
-
/** One entry per setting whose EMPTY value is worked out rather than simply absent: the public URL from the address the station was deployed with, the advertised hostname from the public URL, the station's zone from this machine's. What the station WOULD use with the box left empty, which is not the same as what is in force — the stored value is deliberately skipped, so a filled-in field still reports what clearing it would fall back to. A key is absent where its derivation lands on nothing. Values only: where each one comes from is in the field's own help text, which has said so since before this map existed */
|
|
60
|
+
/** One entry per setting whose EMPTY value is worked out rather than simply absent: the public URL from the address the station was deployed with, the advertised hostname from the public URL, the station's zone from this machine's. Also the sign-in redirect address, for the `note` that shows it, since a note holds no value of its own. What the station WOULD use with the box left empty, which is not the same as what is in force — the stored value is deliberately skipped, so a filled-in field still reports what clearing it would fall back to. A key is absent where its derivation lands on nothing. Values only: where each one comes from is in the field's own help text, which has said so since before this map existed */
|
|
35
61
|
derived: Record<string, string>;
|
|
36
62
|
}
|
|
37
63
|
//# sourceMappingURL=settings.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.types.d.ts","sourceRoot":"","sources":["../../../src/settings/types/settings.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAElF;;;GAGG;AACH,MAAM,MAAM,YAAY,GAClB,SAAS,GACT,QAAQ,GACR,cAAc,GACd,MAAM,GACN,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,WAAW,GACX,SAAS,GACT,QAAQ,GACR,KAAK,GACL,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,CAAC;AAElB;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAyB,SAAQ,qBAAqB;IACnE,KAAK,EAAE,YAAY,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACxC,mFAAmF;IACnF,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,kGAAkG;IAClG,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,
|
|
1
|
+
{"version":3,"file":"settings.types.d.ts","sourceRoot":"","sources":["../../../src/settings/types/settings.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBA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