@taqueria/protocol 0.14.4 → 0.18.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/Alias.d.ts +48 -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 +50 -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 +30 -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 +2062 -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 +88 -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 +5 -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 +48 -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 +142 -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 +4561 -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 +210 -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 +30 -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 +99 -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 +2325 -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 +162 -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 +431 -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 +1476 -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 +316 -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 +888 -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 +1032 -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 +581 -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 +23 -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 +158 -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 +3425 -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 +104 -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 +23 -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 +39 -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 +7332 -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 +190 -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 +276 -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 +48 -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 +244 -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 +49 -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 +5557 -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 +33 -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 +152 -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 +550 -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 +48 -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 +2907 -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 +30 -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 +6 -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 +82 -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 +48 -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 +24 -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 +825 -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 +1746 -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 +51 -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 +47 -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 +49 -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 +48 -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 +30 -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.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.d.ts +72 -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 +116 -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 -63
- 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/taqueria-protocol-types.ts +0 -36
|
@@ -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,581 @@
|
|
|
1
|
+
import * as fluture from 'fluture';
|
|
2
|
+
import { TaqError } from './TaqError.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
declare const internalOpSchema: z.ZodObject<{
|
|
6
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
7
|
+
readonly __kind: any;
|
|
8
|
+
}, any>, string & {
|
|
9
|
+
readonly __kind: any;
|
|
10
|
+
}, any>;
|
|
11
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
12
|
+
readonly __kind: any;
|
|
13
|
+
}, any>, number & {
|
|
14
|
+
readonly __kind: any;
|
|
15
|
+
}, any>;
|
|
16
|
+
output: z.ZodUnknown;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
output?: unknown;
|
|
19
|
+
hash: string & {
|
|
20
|
+
readonly __kind: any;
|
|
21
|
+
};
|
|
22
|
+
time: number & {
|
|
23
|
+
readonly __kind: any;
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
hash?: any;
|
|
27
|
+
time?: any;
|
|
28
|
+
output?: unknown;
|
|
29
|
+
}>;
|
|
30
|
+
declare const internalTaskSchema: z.ZodObject<{
|
|
31
|
+
task: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
32
|
+
readonly __kind: any;
|
|
33
|
+
}, any>, string & {
|
|
34
|
+
readonly __kind: any;
|
|
35
|
+
}, any>;
|
|
36
|
+
plugin: z.ZodString;
|
|
37
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
38
|
+
readonly __kind: any;
|
|
39
|
+
}, any>, number & {
|
|
40
|
+
readonly __kind: any;
|
|
41
|
+
}, any>;
|
|
42
|
+
output: z.ZodUnknown;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
output?: unknown;
|
|
45
|
+
plugin: string;
|
|
46
|
+
time: number & {
|
|
47
|
+
readonly __kind: any;
|
|
48
|
+
};
|
|
49
|
+
task: string & {
|
|
50
|
+
readonly __kind: any;
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
time?: any;
|
|
54
|
+
output?: unknown;
|
|
55
|
+
task?: any;
|
|
56
|
+
plugin: string;
|
|
57
|
+
}>;
|
|
58
|
+
declare type PersistedTask = z.infer<typeof internalTaskSchema>;
|
|
59
|
+
declare type PersistedOperation = z.infer<typeof internalOpSchema>;
|
|
60
|
+
declare const rawSchema: z.ZodObject<{
|
|
61
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
62
|
+
hash: z.ZodString;
|
|
63
|
+
time: z.ZodNumber;
|
|
64
|
+
output: z.ZodUnknown;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
output?: unknown;
|
|
67
|
+
hash: string;
|
|
68
|
+
time: number;
|
|
69
|
+
}, {
|
|
70
|
+
output?: unknown;
|
|
71
|
+
hash: string;
|
|
72
|
+
time: number;
|
|
73
|
+
}>>;
|
|
74
|
+
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
75
|
+
task: z.ZodType<any, z.ZodTypeDef, any>;
|
|
76
|
+
plugin: z.ZodString;
|
|
77
|
+
time: z.ZodNumber;
|
|
78
|
+
output: z.ZodUnknown;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
output?: unknown;
|
|
81
|
+
task?: any;
|
|
82
|
+
plugin: string;
|
|
83
|
+
time: number;
|
|
84
|
+
}, {
|
|
85
|
+
output?: unknown;
|
|
86
|
+
task?: any;
|
|
87
|
+
plugin: string;
|
|
88
|
+
time: number;
|
|
89
|
+
}>>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
operations: Record<string, {
|
|
92
|
+
output?: unknown;
|
|
93
|
+
hash: string;
|
|
94
|
+
time: number;
|
|
95
|
+
}>;
|
|
96
|
+
tasks: Record<string, {
|
|
97
|
+
output?: unknown;
|
|
98
|
+
task?: any;
|
|
99
|
+
plugin: string;
|
|
100
|
+
time: number;
|
|
101
|
+
}>;
|
|
102
|
+
}, {
|
|
103
|
+
operations: Record<string, {
|
|
104
|
+
output?: unknown;
|
|
105
|
+
hash: string;
|
|
106
|
+
time: number;
|
|
107
|
+
}>;
|
|
108
|
+
tasks: Record<string, {
|
|
109
|
+
output?: unknown;
|
|
110
|
+
task?: any;
|
|
111
|
+
plugin: string;
|
|
112
|
+
time: number;
|
|
113
|
+
}>;
|
|
114
|
+
}>;
|
|
115
|
+
declare const internalSchema: z.ZodEffects<z.ZodObject<{
|
|
116
|
+
operations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
117
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
118
|
+
readonly __kind: any;
|
|
119
|
+
}, any>, string & {
|
|
120
|
+
readonly __kind: any;
|
|
121
|
+
}, any>;
|
|
122
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
123
|
+
readonly __kind: any;
|
|
124
|
+
}, any>, number & {
|
|
125
|
+
readonly __kind: any;
|
|
126
|
+
}, any>;
|
|
127
|
+
output: z.ZodUnknown;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
output?: unknown;
|
|
130
|
+
hash: string & {
|
|
131
|
+
readonly __kind: any;
|
|
132
|
+
};
|
|
133
|
+
time: number & {
|
|
134
|
+
readonly __kind: any;
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
hash?: any;
|
|
138
|
+
time?: any;
|
|
139
|
+
output?: unknown;
|
|
140
|
+
}>>;
|
|
141
|
+
tasks: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
142
|
+
task: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
143
|
+
readonly __kind: any;
|
|
144
|
+
}, any>, string & {
|
|
145
|
+
readonly __kind: any;
|
|
146
|
+
}, any>;
|
|
147
|
+
plugin: z.ZodString;
|
|
148
|
+
time: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, number & {
|
|
149
|
+
readonly __kind: any;
|
|
150
|
+
}, any>, number & {
|
|
151
|
+
readonly __kind: any;
|
|
152
|
+
}, any>;
|
|
153
|
+
output: z.ZodUnknown;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
output?: unknown;
|
|
156
|
+
plugin: string;
|
|
157
|
+
time: number & {
|
|
158
|
+
readonly __kind: any;
|
|
159
|
+
};
|
|
160
|
+
task: string & {
|
|
161
|
+
readonly __kind: any;
|
|
162
|
+
};
|
|
163
|
+
}, {
|
|
164
|
+
time?: any;
|
|
165
|
+
output?: unknown;
|
|
166
|
+
task?: any;
|
|
167
|
+
plugin: string;
|
|
168
|
+
}>>;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
operations: Record<string, {
|
|
171
|
+
output?: unknown;
|
|
172
|
+
hash: string & {
|
|
173
|
+
readonly __kind: any;
|
|
174
|
+
};
|
|
175
|
+
time: number & {
|
|
176
|
+
readonly __kind: any;
|
|
177
|
+
};
|
|
178
|
+
}>;
|
|
179
|
+
tasks: Record<string, {
|
|
180
|
+
output?: unknown;
|
|
181
|
+
plugin: string;
|
|
182
|
+
time: number & {
|
|
183
|
+
readonly __kind: any;
|
|
184
|
+
};
|
|
185
|
+
task: string & {
|
|
186
|
+
readonly __kind: any;
|
|
187
|
+
};
|
|
188
|
+
}>;
|
|
189
|
+
}, {
|
|
190
|
+
operations: Record<string, {
|
|
191
|
+
hash?: any;
|
|
192
|
+
time?: any;
|
|
193
|
+
output?: unknown;
|
|
194
|
+
}>;
|
|
195
|
+
tasks: Record<string, {
|
|
196
|
+
time?: any;
|
|
197
|
+
output?: unknown;
|
|
198
|
+
task?: any;
|
|
199
|
+
plugin: string;
|
|
200
|
+
}>;
|
|
201
|
+
}>, {
|
|
202
|
+
operations: Record<string, {
|
|
203
|
+
output?: unknown;
|
|
204
|
+
hash: string & {
|
|
205
|
+
readonly __kind: any;
|
|
206
|
+
};
|
|
207
|
+
time: number & {
|
|
208
|
+
readonly __kind: any;
|
|
209
|
+
};
|
|
210
|
+
}>;
|
|
211
|
+
tasks: Record<string, {
|
|
212
|
+
output?: unknown;
|
|
213
|
+
plugin: string;
|
|
214
|
+
time: number & {
|
|
215
|
+
readonly __kind: any;
|
|
216
|
+
};
|
|
217
|
+
task: string & {
|
|
218
|
+
readonly __kind: any;
|
|
219
|
+
};
|
|
220
|
+
}>;
|
|
221
|
+
}, {
|
|
222
|
+
operations: Record<string, {
|
|
223
|
+
hash?: any;
|
|
224
|
+
time?: any;
|
|
225
|
+
output?: unknown;
|
|
226
|
+
}>;
|
|
227
|
+
tasks: Record<string, {
|
|
228
|
+
time?: any;
|
|
229
|
+
output?: unknown;
|
|
230
|
+
task?: any;
|
|
231
|
+
plugin: string;
|
|
232
|
+
}>;
|
|
233
|
+
}>;
|
|
234
|
+
declare const generatedSchemas: {
|
|
235
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
236
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
237
|
+
schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
|
|
238
|
+
operations: Record<string, {
|
|
239
|
+
output?: unknown;
|
|
240
|
+
hash: string & {
|
|
241
|
+
readonly __kind: any;
|
|
242
|
+
};
|
|
243
|
+
time: number & {
|
|
244
|
+
readonly __kind: any;
|
|
245
|
+
};
|
|
246
|
+
}>;
|
|
247
|
+
tasks: Record<string, {
|
|
248
|
+
output?: unknown;
|
|
249
|
+
plugin: string;
|
|
250
|
+
time: number & {
|
|
251
|
+
readonly __kind: any;
|
|
252
|
+
};
|
|
253
|
+
task: string & {
|
|
254
|
+
readonly __kind: any;
|
|
255
|
+
};
|
|
256
|
+
}>;
|
|
257
|
+
} & {
|
|
258
|
+
readonly __kind: any;
|
|
259
|
+
}, any>;
|
|
260
|
+
};
|
|
261
|
+
declare const factory: {
|
|
262
|
+
make: (input: {
|
|
263
|
+
operations: Record<string, {
|
|
264
|
+
output?: unknown;
|
|
265
|
+
hash: string & {
|
|
266
|
+
readonly __kind: any;
|
|
267
|
+
};
|
|
268
|
+
time: number & {
|
|
269
|
+
readonly __kind: any;
|
|
270
|
+
};
|
|
271
|
+
}>;
|
|
272
|
+
tasks: Record<string, {
|
|
273
|
+
output?: unknown;
|
|
274
|
+
plugin: string;
|
|
275
|
+
time: number & {
|
|
276
|
+
readonly __kind: any;
|
|
277
|
+
};
|
|
278
|
+
task: string & {
|
|
279
|
+
readonly __kind: any;
|
|
280
|
+
};
|
|
281
|
+
}>;
|
|
282
|
+
}) => fluture.FutureInstance<TaqError, {
|
|
283
|
+
operations: Record<string, {
|
|
284
|
+
output?: unknown;
|
|
285
|
+
hash: string & {
|
|
286
|
+
readonly __kind: any;
|
|
287
|
+
};
|
|
288
|
+
time: number & {
|
|
289
|
+
readonly __kind: any;
|
|
290
|
+
};
|
|
291
|
+
}>;
|
|
292
|
+
tasks: Record<string, {
|
|
293
|
+
output?: unknown;
|
|
294
|
+
plugin: string;
|
|
295
|
+
time: number & {
|
|
296
|
+
readonly __kind: any;
|
|
297
|
+
};
|
|
298
|
+
task: string & {
|
|
299
|
+
readonly __kind: any;
|
|
300
|
+
};
|
|
301
|
+
}>;
|
|
302
|
+
} & {
|
|
303
|
+
readonly __kind: any;
|
|
304
|
+
}>;
|
|
305
|
+
of: (input: unknown) => fluture.FutureInstance<TaqError, {
|
|
306
|
+
operations: Record<string, {
|
|
307
|
+
output?: unknown;
|
|
308
|
+
hash: string & {
|
|
309
|
+
readonly __kind: any;
|
|
310
|
+
};
|
|
311
|
+
time: number & {
|
|
312
|
+
readonly __kind: any;
|
|
313
|
+
};
|
|
314
|
+
}>;
|
|
315
|
+
tasks: Record<string, {
|
|
316
|
+
output?: unknown;
|
|
317
|
+
plugin: string;
|
|
318
|
+
time: number & {
|
|
319
|
+
readonly __kind: any;
|
|
320
|
+
};
|
|
321
|
+
task: string & {
|
|
322
|
+
readonly __kind: any;
|
|
323
|
+
};
|
|
324
|
+
}>;
|
|
325
|
+
} & {
|
|
326
|
+
readonly __kind: any;
|
|
327
|
+
}>;
|
|
328
|
+
create: (input: {
|
|
329
|
+
operations: Record<string, {
|
|
330
|
+
output?: unknown;
|
|
331
|
+
hash: string;
|
|
332
|
+
time: number;
|
|
333
|
+
}>;
|
|
334
|
+
tasks: Record<string, {
|
|
335
|
+
output?: unknown;
|
|
336
|
+
task?: any;
|
|
337
|
+
plugin: string;
|
|
338
|
+
time: number;
|
|
339
|
+
}>;
|
|
340
|
+
} | {
|
|
341
|
+
operations: Record<string, {
|
|
342
|
+
output?: unknown;
|
|
343
|
+
hash: string & {
|
|
344
|
+
readonly __kind: any;
|
|
345
|
+
};
|
|
346
|
+
time: number & {
|
|
347
|
+
readonly __kind: any;
|
|
348
|
+
};
|
|
349
|
+
}>;
|
|
350
|
+
tasks: Record<string, {
|
|
351
|
+
output?: unknown;
|
|
352
|
+
plugin: string;
|
|
353
|
+
time: number & {
|
|
354
|
+
readonly __kind: any;
|
|
355
|
+
};
|
|
356
|
+
task: string & {
|
|
357
|
+
readonly __kind: any;
|
|
358
|
+
};
|
|
359
|
+
}>;
|
|
360
|
+
}) => {
|
|
361
|
+
operations: Record<string, {
|
|
362
|
+
output?: unknown;
|
|
363
|
+
hash: string & {
|
|
364
|
+
readonly __kind: any;
|
|
365
|
+
};
|
|
366
|
+
time: number & {
|
|
367
|
+
readonly __kind: any;
|
|
368
|
+
};
|
|
369
|
+
}>;
|
|
370
|
+
tasks: Record<string, {
|
|
371
|
+
output?: unknown;
|
|
372
|
+
plugin: string;
|
|
373
|
+
time: number & {
|
|
374
|
+
readonly __kind: any;
|
|
375
|
+
};
|
|
376
|
+
task: string & {
|
|
377
|
+
readonly __kind: any;
|
|
378
|
+
};
|
|
379
|
+
}>;
|
|
380
|
+
} & {
|
|
381
|
+
readonly __kind: any;
|
|
382
|
+
};
|
|
383
|
+
from: (input: unknown) => {
|
|
384
|
+
operations: Record<string, {
|
|
385
|
+
output?: unknown;
|
|
386
|
+
hash: string & {
|
|
387
|
+
readonly __kind: any;
|
|
388
|
+
};
|
|
389
|
+
time: number & {
|
|
390
|
+
readonly __kind: any;
|
|
391
|
+
};
|
|
392
|
+
}>;
|
|
393
|
+
tasks: Record<string, {
|
|
394
|
+
output?: unknown;
|
|
395
|
+
plugin: string;
|
|
396
|
+
time: number & {
|
|
397
|
+
readonly __kind: any;
|
|
398
|
+
};
|
|
399
|
+
task: string & {
|
|
400
|
+
readonly __kind: any;
|
|
401
|
+
};
|
|
402
|
+
}>;
|
|
403
|
+
} & {
|
|
404
|
+
readonly __kind: any;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
declare type PersistentState = z.infer<typeof generatedSchemas.schema>;
|
|
408
|
+
declare type t = PersistentState;
|
|
409
|
+
declare type State = PersistentState;
|
|
410
|
+
declare const create: (input: {
|
|
411
|
+
operations: Record<string, {
|
|
412
|
+
output?: unknown;
|
|
413
|
+
hash: string;
|
|
414
|
+
time: number;
|
|
415
|
+
}>;
|
|
416
|
+
tasks: Record<string, {
|
|
417
|
+
output?: unknown;
|
|
418
|
+
task?: any;
|
|
419
|
+
plugin: string;
|
|
420
|
+
time: number;
|
|
421
|
+
}>;
|
|
422
|
+
} | {
|
|
423
|
+
operations: Record<string, {
|
|
424
|
+
output?: unknown;
|
|
425
|
+
hash: string & {
|
|
426
|
+
readonly __kind: any;
|
|
427
|
+
};
|
|
428
|
+
time: number & {
|
|
429
|
+
readonly __kind: any;
|
|
430
|
+
};
|
|
431
|
+
}>;
|
|
432
|
+
tasks: Record<string, {
|
|
433
|
+
output?: unknown;
|
|
434
|
+
plugin: string;
|
|
435
|
+
time: number & {
|
|
436
|
+
readonly __kind: any;
|
|
437
|
+
};
|
|
438
|
+
task: string & {
|
|
439
|
+
readonly __kind: any;
|
|
440
|
+
};
|
|
441
|
+
}>;
|
|
442
|
+
}) => {
|
|
443
|
+
operations: Record<string, {
|
|
444
|
+
output?: unknown;
|
|
445
|
+
hash: string & {
|
|
446
|
+
readonly __kind: any;
|
|
447
|
+
};
|
|
448
|
+
time: number & {
|
|
449
|
+
readonly __kind: any;
|
|
450
|
+
};
|
|
451
|
+
}>;
|
|
452
|
+
tasks: Record<string, {
|
|
453
|
+
output?: unknown;
|
|
454
|
+
plugin: string;
|
|
455
|
+
time: number & {
|
|
456
|
+
readonly __kind: any;
|
|
457
|
+
};
|
|
458
|
+
task: string & {
|
|
459
|
+
readonly __kind: any;
|
|
460
|
+
};
|
|
461
|
+
}>;
|
|
462
|
+
} & {
|
|
463
|
+
readonly __kind: any;
|
|
464
|
+
};
|
|
465
|
+
declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
|
|
466
|
+
operations: Record<string, {
|
|
467
|
+
output?: unknown;
|
|
468
|
+
hash: string & {
|
|
469
|
+
readonly __kind: any;
|
|
470
|
+
};
|
|
471
|
+
time: number & {
|
|
472
|
+
readonly __kind: any;
|
|
473
|
+
};
|
|
474
|
+
}>;
|
|
475
|
+
tasks: Record<string, {
|
|
476
|
+
output?: unknown;
|
|
477
|
+
plugin: string;
|
|
478
|
+
time: number & {
|
|
479
|
+
readonly __kind: any;
|
|
480
|
+
};
|
|
481
|
+
task: string & {
|
|
482
|
+
readonly __kind: any;
|
|
483
|
+
};
|
|
484
|
+
}>;
|
|
485
|
+
} & {
|
|
486
|
+
readonly __kind: any;
|
|
487
|
+
}>;
|
|
488
|
+
declare const make: (input: {
|
|
489
|
+
operations: Record<string, {
|
|
490
|
+
output?: unknown;
|
|
491
|
+
hash: string & {
|
|
492
|
+
readonly __kind: any;
|
|
493
|
+
};
|
|
494
|
+
time: number & {
|
|
495
|
+
readonly __kind: any;
|
|
496
|
+
};
|
|
497
|
+
}>;
|
|
498
|
+
tasks: Record<string, {
|
|
499
|
+
output?: unknown;
|
|
500
|
+
plugin: string;
|
|
501
|
+
time: number & {
|
|
502
|
+
readonly __kind: any;
|
|
503
|
+
};
|
|
504
|
+
task: string & {
|
|
505
|
+
readonly __kind: any;
|
|
506
|
+
};
|
|
507
|
+
}>;
|
|
508
|
+
}) => fluture.FutureInstance<TaqError, {
|
|
509
|
+
operations: Record<string, {
|
|
510
|
+
output?: unknown;
|
|
511
|
+
hash: string & {
|
|
512
|
+
readonly __kind: any;
|
|
513
|
+
};
|
|
514
|
+
time: number & {
|
|
515
|
+
readonly __kind: any;
|
|
516
|
+
};
|
|
517
|
+
}>;
|
|
518
|
+
tasks: Record<string, {
|
|
519
|
+
output?: unknown;
|
|
520
|
+
plugin: string;
|
|
521
|
+
time: number & {
|
|
522
|
+
readonly __kind: any;
|
|
523
|
+
};
|
|
524
|
+
task: string & {
|
|
525
|
+
readonly __kind: any;
|
|
526
|
+
};
|
|
527
|
+
}>;
|
|
528
|
+
} & {
|
|
529
|
+
readonly __kind: any;
|
|
530
|
+
}>;
|
|
531
|
+
declare const schemas: {
|
|
532
|
+
schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
|
|
533
|
+
operations: Record<string, {
|
|
534
|
+
output?: unknown;
|
|
535
|
+
hash: string & {
|
|
536
|
+
readonly __kind: any;
|
|
537
|
+
};
|
|
538
|
+
time: number & {
|
|
539
|
+
readonly __kind: any;
|
|
540
|
+
};
|
|
541
|
+
}>;
|
|
542
|
+
tasks: Record<string, {
|
|
543
|
+
output?: unknown;
|
|
544
|
+
plugin: string;
|
|
545
|
+
time: number & {
|
|
546
|
+
readonly __kind: any;
|
|
547
|
+
};
|
|
548
|
+
task: string & {
|
|
549
|
+
readonly __kind: any;
|
|
550
|
+
};
|
|
551
|
+
}>;
|
|
552
|
+
} & {
|
|
553
|
+
readonly __kind: any;
|
|
554
|
+
}, any>, {
|
|
555
|
+
operations: Record<string, {
|
|
556
|
+
output?: unknown;
|
|
557
|
+
hash: string & {
|
|
558
|
+
readonly __kind: any;
|
|
559
|
+
};
|
|
560
|
+
time: number & {
|
|
561
|
+
readonly __kind: any;
|
|
562
|
+
};
|
|
563
|
+
}>;
|
|
564
|
+
tasks: Record<string, {
|
|
565
|
+
output?: unknown;
|
|
566
|
+
plugin: string;
|
|
567
|
+
time: number & {
|
|
568
|
+
readonly __kind: any;
|
|
569
|
+
};
|
|
570
|
+
task: string & {
|
|
571
|
+
readonly __kind: any;
|
|
572
|
+
};
|
|
573
|
+
}>;
|
|
574
|
+
} & {
|
|
575
|
+
readonly __kind: any;
|
|
576
|
+
}, any>;
|
|
577
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
578
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
export { PersistedOperation, PersistedTask, PersistentState, State, create, factory, generatedSchemas, internalSchema, make, of, rawSchema, schemas, t };
|