@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
@@ -1,4 +1,4 @@
1
- import { S as StorageItem, C as Context, a as Step } from './index-CcRzYDPK.js';
1
+ import { S as StorageItem, C as Context, a as Step } from './index-CnuOwYb5.js';
2
2
  import 'file-type/core';
3
3
  import 'zod';
4
4
 
@@ -201,7 +201,9 @@ declare class StorageItem {
201
201
  getBase64(): string;
202
202
  getContenType(): Promise<file_type_core.MimeType | "unknown">;
203
203
  }
204
- type BaseOutput = "success" | "failure" | (string & {});
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 Staging as l, StepContext as m, StepDefinition as n, type StepEvent as o, type StepIdentityData as p, StepInstance as q, StepRequest as r };
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, l as Staging, m as StepContext, n as StepDefinition, o as StepEvent, p as StepIdentityData, q as StepInstance, r as StepRequest, S as StorageItem } from './index-CcRzYDPK.js';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autentikar/step",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist"