@autentikar/step 2.0.0-alpha.15 → 2.0.0-alpha.16
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 +7 -1
- package/dist/context.js +3 -0
- package/package.json +1 -1
package/dist/context.d.ts
CHANGED
|
@@ -21,10 +21,16 @@ interface Preference {
|
|
|
21
21
|
get<TValue = unknown>(name: string): Promise<TValue | undefined>;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
interface Step {
|
|
25
|
+
params<TValue = unknown>(): Promise<TValue | undefined>;
|
|
26
|
+
milestone(type: string, status: string, success: boolean): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
|
|
24
29
|
interface System {
|
|
25
30
|
get<TValue = unknown>(name: string): Promise<TValue | undefined>;
|
|
26
31
|
}
|
|
27
32
|
|
|
33
|
+
declare let step: Step;
|
|
28
34
|
declare let params: Params;
|
|
29
35
|
/** @deprecated use system. */
|
|
30
36
|
declare let preference: Preference;
|
|
@@ -32,4 +38,4 @@ declare let system: System;
|
|
|
32
38
|
declare let kv: KV;
|
|
33
39
|
declare let asset: Storage;
|
|
34
40
|
|
|
35
|
-
export { type KV, type Params, type Preference, type Storage, type System, asset, kv, params, preference, system };
|
|
41
|
+
export { type KV, type Params, type Preference, type Step, type Storage, type System, asset, kv, params, preference, step, system };
|
package/dist/context.js
CHANGED
|
@@ -24,9 +24,11 @@ __export(context_exports, {
|
|
|
24
24
|
kv: () => kv,
|
|
25
25
|
params: () => params,
|
|
26
26
|
preference: () => preference,
|
|
27
|
+
step: () => step,
|
|
27
28
|
system: () => system
|
|
28
29
|
});
|
|
29
30
|
module.exports = __toCommonJS(context_exports);
|
|
31
|
+
var step;
|
|
30
32
|
var params;
|
|
31
33
|
var preference;
|
|
32
34
|
var system;
|
|
@@ -38,5 +40,6 @@ var asset;
|
|
|
38
40
|
kv,
|
|
39
41
|
params,
|
|
40
42
|
preference,
|
|
43
|
+
step,
|
|
41
44
|
system
|
|
42
45
|
});
|