@taqueria/protocol 0.16.0 → 0.19.2
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/Alias.d.ts +42 -0
- package/Alias.d.ts.map +1 -0
- package/Alias.js +70 -0
- package/Alias.js.map +1 -0
- package/Alias.mjs +34 -0
- package/Alias.mjs.map +1 -0
- package/Base.d.ts +48 -0
- package/Base.d.ts.map +1 -0
- package/Base.js +83 -0
- package/Base.js.map +1 -0
- package/Base.mjs +57 -0
- package/Base.mjs.map +1 -0
- package/Command.d.ts +24 -0
- package/Command.d.ts.map +1 -0
- package/Command.js +61 -0
- package/Command.js.map +1 -0
- package/Command.mjs +25 -0
- package/Command.mjs.map +1 -0
- package/Config.d.ts +2055 -0
- package/Config.d.ts.map +1 -0
- package/Config.js +175 -0
- package/Config.js.map +1 -0
- package/Config.mjs +135 -0
- package/Config.mjs.map +1 -0
- package/Contract.d.ts +82 -0
- package/Contract.d.ts.map +1 -0
- package/Contract.js +68 -0
- package/Contract.js.map +1 -0
- package/Contract.mjs +32 -0
- package/Contract.mjs.map +1 -0
- package/Crypto.d.ts +4 -0
- package/Crypto.d.ts.map +1 -0
- package/Crypto.js +35 -0
- package/Crypto.js.map +1 -0
- package/Crypto.mjs +10 -0
- package/Crypto.mjs.map +1 -0
- package/EconomicalProtocolHash.d.ts +41 -0
- package/EconomicalProtocolHash.d.ts.map +1 -0
- package/EconomicalProtocolHash.js +64 -0
- package/EconomicalProtocolHash.js.map +1 -0
- package/EconomicalProtocolHash.mjs +27 -0
- package/EconomicalProtocolHash.mjs.map +1 -0
- package/Environment.d.ts +134 -0
- package/Environment.d.ts.map +1 -0
- package/Environment.js +78 -0
- package/Environment.js.map +1 -0
- package/Environment.mjs +40 -0
- package/Environment.mjs.map +1 -0
- package/EphemeralState.d.ts +4556 -0
- package/EphemeralState.d.ts.map +1 -0
- package/EphemeralState.js +268 -0
- package/EphemeralState.js.map +1 -0
- package/EphemeralState.mjs +228 -0
- package/EphemeralState.mjs.map +1 -0
- package/Faucet.d.ts +203 -0
- package/Faucet.d.ts.map +1 -0
- package/Faucet.js +84 -0
- package/Faucet.js.map +1 -0
- package/Faucet.mjs +47 -0
- package/Faucet.mjs.map +1 -0
- package/HumanReadableIdentifier.d.ts +24 -0
- package/HumanReadableIdentifier.d.ts.map +1 -0
- package/HumanReadableIdentifier.js +61 -0
- package/HumanReadableIdentifier.js.map +1 -0
- package/HumanReadableIdentifier.mjs +25 -0
- package/HumanReadableIdentifier.mjs.map +1 -0
- package/InstalledPlugin.d.ts +92 -0
- package/InstalledPlugin.d.ts.map +1 -0
- package/InstalledPlugin.js +67 -0
- package/InstalledPlugin.js.map +1 -0
- package/InstalledPlugin.mjs +30 -0
- package/InstalledPlugin.mjs.map +1 -0
- package/LoadedConfig.d.ts +2318 -0
- package/LoadedConfig.d.ts.map +1 -0
- package/LoadedConfig.js +80 -0
- package/LoadedConfig.js.map +1 -0
- package/LoadedConfig.mjs +41 -0
- package/LoadedConfig.mjs.map +1 -0
- package/MetadataConfig.d.ts +155 -0
- package/MetadataConfig.d.ts.map +1 -0
- package/MetadataConfig.js +75 -0
- package/MetadataConfig.js.map +1 -0
- package/MetadataConfig.mjs +38 -0
- package/MetadataConfig.mjs.map +1 -0
- package/NetworkConfig.d.ts +424 -0
- package/NetworkConfig.d.ts.map +1 -0
- package/NetworkConfig.js +77 -0
- package/NetworkConfig.js.map +1 -0
- package/NetworkConfig.mjs +40 -0
- package/NetworkConfig.mjs.map +1 -0
- package/Operation.d.ts +1470 -0
- package/Operation.d.ts.map +1 -0
- package/Operation.js +98 -0
- package/Operation.js.map +1 -0
- package/Operation.mjs +60 -0
- package/Operation.mjs.map +1 -0
- package/Option.d.ts +309 -0
- package/Option.d.ts.map +1 -0
- package/Option.js +103 -0
- package/Option.js.map +1 -0
- package/Option.mjs +65 -0
- package/Option.mjs.map +1 -0
- package/ParsedOperation.d.ts +880 -0
- package/ParsedOperation.d.ts.map +1 -0
- package/ParsedOperation.js +63 -0
- package/ParsedOperation.js.map +1 -0
- package/ParsedOperation.mjs +26 -0
- package/ParsedOperation.mjs.map +1 -0
- package/ParsedTemplate.d.ts +1024 -0
- package/ParsedTemplate.d.ts.map +1 -0
- package/ParsedTemplate.js +71 -0
- package/ParsedTemplate.js.map +1 -0
- package/ParsedTemplate.mjs +34 -0
- package/ParsedTemplate.mjs.map +1 -0
- package/PersistentState.d.ts +575 -0
- package/PersistentState.d.ts.map +1 -0
- package/PersistentState.js +98 -0
- package/PersistentState.js.map +1 -0
- package/PersistentState.mjs +60 -0
- package/PersistentState.mjs.map +1 -0
- package/PluginActionName.d.ts +22 -0
- package/PluginActionName.d.ts.map +1 -0
- package/PluginActionName.js +48 -0
- package/PluginActionName.js.map +1 -0
- package/PluginActionName.mjs +23 -0
- package/PluginActionName.mjs.map +1 -0
- package/PluginDependenciesResponse.d.ts +152 -0
- package/PluginDependenciesResponse.d.ts.map +1 -0
- package/PluginDependenciesResponse.js +63 -0
- package/PluginDependenciesResponse.js.map +1 -0
- package/PluginDependenciesResponse.mjs +28 -0
- package/PluginDependenciesResponse.mjs.map +1 -0
- package/PluginInfo.d.ts +3418 -0
- package/PluginInfo.d.ts.map +1 -0
- package/PluginInfo.js +113 -0
- package/PluginInfo.js.map +1 -0
- package/PluginInfo.mjs +76 -0
- package/PluginInfo.mjs.map +1 -0
- package/PluginJsonResponse.d.ts +99 -0
- package/PluginJsonResponse.d.ts.map +1 -0
- package/PluginJsonResponse.js +59 -0
- package/PluginJsonResponse.js.map +1 -0
- package/PluginJsonResponse.mjs +25 -0
- package/PluginJsonResponse.mjs.map +1 -0
- package/PluginProxyResponse.d.ts +16 -0
- package/PluginProxyResponse.d.ts.map +1 -0
- package/PluginProxyResponse.js +61 -0
- package/PluginProxyResponse.js.map +1 -0
- package/PluginProxyResponse.mjs +25 -0
- package/PluginProxyResponse.mjs.map +1 -0
- package/PluginResponseEncoding.d.ts +32 -0
- package/PluginResponseEncoding.d.ts.map +1 -0
- package/PluginResponseEncoding.js +63 -0
- package/PluginResponseEncoding.js.map +1 -0
- package/PluginResponseEncoding.mjs +27 -0
- package/PluginResponseEncoding.mjs.map +1 -0
- package/PluginSchema.d.ts +7324 -0
- package/PluginSchema.d.ts.map +1 -0
- package/PluginSchema.js +107 -0
- package/PluginSchema.js.map +1 -0
- package/PluginSchema.mjs +70 -0
- package/PluginSchema.mjs.map +1 -0
- package/PositionalArg.d.ts +183 -0
- package/PositionalArg.d.ts.map +1 -0
- package/PositionalArg.js +78 -0
- package/PositionalArg.js.map +1 -0
- package/PositionalArg.mjs +41 -0
- package/PositionalArg.mjs.map +1 -0
- package/Provisioner.d.ts +269 -0
- package/Provisioner.d.ts.map +1 -0
- package/Provisioner.js +86 -0
- package/Provisioner.js.map +1 -0
- package/Provisioner.mjs +48 -0
- package/Provisioner.mjs.map +1 -0
- package/ProvisionerID.d.ts +41 -0
- package/ProvisionerID.d.ts.map +1 -0
- package/ProvisionerID.js +61 -0
- package/ProvisionerID.js.map +1 -0
- package/ProvisionerID.mjs +24 -0
- package/ProvisionerID.mjs.map +1 -0
- package/Provisions.d.ts +237 -0
- package/Provisions.d.ts.map +1 -0
- package/Provisions.js +93 -0
- package/Provisions.js.map +1 -0
- package/Provisions.mjs +57 -0
- package/Provisions.mjs.map +1 -0
- package/PublicKeyHash.d.ts +42 -0
- package/PublicKeyHash.d.ts.map +1 -0
- package/PublicKeyHash.js +65 -0
- package/PublicKeyHash.js.map +1 -0
- package/PublicKeyHash.mjs +28 -0
- package/PublicKeyHash.mjs.map +1 -0
- package/RequestArgs.d.ts +5548 -0
- package/RequestArgs.d.ts.map +1 -0
- package/RequestArgs.js +136 -0
- package/RequestArgs.js.map +1 -0
- package/RequestArgs.mjs +89 -0
- package/RequestArgs.mjs.map +1 -0
- package/SHA256.d.ts +29 -0
- package/SHA256.d.ts.map +1 -0
- package/SHA256.js +79 -0
- package/SHA256.js.map +1 -0
- package/SHA256.mjs +42 -0
- package/SHA256.mjs.map +1 -0
- package/SandboxAccountConfig.d.ts +145 -0
- package/SandboxAccountConfig.d.ts.map +1 -0
- package/SandboxAccountConfig.js +72 -0
- package/SandboxAccountConfig.js.map +1 -0
- package/SandboxAccountConfig.mjs +35 -0
- package/SandboxAccountConfig.mjs.map +1 -0
- package/SandboxConfig.d.ts +543 -0
- package/SandboxConfig.d.ts.map +1 -0
- package/SandboxConfig.js +103 -0
- package/SandboxConfig.js.map +1 -0
- package/SandboxConfig.mjs +66 -0
- package/SandboxConfig.mjs.map +1 -0
- package/SanitizedAbsPath.d.ts +41 -0
- package/SanitizedAbsPath.d.ts.map +1 -0
- package/SanitizedAbsPath.js +64 -0
- package/SanitizedAbsPath.js.map +1 -0
- package/SanitizedAbsPath.mjs +27 -0
- package/SanitizedAbsPath.mjs.map +1 -0
- package/SanitizedArgs.d.ts +2900 -0
- package/SanitizedArgs.d.ts.map +1 -0
- package/SanitizedArgs.js +269 -0
- package/SanitizedArgs.js.map +1 -0
- package/SanitizedArgs.mjs +197 -0
- package/SanitizedArgs.mjs.map +1 -0
- package/SanitizedPath.d.ts +24 -0
- package/SanitizedPath.d.ts.map +1 -0
- package/SanitizedPath.js +64 -0
- package/SanitizedPath.js.map +1 -0
- package/SanitizedPath.mjs +28 -0
- package/SanitizedPath.mjs.map +1 -0
- package/ScaffoldConfig.d.ts +5 -0
- package/ScaffoldConfig.d.ts.map +1 -0
- package/ScaffoldConfig.js +19 -0
- package/ScaffoldConfig.js.map +1 -0
- package/ScaffoldConfig.mjs +1 -0
- package/ScaffoldConfig.mjs.map +1 -0
- package/Settings.d.ts +75 -0
- package/Settings.d.ts.map +1 -0
- package/Settings.js +66 -0
- package/Settings.js.map +1 -0
- package/Settings.mjs +29 -0
- package/Settings.mjs.map +1 -0
- package/SingleChar.d.ts +41 -0
- package/SingleChar.d.ts.map +1 -0
- package/SingleChar.js +62 -0
- package/SingleChar.js.map +1 -0
- package/SingleChar.mjs +25 -0
- package/SingleChar.mjs.map +1 -0
- package/TaqError.d.ts +21 -0
- package/TaqError.d.ts.map +1 -0
- package/TaqError.js +65 -0
- package/TaqError.js.map +1 -0
- package/TaqError.mjs +35 -0
- package/TaqError.mjs.map +1 -0
- package/Task.d.ts +818 -0
- package/Task.d.ts.map +1 -0
- package/Task.js +95 -0
- package/Task.js.map +1 -0
- package/Task.mjs +58 -0
- package/Task.mjs.map +1 -0
- package/Template.d.ts +1738 -0
- package/Template.d.ts.map +1 -0
- package/Template.js +117 -0
- package/Template.js.map +1 -0
- package/Template.mjs +79 -0
- package/Template.mjs.map +1 -0
- package/Timestamp.d.ts +44 -0
- package/Timestamp.d.ts.map +1 -0
- package/Timestamp.js +65 -0
- package/Timestamp.js.map +1 -0
- package/Timestamp.mjs +27 -0
- package/Timestamp.mjs.map +1 -0
- package/Tz.d.ts +40 -0
- package/Tz.d.ts.map +1 -0
- package/Tz.js +62 -0
- package/Tz.js.map +1 -0
- package/Tz.mjs +25 -0
- package/Tz.mjs.map +1 -0
- package/Url.d.ts +42 -0
- package/Url.d.ts.map +1 -0
- package/Url.js +68 -0
- package/Url.js.map +1 -0
- package/Url.mjs +30 -0
- package/Url.mjs.map +1 -0
- package/Verb.d.ts +41 -0
- package/Verb.d.ts.map +1 -0
- package/Verb.js +62 -0
- package/Verb.js.map +1 -0
- package/Verb.mjs +25 -0
- package/Verb.mjs.map +1 -0
- package/VersionNumber.d.ts +24 -0
- package/VersionNumber.d.ts.map +1 -0
- package/VersionNumber.js +61 -0
- package/VersionNumber.js.map +1 -0
- package/VersionNumber.mjs +25 -0
- package/VersionNumber.mjs.map +1 -0
- package/i18n.d.ts +7 -0
- package/i18n.d.ts.map +1 -0
- package/i18n.js +96 -0
- package/i18n.js.map +1 -0
- package/i18n.mjs +67 -0
- package/i18n.mjs.map +1 -0
- package/package.json +31 -3
- package/{taqueria-protocol-types.ts → taqueria-protocol-types.d.ts} +1 -0
- package/taqueria-protocol-types.d.ts.map +1 -0
- package/taqueria-protocol-types.js +142 -0
- package/taqueria-protocol-types.js.map +1 -0
- package/taqueria-protocol-types.mjs +76 -0
- package/taqueria-protocol-types.mjs.map +1 -0
- package/tzkt-config.d.ts +109 -0
- package/tzkt-config.d.ts.map +1 -0
- package/tzkt-config.js +65 -0
- package/tzkt-config.js.map +1 -0
- package/tzkt-config.mjs +28 -0
- package/tzkt-config.mjs.map +1 -0
- package/Alias.ts +0 -38
- package/Base.ts +0 -105
- package/Command.ts +0 -26
- package/Config.ts +0 -163
- package/Contract.ts +0 -35
- package/Crypto.ts +0 -3
- package/EconomicalProtocolHash.ts +0 -26
- package/Environment.ts +0 -40
- package/EphemeralState.ts +0 -282
- package/Faucet.ts +0 -46
- package/HumanReadableIdentifier.ts +0 -26
- package/InstalledPlugin.ts +0 -28
- package/LoadedConfig.ts +0 -45
- package/MetadataConfig.ts +0 -37
- package/NetworkConfig.ts +0 -39
- package/Operation.ts +0 -70
- package/Option.ts +0 -64
- package/ParsedOperation.ts +0 -33
- package/ParsedTemplate.ts +0 -40
- package/PersistentState.ts +0 -69
- package/PluginActionName.ts +0 -28
- package/PluginDependenciesResponse.ts +0 -33
- package/PluginInfo.ts +0 -76
- package/PluginJsonResponse.ts +0 -26
- package/PluginProxyResponse.ts +0 -24
- package/PluginResponseEncoding.ts +0 -27
- package/PluginSchema.ts +0 -81
- package/PositionalArg.ts +0 -41
- package/Provisioner.ts +0 -61
- package/ProvisionerID.ts +0 -25
- package/Provisions.ts +0 -70
- package/PublicKeyHash.ts +0 -28
- package/RequestArgs.ts +0 -97
- package/SHA256.ts +0 -42
- package/SandboxAccountConfig.ts +0 -35
- package/SandboxConfig.ts +0 -66
- package/SanitizedAbsPath.ts +0 -23
- package/SanitizedArgs.ts +0 -213
- package/SanitizedPath.ts +0 -28
- package/ScaffoldConfig.ts +0 -6
- package/Settings.ts +0 -27
- package/SingleChar.ts +0 -23
- package/TaqError.ts +0 -78
- package/Task.ts +0 -57
- package/Template.ts +0 -77
- package/Timestamp.ts +0 -25
- package/Tz.ts +0 -22
- package/Url.ts +0 -28
- package/Verb.ts +0 -23
- package/VersionNumber.ts +0 -25
- package/i18n.ts +0 -74
- package/tzkt-config.ts +0 -27
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParsedTemplate.d.ts","sourceRoot":"","sources":["ParsedTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMM,CAAC;AAK7B,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/C,CAAC;AAEH,oBAAY,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACrE,oBAAY,CAAC,GAAG,cAAc,CAAC;AAE/B,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
+
mod
|
|
23
|
+
));
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
|
+
|
|
26
|
+
// ParsedTemplate.ts
|
|
27
|
+
var ParsedTemplate_exports = {};
|
|
28
|
+
__export(ParsedTemplate_exports, {
|
|
29
|
+
create: () => create,
|
|
30
|
+
factory: () => factory,
|
|
31
|
+
generatedSchemas: () => generatedSchemas,
|
|
32
|
+
make: () => make,
|
|
33
|
+
of: () => of,
|
|
34
|
+
rawSchema: () => rawSchema2,
|
|
35
|
+
schemas: () => schemas2
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(ParsedTemplate_exports);
|
|
38
|
+
var import_Base = __toESM(require("@taqueria/protocol/Base"));
|
|
39
|
+
var PluginResponseEncoding = __toESM(require("@taqueria/protocol/PluginResponseEncoding"));
|
|
40
|
+
var Template = __toESM(require("@taqueria/protocol/Template"));
|
|
41
|
+
var import_zod = require("zod");
|
|
42
|
+
var internalSchema2 = Template.internalSchema.extend({
|
|
43
|
+
handler: import_zod.z.string(),
|
|
44
|
+
encoding: PluginResponseEncoding.schemas.schema
|
|
45
|
+
}).describe("ParsedTemplate");
|
|
46
|
+
var rawSchema2 = Template.rawSchema.extend({
|
|
47
|
+
handler: import_zod.z.string(),
|
|
48
|
+
encoding: PluginResponseEncoding.schemas.schema
|
|
49
|
+
}).describe("ParsedTemplate");
|
|
50
|
+
var { schemas: generatedSchemas, factory } = (0, import_Base.default)({
|
|
51
|
+
rawSchema: rawSchema2,
|
|
52
|
+
internalSchema: internalSchema2,
|
|
53
|
+
parseErrMsg: (value) => `Could not parse the following template: ${value}`,
|
|
54
|
+
unknownErrMsg: "Something went wrong trying to parse an template"
|
|
55
|
+
});
|
|
56
|
+
var { create, make, of } = factory;
|
|
57
|
+
var schemas2 = {
|
|
58
|
+
...generatedSchemas,
|
|
59
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
60
|
+
};
|
|
61
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
62
|
+
0 && (module.exports = {
|
|
63
|
+
create,
|
|
64
|
+
factory,
|
|
65
|
+
generatedSchemas,
|
|
66
|
+
make,
|
|
67
|
+
of,
|
|
68
|
+
rawSchema,
|
|
69
|
+
schemas
|
|
70
|
+
});
|
|
71
|
+
//# sourceMappingURL=ParsedTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ParsedTemplate.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport * as PluginResponseEncoding from '@taqueria/protocol/PluginResponseEncoding';\nimport * as Template from '@taqueria/protocol/Template';\nimport { z } from 'zod';\n\nconst internalSchema = Template\n\t.internalSchema\n\t.extend({\n\t\thandler: z.string(),\n\t\tencoding: PluginResponseEncoding.schemas.schema,\n\t})\n\t.describe('ParsedTemplate');\n\nexport const rawSchema = Template\n\t.rawSchema\n\t.extend({\n\t\thandler: z.string(),\n\t\tencoding: PluginResponseEncoding.schemas.schema,\n\t})\n\t.describe('ParsedTemplate');\n\ntype RawInput = z.infer<typeof rawSchema>;\ntype Input = z.infer<typeof internalSchema>;\n\nexport const { schemas: generatedSchemas, factory } = createType<RawInput, Input>({\n\trawSchema,\n\tinternalSchema,\n\tparseErrMsg: (value: unknown) => `Could not parse the following template: ${value}`,\n\tunknownErrMsg: 'Something went wrong trying to parse an template',\n});\n\nexport type ParsedTemplate = z.infer<typeof generatedSchemas.schema>;\nexport type t = ParsedTemplate;\n\nexport const { create, make, of } = factory;\n\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as ParsedTemplate),\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAAA;AAAA,EAAA,eAAAC;AAAA;AAAA;AAAA,kBAAuB;AACvB,6BAAwC;AACxC,eAA0B;AAC1B,iBAAkB;AAElB,IAAMC,kBACJ,wBACA,OAAO;AAAA,EACP,SAAS,aAAE,OAAO;AAAA,EAClB,UAAiC,+BAAQ;AAC1C,CAAC,EACA,SAAS,gBAAgB;AAEpB,IAAMF,aACX,mBACA,OAAO;AAAA,EACP,SAAS,aAAE,OAAO;AAAA,EAClB,UAAiC,+BAAQ;AAC1C,CAAC,EACA,SAAS,gBAAgB;AAKpB,IAAM,EAAE,SAAS,kBAAkB,QAAQ,QAAI,YAAAG,SAA4B;AAAA,EACjF,WAAAH;AAAA,EACA,gBAAAE;AAAA,EACA,aAAa,CAAC,UAAmB,2CAA2C;AAAA,EAC5E,eAAe;AAChB,CAAC;AAKM,IAAM,EAAE,QAAQ,MAAM,GAAG,IAAI;AAE7B,IAAMD,WAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAqB;AACvE;","names":["rawSchema","schemas","internalSchema","createType"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// ParsedTemplate.ts
|
|
2
|
+
import createType from "@taqueria/protocol/Base";
|
|
3
|
+
import * as PluginResponseEncoding from "@taqueria/protocol/PluginResponseEncoding";
|
|
4
|
+
import * as Template from "@taqueria/protocol/Template";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var internalSchema2 = Template.internalSchema.extend({
|
|
7
|
+
handler: z.string(),
|
|
8
|
+
encoding: PluginResponseEncoding.schemas.schema
|
|
9
|
+
}).describe("ParsedTemplate");
|
|
10
|
+
var rawSchema2 = Template.rawSchema.extend({
|
|
11
|
+
handler: z.string(),
|
|
12
|
+
encoding: PluginResponseEncoding.schemas.schema
|
|
13
|
+
}).describe("ParsedTemplate");
|
|
14
|
+
var { schemas: generatedSchemas, factory } = createType({
|
|
15
|
+
rawSchema: rawSchema2,
|
|
16
|
+
internalSchema: internalSchema2,
|
|
17
|
+
parseErrMsg: (value) => `Could not parse the following template: ${value}`,
|
|
18
|
+
unknownErrMsg: "Something went wrong trying to parse an template"
|
|
19
|
+
});
|
|
20
|
+
var { create, make, of } = factory;
|
|
21
|
+
var schemas2 = {
|
|
22
|
+
...generatedSchemas,
|
|
23
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
create,
|
|
27
|
+
factory,
|
|
28
|
+
generatedSchemas,
|
|
29
|
+
make,
|
|
30
|
+
of,
|
|
31
|
+
rawSchema2 as rawSchema,
|
|
32
|
+
schemas2 as schemas
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=ParsedTemplate.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ParsedTemplate.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport * as PluginResponseEncoding from '@taqueria/protocol/PluginResponseEncoding';\nimport * as Template from '@taqueria/protocol/Template';\nimport { z } from 'zod';\n\nconst internalSchema = Template\n\t.internalSchema\n\t.extend({\n\t\thandler: z.string(),\n\t\tencoding: PluginResponseEncoding.schemas.schema,\n\t})\n\t.describe('ParsedTemplate');\n\nexport const rawSchema = Template\n\t.rawSchema\n\t.extend({\n\t\thandler: z.string(),\n\t\tencoding: PluginResponseEncoding.schemas.schema,\n\t})\n\t.describe('ParsedTemplate');\n\ntype RawInput = z.infer<typeof rawSchema>;\ntype Input = z.infer<typeof internalSchema>;\n\nexport const { schemas: generatedSchemas, factory } = createType<RawInput, Input>({\n\trawSchema,\n\tinternalSchema,\n\tparseErrMsg: (value: unknown) => `Could not parse the following template: ${value}`,\n\tunknownErrMsg: 'Something went wrong trying to parse an template',\n});\n\nexport type ParsedTemplate = z.infer<typeof generatedSchemas.schema>;\nexport type t = ParsedTemplate;\n\nexport const { create, make, of } = factory;\n\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as ParsedTemplate),\n};\n"],"mappings":";AAAA,OAAO,gBAAgB;AACvB,YAAY,4BAA4B;AACxC,YAAY,cAAc;AAC1B,SAAS,SAAS;AAElB,IAAMA,kBACJ,wBACA,OAAO;AAAA,EACP,SAAS,EAAE,OAAO;AAAA,EAClB,UAAiC,+BAAQ;AAC1C,CAAC,EACA,SAAS,gBAAgB;AAEpB,IAAMC,aACX,mBACA,OAAO;AAAA,EACP,SAAS,EAAE,OAAO;AAAA,EAClB,UAAiC,+BAAQ;AAC1C,CAAC,EACA,SAAS,gBAAgB;AAKpB,IAAM,EAAE,SAAS,kBAAkB,QAAQ,IAAI,WAA4B;AAAA,EACjF,WAAAA;AAAA,EACA,gBAAAD;AAAA,EACA,aAAa,CAAC,UAAmB,2CAA2C;AAAA,EAC5E,eAAe;AAChB,CAAC;AAKM,IAAM,EAAE,QAAQ,MAAM,GAAG,IAAI;AAE7B,IAAME,WAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAqB;AACvE;","names":["internalSchema","rawSchema","schemas"]}
|
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const internalOpSchema: z.ZodObject<{
|
|
3
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
4
|
+
readonly __kind: any;
|
|
5
|
+
}, any>, string & {
|
|
6
|
+
readonly __kind: any;
|
|
7
|
+
}, any>;
|
|
8
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
9
|
+
readonly __kind: any;
|
|
10
|
+
}, any>, number & {
|
|
11
|
+
readonly __kind: any;
|
|
12
|
+
}, any>;
|
|
13
|
+
output: z.ZodUnknown;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
output?: unknown;
|
|
16
|
+
hash: string & {
|
|
17
|
+
readonly __kind: any;
|
|
18
|
+
};
|
|
19
|
+
time: number & {
|
|
20
|
+
readonly __kind: any;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
hash?: any;
|
|
24
|
+
time?: any;
|
|
25
|
+
output?: unknown;
|
|
26
|
+
}>;
|
|
27
|
+
declare const internalTaskSchema: z.ZodObject<{
|
|
28
|
+
task: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
29
|
+
readonly __kind: any;
|
|
30
|
+
}, any>, string & {
|
|
31
|
+
readonly __kind: any;
|
|
32
|
+
}, any>;
|
|
33
|
+
plugin: z.ZodString;
|
|
34
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
35
|
+
readonly __kind: any;
|
|
36
|
+
}, any>, number & {
|
|
37
|
+
readonly __kind: any;
|
|
38
|
+
}, any>;
|
|
39
|
+
output: z.ZodUnknown;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
output?: unknown;
|
|
42
|
+
plugin: string;
|
|
43
|
+
time: number & {
|
|
44
|
+
readonly __kind: any;
|
|
45
|
+
};
|
|
46
|
+
task: string & {
|
|
47
|
+
readonly __kind: any;
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
time?: any;
|
|
51
|
+
output?: unknown;
|
|
52
|
+
task?: any;
|
|
53
|
+
plugin: string;
|
|
54
|
+
}>;
|
|
55
|
+
export declare type PersistedTask = z.infer<typeof internalTaskSchema>;
|
|
56
|
+
export declare type PersistedOperation = z.infer<typeof internalOpSchema>;
|
|
57
|
+
export declare const rawSchema: z.ZodObject<{
|
|
58
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
59
|
+
hash: z.ZodString;
|
|
60
|
+
time: z.ZodNumber;
|
|
61
|
+
output: z.ZodUnknown;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
output?: unknown;
|
|
64
|
+
hash: string;
|
|
65
|
+
time: number;
|
|
66
|
+
}, {
|
|
67
|
+
output?: unknown;
|
|
68
|
+
hash: string;
|
|
69
|
+
time: number;
|
|
70
|
+
}>>;
|
|
71
|
+
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
72
|
+
task: z.ZodType<any, z.ZodTypeDef, any>;
|
|
73
|
+
plugin: z.ZodString;
|
|
74
|
+
time: z.ZodNumber;
|
|
75
|
+
output: z.ZodUnknown;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
output?: unknown;
|
|
78
|
+
task?: any;
|
|
79
|
+
plugin: string;
|
|
80
|
+
time: number;
|
|
81
|
+
}, {
|
|
82
|
+
output?: unknown;
|
|
83
|
+
task?: any;
|
|
84
|
+
plugin: string;
|
|
85
|
+
time: number;
|
|
86
|
+
}>>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
operations: Record<string, {
|
|
89
|
+
output?: unknown;
|
|
90
|
+
hash: string;
|
|
91
|
+
time: number;
|
|
92
|
+
}>;
|
|
93
|
+
tasks: Record<string, {
|
|
94
|
+
output?: unknown;
|
|
95
|
+
task?: any;
|
|
96
|
+
plugin: string;
|
|
97
|
+
time: number;
|
|
98
|
+
}>;
|
|
99
|
+
}, {
|
|
100
|
+
operations: Record<string, {
|
|
101
|
+
output?: unknown;
|
|
102
|
+
hash: string;
|
|
103
|
+
time: number;
|
|
104
|
+
}>;
|
|
105
|
+
tasks: Record<string, {
|
|
106
|
+
output?: unknown;
|
|
107
|
+
task?: any;
|
|
108
|
+
plugin: string;
|
|
109
|
+
time: number;
|
|
110
|
+
}>;
|
|
111
|
+
}>;
|
|
112
|
+
export declare const internalSchema: z.ZodEffects<z.ZodObject<{
|
|
113
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
114
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
115
|
+
readonly __kind: any;
|
|
116
|
+
}, any>, string & {
|
|
117
|
+
readonly __kind: any;
|
|
118
|
+
}, any>;
|
|
119
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
120
|
+
readonly __kind: any;
|
|
121
|
+
}, any>, number & {
|
|
122
|
+
readonly __kind: any;
|
|
123
|
+
}, any>;
|
|
124
|
+
output: z.ZodUnknown;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
output?: unknown;
|
|
127
|
+
hash: string & {
|
|
128
|
+
readonly __kind: any;
|
|
129
|
+
};
|
|
130
|
+
time: number & {
|
|
131
|
+
readonly __kind: any;
|
|
132
|
+
};
|
|
133
|
+
}, {
|
|
134
|
+
hash?: any;
|
|
135
|
+
time?: any;
|
|
136
|
+
output?: unknown;
|
|
137
|
+
}>>;
|
|
138
|
+
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
139
|
+
task: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
140
|
+
readonly __kind: any;
|
|
141
|
+
}, any>, string & {
|
|
142
|
+
readonly __kind: any;
|
|
143
|
+
}, any>;
|
|
144
|
+
plugin: z.ZodString;
|
|
145
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
146
|
+
readonly __kind: any;
|
|
147
|
+
}, any>, number & {
|
|
148
|
+
readonly __kind: any;
|
|
149
|
+
}, any>;
|
|
150
|
+
output: z.ZodUnknown;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
output?: unknown;
|
|
153
|
+
plugin: string;
|
|
154
|
+
time: number & {
|
|
155
|
+
readonly __kind: any;
|
|
156
|
+
};
|
|
157
|
+
task: string & {
|
|
158
|
+
readonly __kind: any;
|
|
159
|
+
};
|
|
160
|
+
}, {
|
|
161
|
+
time?: any;
|
|
162
|
+
output?: unknown;
|
|
163
|
+
task?: any;
|
|
164
|
+
plugin: string;
|
|
165
|
+
}>>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
operations: Record<string, {
|
|
168
|
+
output?: unknown;
|
|
169
|
+
hash: string & {
|
|
170
|
+
readonly __kind: any;
|
|
171
|
+
};
|
|
172
|
+
time: number & {
|
|
173
|
+
readonly __kind: any;
|
|
174
|
+
};
|
|
175
|
+
}>;
|
|
176
|
+
tasks: Record<string, {
|
|
177
|
+
output?: unknown;
|
|
178
|
+
plugin: string;
|
|
179
|
+
time: number & {
|
|
180
|
+
readonly __kind: any;
|
|
181
|
+
};
|
|
182
|
+
task: string & {
|
|
183
|
+
readonly __kind: any;
|
|
184
|
+
};
|
|
185
|
+
}>;
|
|
186
|
+
}, {
|
|
187
|
+
operations: Record<string, {
|
|
188
|
+
hash?: any;
|
|
189
|
+
time?: any;
|
|
190
|
+
output?: unknown;
|
|
191
|
+
}>;
|
|
192
|
+
tasks: Record<string, {
|
|
193
|
+
time?: any;
|
|
194
|
+
output?: unknown;
|
|
195
|
+
task?: any;
|
|
196
|
+
plugin: string;
|
|
197
|
+
}>;
|
|
198
|
+
}>, {
|
|
199
|
+
operations: Record<string, {
|
|
200
|
+
output?: unknown;
|
|
201
|
+
hash: string & {
|
|
202
|
+
readonly __kind: any;
|
|
203
|
+
};
|
|
204
|
+
time: number & {
|
|
205
|
+
readonly __kind: any;
|
|
206
|
+
};
|
|
207
|
+
}>;
|
|
208
|
+
tasks: Record<string, {
|
|
209
|
+
output?: unknown;
|
|
210
|
+
plugin: string;
|
|
211
|
+
time: number & {
|
|
212
|
+
readonly __kind: any;
|
|
213
|
+
};
|
|
214
|
+
task: string & {
|
|
215
|
+
readonly __kind: any;
|
|
216
|
+
};
|
|
217
|
+
}>;
|
|
218
|
+
}, {
|
|
219
|
+
operations: Record<string, {
|
|
220
|
+
hash?: any;
|
|
221
|
+
time?: any;
|
|
222
|
+
output?: unknown;
|
|
223
|
+
}>;
|
|
224
|
+
tasks: Record<string, {
|
|
225
|
+
time?: any;
|
|
226
|
+
output?: unknown;
|
|
227
|
+
task?: any;
|
|
228
|
+
plugin: string;
|
|
229
|
+
}>;
|
|
230
|
+
}>;
|
|
231
|
+
export declare const generatedSchemas: {
|
|
232
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
233
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
234
|
+
schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
|
|
235
|
+
operations: Record<string, {
|
|
236
|
+
output?: unknown;
|
|
237
|
+
hash: string & {
|
|
238
|
+
readonly __kind: any;
|
|
239
|
+
};
|
|
240
|
+
time: number & {
|
|
241
|
+
readonly __kind: any;
|
|
242
|
+
};
|
|
243
|
+
}>;
|
|
244
|
+
tasks: Record<string, {
|
|
245
|
+
output?: unknown;
|
|
246
|
+
plugin: string;
|
|
247
|
+
time: number & {
|
|
248
|
+
readonly __kind: any;
|
|
249
|
+
};
|
|
250
|
+
task: string & {
|
|
251
|
+
readonly __kind: any;
|
|
252
|
+
};
|
|
253
|
+
}>;
|
|
254
|
+
} & {
|
|
255
|
+
readonly __kind: any;
|
|
256
|
+
}, any>;
|
|
257
|
+
}, factory: {
|
|
258
|
+
make: (input: {
|
|
259
|
+
operations: Record<string, {
|
|
260
|
+
output?: unknown;
|
|
261
|
+
hash: string & {
|
|
262
|
+
readonly __kind: any;
|
|
263
|
+
};
|
|
264
|
+
time: number & {
|
|
265
|
+
readonly __kind: any;
|
|
266
|
+
};
|
|
267
|
+
}>;
|
|
268
|
+
tasks: Record<string, {
|
|
269
|
+
output?: unknown;
|
|
270
|
+
plugin: string;
|
|
271
|
+
time: number & {
|
|
272
|
+
readonly __kind: any;
|
|
273
|
+
};
|
|
274
|
+
task: string & {
|
|
275
|
+
readonly __kind: any;
|
|
276
|
+
};
|
|
277
|
+
}>;
|
|
278
|
+
}) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
|
|
279
|
+
operations: Record<string, {
|
|
280
|
+
output?: unknown;
|
|
281
|
+
hash: string & {
|
|
282
|
+
readonly __kind: any;
|
|
283
|
+
};
|
|
284
|
+
time: number & {
|
|
285
|
+
readonly __kind: any;
|
|
286
|
+
};
|
|
287
|
+
}>;
|
|
288
|
+
tasks: Record<string, {
|
|
289
|
+
output?: unknown;
|
|
290
|
+
plugin: string;
|
|
291
|
+
time: number & {
|
|
292
|
+
readonly __kind: any;
|
|
293
|
+
};
|
|
294
|
+
task: string & {
|
|
295
|
+
readonly __kind: any;
|
|
296
|
+
};
|
|
297
|
+
}>;
|
|
298
|
+
} & {
|
|
299
|
+
readonly __kind: any;
|
|
300
|
+
}>;
|
|
301
|
+
of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
|
|
302
|
+
operations: Record<string, {
|
|
303
|
+
output?: unknown;
|
|
304
|
+
hash: string & {
|
|
305
|
+
readonly __kind: any;
|
|
306
|
+
};
|
|
307
|
+
time: number & {
|
|
308
|
+
readonly __kind: any;
|
|
309
|
+
};
|
|
310
|
+
}>;
|
|
311
|
+
tasks: Record<string, {
|
|
312
|
+
output?: unknown;
|
|
313
|
+
plugin: string;
|
|
314
|
+
time: number & {
|
|
315
|
+
readonly __kind: any;
|
|
316
|
+
};
|
|
317
|
+
task: string & {
|
|
318
|
+
readonly __kind: any;
|
|
319
|
+
};
|
|
320
|
+
}>;
|
|
321
|
+
} & {
|
|
322
|
+
readonly __kind: any;
|
|
323
|
+
}>;
|
|
324
|
+
create: (input: {
|
|
325
|
+
operations: Record<string, {
|
|
326
|
+
output?: unknown;
|
|
327
|
+
hash: string;
|
|
328
|
+
time: number;
|
|
329
|
+
}>;
|
|
330
|
+
tasks: Record<string, {
|
|
331
|
+
output?: unknown;
|
|
332
|
+
task?: any;
|
|
333
|
+
plugin: string;
|
|
334
|
+
time: number;
|
|
335
|
+
}>;
|
|
336
|
+
} | {
|
|
337
|
+
operations: Record<string, {
|
|
338
|
+
output?: unknown;
|
|
339
|
+
hash: string & {
|
|
340
|
+
readonly __kind: any;
|
|
341
|
+
};
|
|
342
|
+
time: number & {
|
|
343
|
+
readonly __kind: any;
|
|
344
|
+
};
|
|
345
|
+
}>;
|
|
346
|
+
tasks: Record<string, {
|
|
347
|
+
output?: unknown;
|
|
348
|
+
plugin: string;
|
|
349
|
+
time: number & {
|
|
350
|
+
readonly __kind: any;
|
|
351
|
+
};
|
|
352
|
+
task: string & {
|
|
353
|
+
readonly __kind: any;
|
|
354
|
+
};
|
|
355
|
+
}>;
|
|
356
|
+
}) => {
|
|
357
|
+
operations: Record<string, {
|
|
358
|
+
output?: unknown;
|
|
359
|
+
hash: string & {
|
|
360
|
+
readonly __kind: any;
|
|
361
|
+
};
|
|
362
|
+
time: number & {
|
|
363
|
+
readonly __kind: any;
|
|
364
|
+
};
|
|
365
|
+
}>;
|
|
366
|
+
tasks: Record<string, {
|
|
367
|
+
output?: unknown;
|
|
368
|
+
plugin: string;
|
|
369
|
+
time: number & {
|
|
370
|
+
readonly __kind: any;
|
|
371
|
+
};
|
|
372
|
+
task: string & {
|
|
373
|
+
readonly __kind: any;
|
|
374
|
+
};
|
|
375
|
+
}>;
|
|
376
|
+
} & {
|
|
377
|
+
readonly __kind: any;
|
|
378
|
+
};
|
|
379
|
+
from: (input: unknown) => {
|
|
380
|
+
operations: Record<string, {
|
|
381
|
+
output?: unknown;
|
|
382
|
+
hash: string & {
|
|
383
|
+
readonly __kind: any;
|
|
384
|
+
};
|
|
385
|
+
time: number & {
|
|
386
|
+
readonly __kind: any;
|
|
387
|
+
};
|
|
388
|
+
}>;
|
|
389
|
+
tasks: Record<string, {
|
|
390
|
+
output?: unknown;
|
|
391
|
+
plugin: string;
|
|
392
|
+
time: number & {
|
|
393
|
+
readonly __kind: any;
|
|
394
|
+
};
|
|
395
|
+
task: string & {
|
|
396
|
+
readonly __kind: any;
|
|
397
|
+
};
|
|
398
|
+
}>;
|
|
399
|
+
} & {
|
|
400
|
+
readonly __kind: any;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
export declare type PersistentState = z.infer<typeof generatedSchemas.schema>;
|
|
404
|
+
export declare type t = PersistentState;
|
|
405
|
+
export declare type State = PersistentState;
|
|
406
|
+
export declare const create: (input: {
|
|
407
|
+
operations: Record<string, {
|
|
408
|
+
output?: unknown;
|
|
409
|
+
hash: string;
|
|
410
|
+
time: number;
|
|
411
|
+
}>;
|
|
412
|
+
tasks: Record<string, {
|
|
413
|
+
output?: unknown;
|
|
414
|
+
task?: any;
|
|
415
|
+
plugin: string;
|
|
416
|
+
time: number;
|
|
417
|
+
}>;
|
|
418
|
+
} | {
|
|
419
|
+
operations: Record<string, {
|
|
420
|
+
output?: unknown;
|
|
421
|
+
hash: string & {
|
|
422
|
+
readonly __kind: any;
|
|
423
|
+
};
|
|
424
|
+
time: number & {
|
|
425
|
+
readonly __kind: any;
|
|
426
|
+
};
|
|
427
|
+
}>;
|
|
428
|
+
tasks: Record<string, {
|
|
429
|
+
output?: unknown;
|
|
430
|
+
plugin: string;
|
|
431
|
+
time: number & {
|
|
432
|
+
readonly __kind: any;
|
|
433
|
+
};
|
|
434
|
+
task: string & {
|
|
435
|
+
readonly __kind: any;
|
|
436
|
+
};
|
|
437
|
+
}>;
|
|
438
|
+
}) => {
|
|
439
|
+
operations: Record<string, {
|
|
440
|
+
output?: unknown;
|
|
441
|
+
hash: string & {
|
|
442
|
+
readonly __kind: any;
|
|
443
|
+
};
|
|
444
|
+
time: number & {
|
|
445
|
+
readonly __kind: any;
|
|
446
|
+
};
|
|
447
|
+
}>;
|
|
448
|
+
tasks: Record<string, {
|
|
449
|
+
output?: unknown;
|
|
450
|
+
plugin: string;
|
|
451
|
+
time: number & {
|
|
452
|
+
readonly __kind: any;
|
|
453
|
+
};
|
|
454
|
+
task: string & {
|
|
455
|
+
readonly __kind: any;
|
|
456
|
+
};
|
|
457
|
+
}>;
|
|
458
|
+
} & {
|
|
459
|
+
readonly __kind: any;
|
|
460
|
+
}, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
|
|
461
|
+
operations: Record<string, {
|
|
462
|
+
output?: unknown;
|
|
463
|
+
hash: string & {
|
|
464
|
+
readonly __kind: any;
|
|
465
|
+
};
|
|
466
|
+
time: number & {
|
|
467
|
+
readonly __kind: any;
|
|
468
|
+
};
|
|
469
|
+
}>;
|
|
470
|
+
tasks: Record<string, {
|
|
471
|
+
output?: unknown;
|
|
472
|
+
plugin: string;
|
|
473
|
+
time: number & {
|
|
474
|
+
readonly __kind: any;
|
|
475
|
+
};
|
|
476
|
+
task: string & {
|
|
477
|
+
readonly __kind: any;
|
|
478
|
+
};
|
|
479
|
+
}>;
|
|
480
|
+
} & {
|
|
481
|
+
readonly __kind: any;
|
|
482
|
+
}>, make: (input: {
|
|
483
|
+
operations: Record<string, {
|
|
484
|
+
output?: unknown;
|
|
485
|
+
hash: string & {
|
|
486
|
+
readonly __kind: any;
|
|
487
|
+
};
|
|
488
|
+
time: number & {
|
|
489
|
+
readonly __kind: any;
|
|
490
|
+
};
|
|
491
|
+
}>;
|
|
492
|
+
tasks: Record<string, {
|
|
493
|
+
output?: unknown;
|
|
494
|
+
plugin: string;
|
|
495
|
+
time: number & {
|
|
496
|
+
readonly __kind: any;
|
|
497
|
+
};
|
|
498
|
+
task: string & {
|
|
499
|
+
readonly __kind: any;
|
|
500
|
+
};
|
|
501
|
+
}>;
|
|
502
|
+
}) => import("fluture").FutureInstance<import("./TaqError").TaqError, {
|
|
503
|
+
operations: Record<string, {
|
|
504
|
+
output?: unknown;
|
|
505
|
+
hash: string & {
|
|
506
|
+
readonly __kind: any;
|
|
507
|
+
};
|
|
508
|
+
time: number & {
|
|
509
|
+
readonly __kind: any;
|
|
510
|
+
};
|
|
511
|
+
}>;
|
|
512
|
+
tasks: Record<string, {
|
|
513
|
+
output?: unknown;
|
|
514
|
+
plugin: string;
|
|
515
|
+
time: number & {
|
|
516
|
+
readonly __kind: any;
|
|
517
|
+
};
|
|
518
|
+
task: string & {
|
|
519
|
+
readonly __kind: any;
|
|
520
|
+
};
|
|
521
|
+
}>;
|
|
522
|
+
} & {
|
|
523
|
+
readonly __kind: any;
|
|
524
|
+
}>;
|
|
525
|
+
export declare const schemas: {
|
|
526
|
+
schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
|
|
527
|
+
operations: Record<string, {
|
|
528
|
+
output?: unknown;
|
|
529
|
+
hash: string & {
|
|
530
|
+
readonly __kind: any;
|
|
531
|
+
};
|
|
532
|
+
time: number & {
|
|
533
|
+
readonly __kind: any;
|
|
534
|
+
};
|
|
535
|
+
}>;
|
|
536
|
+
tasks: Record<string, {
|
|
537
|
+
output?: unknown;
|
|
538
|
+
plugin: string;
|
|
539
|
+
time: number & {
|
|
540
|
+
readonly __kind: any;
|
|
541
|
+
};
|
|
542
|
+
task: string & {
|
|
543
|
+
readonly __kind: any;
|
|
544
|
+
};
|
|
545
|
+
}>;
|
|
546
|
+
} & {
|
|
547
|
+
readonly __kind: any;
|
|
548
|
+
}, any>, {
|
|
549
|
+
operations: Record<string, {
|
|
550
|
+
output?: unknown;
|
|
551
|
+
hash: string & {
|
|
552
|
+
readonly __kind: any;
|
|
553
|
+
};
|
|
554
|
+
time: number & {
|
|
555
|
+
readonly __kind: any;
|
|
556
|
+
};
|
|
557
|
+
}>;
|
|
558
|
+
tasks: Record<string, {
|
|
559
|
+
output?: unknown;
|
|
560
|
+
plugin: string;
|
|
561
|
+
time: number & {
|
|
562
|
+
readonly __kind: any;
|
|
563
|
+
};
|
|
564
|
+
task: string & {
|
|
565
|
+
readonly __kind: any;
|
|
566
|
+
};
|
|
567
|
+
}>;
|
|
568
|
+
} & {
|
|
569
|
+
readonly __kind: any;
|
|
570
|
+
}, any>;
|
|
571
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
572
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
573
|
+
};
|
|
574
|
+
export {};
|
|
575
|
+
//# sourceMappingURL=PersistentState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersistentState.d.ts","sourceRoot":"","sources":["PersistentState.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAIpB,CAAC;AAEH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKtB,CAAC;AAEH,oBAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE/D,oBAAY,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAElE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMxB,CAAC;AAMJ,eAAO,MAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/C,CAAC;AAEH,oBAAY,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACtE,oBAAY,CAAC,GAAG,eAAe,CAAC;AAChC,oBAAY,KAAK,GAAG,eAAe,CAAC;AAEpC,eAAO,MAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,EAAE;;;;;;;;;;;;;;;;;;;;;;IAAE,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AAE5C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAC"}
|