@autentikar/step 2.2.8 → 2.2.9
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/context.d.ts
CHANGED
|
@@ -201,7 +201,9 @@ declare class StorageItem {
|
|
|
201
201
|
getBase64(): string;
|
|
202
202
|
getContenType(): Promise<file_type_core.MimeType | "unknown">;
|
|
203
203
|
}
|
|
204
|
-
type
|
|
204
|
+
type GenericOutput = "success" | "failure";
|
|
205
|
+
type BaseOutput = GenericOutput | (string & {});
|
|
206
|
+
type MethodOutputDescription<T extends string> = Record<T | GenericOutput, string>;
|
|
205
207
|
type Method<OUTPUT extends string = never> = (req: AutentikarRequest<BaseOutput | OUTPUT>) => Promise<AutentikarResponse>;
|
|
206
208
|
type Resource<OUTPUT extends never> = (req: AutentikarRequest<OUTPUT>) => Promise<AutentikarResponse>;
|
|
207
209
|
type StepEvent = (req: AutentikarRequest) => Promise<AutentikarResponse>;
|
|
@@ -263,4 +265,4 @@ declare class StepContext {
|
|
|
263
265
|
isExpired(): boolean | 0 | undefined;
|
|
264
266
|
}
|
|
265
267
|
|
|
266
|
-
export { type AppEnv as A, type Context as C, FlowContext as F, type IdentityDto as I, type Method as M, type PersistentType as P, type Resource as R, StorageItem as S, type Step as a, type AppEnvVariables as b, type AppEnvironments as c, AutentikarRequest as d, AutentikarResponse as e, ContextRequest as f, IdentitySchemaDto as g, type MethodContextFlow as h, type MethodContextInstance as i, type MethodContextOrganization as j, type MethodContextStep as k, type
|
|
268
|
+
export { type AppEnv as A, type Context as C, FlowContext as F, type IdentityDto as I, type Method as M, type PersistentType as P, type Resource as R, StorageItem as S, type Step as a, type AppEnvVariables as b, type AppEnvironments as c, AutentikarRequest as d, AutentikarResponse as e, ContextRequest as f, IdentitySchemaDto as g, type MethodContextFlow as h, type MethodContextInstance as i, type MethodContextOrganization as j, type MethodContextStep as k, type MethodOutputDescription as l, type Staging as m, StepContext as n, StepDefinition as o, type StepEvent as p, type StepIdentityData as q, StepInstance as r, StepRequest as s };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'file-type/core';
|
|
2
2
|
import 'zod';
|
|
3
|
-
export { A as AppEnv, b as AppEnvVariables, c as AppEnvironments, d as AutentikarRequest, e as AutentikarResponse, f as ContextRequest, F as FlowContext, I as IdentityDto, g as IdentitySchemaDto, M as Method, h as MethodContextFlow, i as MethodContextInstance, j as MethodContextOrganization, k as MethodContextStep, P as PersistentType, R as Resource,
|
|
3
|
+
export { A as AppEnv, b as AppEnvVariables, c as AppEnvironments, d as AutentikarRequest, e as AutentikarResponse, f as ContextRequest, F as FlowContext, I as IdentityDto, g as IdentitySchemaDto, M as Method, h as MethodContextFlow, i as MethodContextInstance, j as MethodContextOrganization, k as MethodContextStep, l as MethodOutputDescription, P as PersistentType, R as Resource, m as Staging, n as StepContext, o as StepDefinition, p as StepEvent, q as StepIdentityData, r as StepInstance, s as StepRequest, S as StorageItem } from './index-CnuOwYb5.js';
|