@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
package/Url.mjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Url.ts
|
|
2
|
+
import createType from "@taqueria/protocol/Base";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
var rawSchema = z.string({ description: "Url" }).url();
|
|
5
|
+
var { schemas: generatedSchemas, factory } = createType({
|
|
6
|
+
rawSchema,
|
|
7
|
+
isStringLike: true,
|
|
8
|
+
parseErrMsg: (value) => `${value} is an invalid url`,
|
|
9
|
+
unknownErrMsg: "Something went wrong trying to parse the url"
|
|
10
|
+
});
|
|
11
|
+
var toComponents = (url) => {
|
|
12
|
+
const parts = new URL(url.toString());
|
|
13
|
+
return parts;
|
|
14
|
+
};
|
|
15
|
+
var { create, of, make } = factory;
|
|
16
|
+
var schemas = {
|
|
17
|
+
...generatedSchemas,
|
|
18
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
create,
|
|
22
|
+
factory,
|
|
23
|
+
generatedSchemas,
|
|
24
|
+
make,
|
|
25
|
+
of,
|
|
26
|
+
rawSchema,
|
|
27
|
+
schemas,
|
|
28
|
+
toComponents
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Url.mjs.map
|
package/Url.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Url.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { z } from 'zod';\n\nexport const rawSchema = z\n\t.string({ description: 'Url' })\n\t.url();\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nexport const { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\trawSchema,\n\tisStringLike: true,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid url`,\n\tunknownErrMsg: 'Something went wrong trying to parse the url',\n});\n\nexport const toComponents = (url: Url) => {\n\tconst parts = new URL(url.toString());\n\treturn parts;\n};\n\nexport type Url = z.infer<typeof generatedSchemas.schema>;\nexport type t = Url;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as Url),\n};\n"],"mappings":";AAAA,OAAO,gBAAgB;AACvB,SAAS,SAAS;AAEX,IAAM,YAAY,EACvB,OAAO,EAAE,aAAa,MAAM,CAAC,EAC7B,IAAI;AAIC,IAAM,EAAE,SAAS,kBAAkB,QAAQ,IAAI,WAA+B;AAAA,EACpF;AAAA,EACA,cAAc;AAAA,EACd,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe;AAChB,CAAC;AAEM,IAAM,eAAe,CAAC,QAAa;AACzC,QAAM,QAAQ,IAAI,IAAI,IAAI,SAAS,CAAC;AACpC,SAAO;AACR;AAIO,IAAM,EAAE,QAAQ,IAAI,KAAK,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAU;AAC5D;","names":[]}
|
package/Verb.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const rawSchema: z.ZodString;
|
|
3
|
+
export declare const factory: {
|
|
4
|
+
make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
|
|
5
|
+
readonly __kind: any;
|
|
6
|
+
}>;
|
|
7
|
+
of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
|
|
8
|
+
readonly __kind: any;
|
|
9
|
+
}>;
|
|
10
|
+
create: (input: string) => string & {
|
|
11
|
+
readonly __kind: any;
|
|
12
|
+
};
|
|
13
|
+
from: (input: unknown) => string & {
|
|
14
|
+
readonly __kind: any;
|
|
15
|
+
};
|
|
16
|
+
}, generatedSchemas: {
|
|
17
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
18
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
19
|
+
schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
20
|
+
readonly __kind: any;
|
|
21
|
+
}, any>;
|
|
22
|
+
};
|
|
23
|
+
export declare type Verb = z.infer<typeof generatedSchemas.schema>;
|
|
24
|
+
export declare type t = Verb;
|
|
25
|
+
export declare const create: (input: string) => string & {
|
|
26
|
+
readonly __kind: any;
|
|
27
|
+
}, make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
|
|
28
|
+
readonly __kind: any;
|
|
29
|
+
}>, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
|
|
30
|
+
readonly __kind: any;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const schemas: {
|
|
33
|
+
schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
34
|
+
readonly __kind: any;
|
|
35
|
+
}, any>, string & {
|
|
36
|
+
readonly __kind: any;
|
|
37
|
+
}, any>;
|
|
38
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
39
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=Verb.d.ts.map
|
package/Verb.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Verb.d.ts","sourceRoot":"","sources":["Verb.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,aAG2B,CAAC;AAIlD,eAAO,MAAQ,OAAO;;;;;;;;;;;;;GAAW,gBAAgB;;;;;;CAK/C,CAAC;AACH,oBAAY,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC3D,oBAAY,CAAC,GAAG,IAAI,CAAC;AACrB,eAAO,MAAQ,MAAM;;GAAE,IAAI;;IAAE,EAAE;;EAAY,CAAC;AAC5C,eAAO,MAAM,OAAO;;;;;;;;CAGnB,CAAC"}
|
package/Verb.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
// Verb.ts
|
|
27
|
+
var Verb_exports = {};
|
|
28
|
+
__export(Verb_exports, {
|
|
29
|
+
create: () => create,
|
|
30
|
+
factory: () => factory,
|
|
31
|
+
generatedSchemas: () => generatedSchemas,
|
|
32
|
+
make: () => make,
|
|
33
|
+
of: () => of,
|
|
34
|
+
rawSchema: () => rawSchema,
|
|
35
|
+
schemas: () => schemas
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(Verb_exports);
|
|
38
|
+
var import_Base = __toESM(require("@taqueria/protocol/Base"));
|
|
39
|
+
var import_zod = require("zod");
|
|
40
|
+
var rawSchema = import_zod.z.string({ description: "Verb" }).min(1, "Must be a valid verb").regex(/^[A-Za-z\-\ ]+/, "Must be a valid verb");
|
|
41
|
+
var { factory, schemas: generatedSchemas } = (0, import_Base.default)({
|
|
42
|
+
isStringLike: true,
|
|
43
|
+
rawSchema,
|
|
44
|
+
parseErrMsg: (value) => `${value} is not an invalid verb`,
|
|
45
|
+
unknownErrMsg: `Something went wrong trying to parse a verb`
|
|
46
|
+
});
|
|
47
|
+
var { create, make, of } = factory;
|
|
48
|
+
var schemas = {
|
|
49
|
+
...generatedSchemas,
|
|
50
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
51
|
+
};
|
|
52
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
53
|
+
0 && (module.exports = {
|
|
54
|
+
create,
|
|
55
|
+
factory,
|
|
56
|
+
generatedSchemas,
|
|
57
|
+
make,
|
|
58
|
+
of,
|
|
59
|
+
rawSchema,
|
|
60
|
+
schemas
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=Verb.js.map
|
package/Verb.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Verb.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { z } from 'zod';\n\nexport const rawSchema = z\n\t.string({ description: 'Verb' })\n\t.min(1, 'Must be a valid verb')\n\t.regex(/^[A-Za-z\\-\\ ]+/, 'Must be a valid verb');\n\ntype Input = z.infer<typeof rawSchema>;\n\nexport const { factory, schemas: generatedSchemas } = createType<Input, Input>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is not an invalid verb`,\n\tunknownErrMsg: `Something went wrong trying to parse a verb`,\n});\nexport type Verb = z.infer<typeof generatedSchemas.schema>;\nexport type t = Verb;\nexport const { create, make, of } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as Verb),\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAuB;AACvB,iBAAkB;AAEX,IAAM,YAAY,aACvB,OAAO,EAAE,aAAa,OAAO,CAAC,EAC9B,IAAI,GAAG,sBAAsB,EAC7B,MAAM,kBAAkB,sBAAsB;AAIzC,IAAM,EAAE,SAAS,SAAS,iBAAiB,QAAI,YAAAA,SAAyB;AAAA,EAC9E,cAAc;AAAA,EACd;AAAA,EACA,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe;AAChB,CAAC;AAGM,IAAM,EAAE,QAAQ,MAAM,GAAG,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAW;AAC7D;","names":["createType"]}
|
package/Verb.mjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Verb.ts
|
|
2
|
+
import createType from "@taqueria/protocol/Base";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
var rawSchema = z.string({ description: "Verb" }).min(1, "Must be a valid verb").regex(/^[A-Za-z\-\ ]+/, "Must be a valid verb");
|
|
5
|
+
var { factory, schemas: generatedSchemas } = createType({
|
|
6
|
+
isStringLike: true,
|
|
7
|
+
rawSchema,
|
|
8
|
+
parseErrMsg: (value) => `${value} is not an invalid verb`,
|
|
9
|
+
unknownErrMsg: `Something went wrong trying to parse a verb`
|
|
10
|
+
});
|
|
11
|
+
var { create, make, of } = factory;
|
|
12
|
+
var schemas = {
|
|
13
|
+
...generatedSchemas,
|
|
14
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
create,
|
|
18
|
+
factory,
|
|
19
|
+
generatedSchemas,
|
|
20
|
+
make,
|
|
21
|
+
of,
|
|
22
|
+
rawSchema,
|
|
23
|
+
schemas
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Verb.mjs.map
|
package/Verb.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Verb.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { z } from 'zod';\n\nexport const rawSchema = z\n\t.string({ description: 'Verb' })\n\t.min(1, 'Must be a valid verb')\n\t.regex(/^[A-Za-z\\-\\ ]+/, 'Must be a valid verb');\n\ntype Input = z.infer<typeof rawSchema>;\n\nexport const { factory, schemas: generatedSchemas } = createType<Input, Input>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is not an invalid verb`,\n\tunknownErrMsg: `Something went wrong trying to parse a verb`,\n});\nexport type Verb = z.infer<typeof generatedSchemas.schema>;\nexport type t = Verb;\nexport const { create, make, of } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as Verb),\n};\n"],"mappings":";AAAA,OAAO,gBAAgB;AACvB,SAAS,SAAS;AAEX,IAAM,YAAY,EACvB,OAAO,EAAE,aAAa,OAAO,CAAC,EAC9B,IAAI,GAAG,sBAAsB,EAC7B,MAAM,kBAAkB,sBAAsB;AAIzC,IAAM,EAAE,SAAS,SAAS,iBAAiB,IAAI,WAAyB;AAAA,EAC9E,cAAc;AAAA,EACd;AAAA,EACA,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe;AAChB,CAAC;AAGM,IAAM,EAAE,QAAQ,MAAM,GAAG,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAW;AAC7D;","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const rawSchema: z.ZodString;
|
|
3
|
+
export declare const internalSchema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
4
|
+
readonly __kind: any;
|
|
5
|
+
}, any>;
|
|
6
|
+
export declare type VersionNumber = z.infer<typeof internalSchema>;
|
|
7
|
+
export declare type t = VersionNumber;
|
|
8
|
+
export declare const create: (input: string) => string & {
|
|
9
|
+
readonly __kind: any;
|
|
10
|
+
}, of: (input: unknown) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
|
|
11
|
+
readonly __kind: any;
|
|
12
|
+
}>, make: (input: string) => import("fluture").FutureInstance<import("./TaqError").TaqError, string & {
|
|
13
|
+
readonly __kind: any;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const schemas: {
|
|
16
|
+
schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
|
|
17
|
+
readonly __kind: any;
|
|
18
|
+
}, any>, string & {
|
|
19
|
+
readonly __kind: any;
|
|
20
|
+
}, any>;
|
|
21
|
+
rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
22
|
+
internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=VersionNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["VersionNumber.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS,aAEO,CAAC;AAW9B,eAAO,MAAM,cAAc;;OAA0B,CAAC;AAEtD,oBAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC3D,oBAAY,CAAC,GAAG,aAAa,CAAC;AAC9B,eAAO,MAAQ,MAAM;;GAAE,EAAE;;IAAE,IAAI;;EAAY,CAAC;AAC5C,eAAO,MAAM,OAAO;;;;;;;;CAGnB,CAAC"}
|
package/VersionNumber.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
// VersionNumber.ts
|
|
27
|
+
var VersionNumber_exports = {};
|
|
28
|
+
__export(VersionNumber_exports, {
|
|
29
|
+
create: () => create,
|
|
30
|
+
internalSchema: () => internalSchema,
|
|
31
|
+
make: () => make,
|
|
32
|
+
of: () => of,
|
|
33
|
+
rawSchema: () => rawSchema,
|
|
34
|
+
schemas: () => schemas
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(VersionNumber_exports);
|
|
37
|
+
var import_Base = __toESM(require("@taqueria/protocol/Base"));
|
|
38
|
+
var import_zod = require("zod");
|
|
39
|
+
var rawSchema = import_zod.z.string({ description: "Version Number" }).min(1).regex(/^\d+\.\d+(\.\d+)*$/);
|
|
40
|
+
var { schemas: generatedSchemas, factory } = (0, import_Base.default)({
|
|
41
|
+
isStringLike: true,
|
|
42
|
+
rawSchema,
|
|
43
|
+
parseErrMsg: (value) => `${value} is an invalid version number`,
|
|
44
|
+
unknownErrMsg: "Something went wrong trying to parse the version number"
|
|
45
|
+
});
|
|
46
|
+
var internalSchema = generatedSchemas.schema;
|
|
47
|
+
var { create, of, make } = factory;
|
|
48
|
+
var schemas = {
|
|
49
|
+
...generatedSchemas,
|
|
50
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
51
|
+
};
|
|
52
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
53
|
+
0 && (module.exports = {
|
|
54
|
+
create,
|
|
55
|
+
internalSchema,
|
|
56
|
+
make,
|
|
57
|
+
of,
|
|
58
|
+
rawSchema,
|
|
59
|
+
schemas
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=VersionNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["VersionNumber.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { z } from 'zod';\n\nexport const rawSchema = z.string({ description: 'Version Number' })\n\t.min(1)\n\t.regex(/^\\d+\\.\\d+(\\.\\d+)*$/);\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nconst { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid version number`,\n\tunknownErrMsg: 'Something went wrong trying to parse the version number',\n});\n\nexport const internalSchema = generatedSchemas.schema;\n\nexport type VersionNumber = z.infer<typeof internalSchema>;\nexport type t = VersionNumber;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as VersionNumber),\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAuB;AACvB,iBAAkB;AAEX,IAAM,YAAY,aAAE,OAAO,EAAE,aAAa,iBAAiB,CAAC,EACjE,IAAI,CAAC,EACL,MAAM,oBAAoB;AAI5B,IAAM,EAAE,SAAS,kBAAkB,QAAQ,QAAI,YAAAA,SAA+B;AAAA,EAC7E,cAAc;AAAA,EACd;AAAA,EACA,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe;AAChB,CAAC;AAEM,IAAM,iBAAiB,iBAAiB;AAIxC,IAAM,EAAE,QAAQ,IAAI,KAAK,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAoB;AACtE;","names":["createType"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// VersionNumber.ts
|
|
2
|
+
import createType from "@taqueria/protocol/Base";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
var rawSchema = z.string({ description: "Version Number" }).min(1).regex(/^\d+\.\d+(\.\d+)*$/);
|
|
5
|
+
var { schemas: generatedSchemas, factory } = createType({
|
|
6
|
+
isStringLike: true,
|
|
7
|
+
rawSchema,
|
|
8
|
+
parseErrMsg: (value) => `${value} is an invalid version number`,
|
|
9
|
+
unknownErrMsg: "Something went wrong trying to parse the version number"
|
|
10
|
+
});
|
|
11
|
+
var internalSchema = generatedSchemas.schema;
|
|
12
|
+
var { create, of, make } = factory;
|
|
13
|
+
var schemas = {
|
|
14
|
+
...generatedSchemas,
|
|
15
|
+
schema: generatedSchemas.schema.transform((val) => val)
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
create,
|
|
19
|
+
internalSchema,
|
|
20
|
+
make,
|
|
21
|
+
of,
|
|
22
|
+
rawSchema,
|
|
23
|
+
schemas
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=VersionNumber.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["VersionNumber.ts"],"sourcesContent":["import createType from '@taqueria/protocol/Base';\nimport { z } from 'zod';\n\nexport const rawSchema = z.string({ description: 'Version Number' })\n\t.min(1)\n\t.regex(/^\\d+\\.\\d+(\\.\\d+)*$/);\n\ntype RawInput = z.infer<typeof rawSchema>;\n\nconst { schemas: generatedSchemas, factory } = createType<RawInput, RawInput>({\n\tisStringLike: true,\n\trawSchema,\n\tparseErrMsg: (value: unknown) => `${value} is an invalid version number`,\n\tunknownErrMsg: 'Something went wrong trying to parse the version number',\n});\n\nexport const internalSchema = generatedSchemas.schema;\n\nexport type VersionNumber = z.infer<typeof internalSchema>;\nexport type t = VersionNumber;\nexport const { create, of, make } = factory;\nexport const schemas = {\n\t...generatedSchemas,\n\tschema: generatedSchemas.schema.transform(val => val as VersionNumber),\n};\n"],"mappings":";AAAA,OAAO,gBAAgB;AACvB,SAAS,SAAS;AAEX,IAAM,YAAY,EAAE,OAAO,EAAE,aAAa,iBAAiB,CAAC,EACjE,IAAI,CAAC,EACL,MAAM,oBAAoB;AAI5B,IAAM,EAAE,SAAS,kBAAkB,QAAQ,IAAI,WAA+B;AAAA,EAC7E,cAAc;AAAA,EACd;AAAA,EACA,aAAa,CAAC,UAAmB,GAAG;AAAA,EACpC,eAAe;AAChB,CAAC;AAEM,IAAM,iBAAiB,iBAAiB;AAIxC,IAAM,EAAE,QAAQ,IAAI,KAAK,IAAI;AAC7B,IAAM,UAAU;AAAA,EACtB,GAAG;AAAA,EACH,QAAQ,iBAAiB,OAAO,UAAU,SAAO,GAAoB;AACtE;","names":[]}
|
package/i18n.d.ts
ADDED
package/i18n.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["i18n.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,IAAI;IACpB,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,CAAC;CACnC;AAED,oBAAY,CAAC,GAAG,IAAI,CAAC;;AAErB,wBAiEE"}
|
package/i18n.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
// i18n.ts
|
|
27
|
+
var i18n_exports = {};
|
|
28
|
+
__export(i18n_exports, {
|
|
29
|
+
default: () => i18n_default
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(i18n_exports);
|
|
32
|
+
var import_i18next = __toESM(require("i18next"));
|
|
33
|
+
var i18n_default = async () => {
|
|
34
|
+
const i18n = {
|
|
35
|
+
...await import_i18next.default.init({
|
|
36
|
+
lng: "en",
|
|
37
|
+
debug: false,
|
|
38
|
+
resources: {
|
|
39
|
+
en: {
|
|
40
|
+
translation: {
|
|
41
|
+
"appName": "Taqueria",
|
|
42
|
+
"appDesc": "Taqueria is an integrated environment for compiling, testing, and deploying Tezos software.",
|
|
43
|
+
"versionDesc": "Display the version number of the Taqueria program",
|
|
44
|
+
"betaWarning": "Taqueria is currently in BETA. You've been warned. :)",
|
|
45
|
+
"configDirDesc": "Config directory (default ./.taq)",
|
|
46
|
+
"initDesc": "Initialize a new project",
|
|
47
|
+
"optInDesc": "Opt-in to sharing anonymous usage analytics",
|
|
48
|
+
"optOutDesc": "Opt-out of sharing anonymous usage analytics",
|
|
49
|
+
"initPathDesc": "Path to your project directory",
|
|
50
|
+
"scaffoldDesc": "Generate a new project using pre-made scaffold",
|
|
51
|
+
"scaffoldUrlDesc": "Alias or Url for the scaffold project",
|
|
52
|
+
"scaffoldProjectDirDesc": "Path where to create the new project. This must be a new directory.",
|
|
53
|
+
"scaffoldDoneMsg": "The project was created using the scaffold.",
|
|
54
|
+
"installDesc": "Install a plugin",
|
|
55
|
+
"pluginInstalled": "Plugin installed successfully",
|
|
56
|
+
"pluginUninstalled": "Plugin uninstalled successfully",
|
|
57
|
+
"uninstallDesc": "Uninstall a plugin",
|
|
58
|
+
"pluginNameDesc": "The name of the plugin",
|
|
59
|
+
"promptForTask": "Please specify which task you would like to execute. If you're starting a new project, please run 'init'.\n",
|
|
60
|
+
"pluginKindDesc": "Kind of plugin (NPM, Binary)",
|
|
61
|
+
"pluginAlreadyInstalled": "That plugin is already installed.",
|
|
62
|
+
"pluginOptionDesc": "Use the task from this plugin",
|
|
63
|
+
"bootstrapMsg": "Project taq'ified!",
|
|
64
|
+
"maxConcurrencyDesc": "Set the maximum concurrency limit used internally",
|
|
65
|
+
"providedByMany": "Provided by more than one plugin. The option --plugin is required.",
|
|
66
|
+
"pluginDesc": "Specify what plugin should execute this command. Use this when more than one plugin provide a task of the same name.",
|
|
67
|
+
"listNetworks": "List known networks",
|
|
68
|
+
"envDesc": "Specify an environment configuration",
|
|
69
|
+
"disableStateDesc": "Does not use the saved state.json file. State is computed for each execution.",
|
|
70
|
+
"logPluginCallsDesc": "Logs any execution calls to a plugin to the console",
|
|
71
|
+
"npmInitRequired": "This project isn't a valid NPM project. Please run: npm init",
|
|
72
|
+
"testFromVsCode": "An internal command used by VS Code to test for the taq binary",
|
|
73
|
+
"fromVsCode": "An internal flag used to indicate that taq is executed via vscode",
|
|
74
|
+
"buildDesc": "Display build information about the current version",
|
|
75
|
+
"pluginOption": "Use to specify what plugin you'd like when running this task.",
|
|
76
|
+
"yesOptionDesc": 'Select "yes" to any prompt',
|
|
77
|
+
"templateNotFound": "Template not found. Perhaps you need to install a plugin?",
|
|
78
|
+
"createDesc": "Create files from pre-existing templates",
|
|
79
|
+
"templateDesc": "Name of the template to use",
|
|
80
|
+
"addContractDesc": "Add a contract to the contract registry",
|
|
81
|
+
"addSourceFileDesc": "Source file to add to the contract registry",
|
|
82
|
+
"removeContractDesc": "Remove a contract from the contract registry",
|
|
83
|
+
"removeContractNameDesc": "The name of the contract to remove",
|
|
84
|
+
"noContractsRegistered": "No registered contracts found",
|
|
85
|
+
"listContractsDesc": "List registered contracts"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}),
|
|
90
|
+
__: import_i18next.default.t
|
|
91
|
+
};
|
|
92
|
+
return i18n;
|
|
93
|
+
};
|
|
94
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
+
0 && (module.exports = {});
|
|
96
|
+
//# sourceMappingURL=i18n.js.map
|
package/i18n.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["i18n.ts"],"sourcesContent":["import i18next from 'i18next';\n\nexport interface i18n {\n\t__: (...args: unknown[]) => string;\n}\n\nexport type t = i18n;\n\nexport default async (): Promise<i18n> => {\n\t// TODO: i18next is feature-rich, but rather large. Determine whether you need all of the functionality\n\tconst i18n = {\n\t\t...await i18next.init({\n\t\t\tlng: 'en',\n\t\t\tdebug: false,\n\t\t\tresources: {\n\t\t\t\t// TODO: Move to separate language files\n\t\t\t\ten: {\n\t\t\t\t\ttranslation: {\n\t\t\t\t\t\t'appName': 'Taqueria',\n\t\t\t\t\t\t'appDesc': 'Taqueria is an integrated environment for compiling, testing, and deploying Tezos software.',\n\t\t\t\t\t\t'versionDesc': 'Display the version number of the Taqueria program',\n\t\t\t\t\t\t'betaWarning': \"Taqueria is currently in BETA. You've been warned. :)\",\n\t\t\t\t\t\t'configDirDesc': 'Config directory (default ./.taq)',\n\t\t\t\t\t\t'initDesc': 'Initialize a new project',\n\t\t\t\t\t\t'optInDesc': 'Opt-in to sharing anonymous usage analytics',\n\t\t\t\t\t\t'optOutDesc': 'Opt-out of sharing anonymous usage analytics',\n\t\t\t\t\t\t'initPathDesc': 'Path to your project directory',\n\t\t\t\t\t\t'scaffoldDesc': 'Generate a new project using pre-made scaffold',\n\t\t\t\t\t\t'scaffoldUrlDesc': 'Alias or Url for the scaffold project',\n\t\t\t\t\t\t'scaffoldProjectDirDesc': 'Path where to create the new project. This must be a new directory.',\n\t\t\t\t\t\t'scaffoldDoneMsg': 'The project was created using the scaffold.',\n\t\t\t\t\t\t'installDesc': 'Install a plugin',\n\t\t\t\t\t\t'pluginInstalled': 'Plugin installed successfully',\n\t\t\t\t\t\t'pluginUninstalled': 'Plugin uninstalled successfully',\n\t\t\t\t\t\t'uninstallDesc': 'Uninstall a plugin',\n\t\t\t\t\t\t'pluginNameDesc': 'The name of the plugin',\n\t\t\t\t\t\t'promptForTask':\n\t\t\t\t\t\t\t\"Please specify which task you would like to execute. If you're starting a new project, please run 'init'.\\n\",\n\t\t\t\t\t\t'pluginKindDesc': 'Kind of plugin (NPM, Binary)',\n\t\t\t\t\t\t'pluginAlreadyInstalled': 'That plugin is already installed.',\n\t\t\t\t\t\t'pluginOptionDesc': 'Use the task from this plugin',\n\t\t\t\t\t\t'bootstrapMsg': \"Project taq'ified!\",\n\t\t\t\t\t\t'maxConcurrencyDesc': 'Set the maximum concurrency limit used internally',\n\t\t\t\t\t\t'providedByMany': 'Provided by more than one plugin. The option --plugin is required.',\n\t\t\t\t\t\t'pluginDesc':\n\t\t\t\t\t\t\t'Specify what plugin should execute this command. Use this when more than one plugin provide a task of the same name.',\n\t\t\t\t\t\t'listNetworks': 'List known networks',\n\t\t\t\t\t\t'envDesc': 'Specify an environment configuration',\n\t\t\t\t\t\t'disableStateDesc': 'Does not use the saved state.json file. State is computed for each execution.',\n\t\t\t\t\t\t'logPluginCallsDesc': 'Logs any execution calls to a plugin to the console',\n\t\t\t\t\t\t'npmInitRequired': \"This project isn't a valid NPM project. Please run: npm init\",\n\t\t\t\t\t\t'testFromVsCode': 'An internal command used by VS Code to test for the taq binary',\n\t\t\t\t\t\t'fromVsCode': 'An internal flag used to indicate that taq is executed via vscode',\n\t\t\t\t\t\t'buildDesc': 'Display build information about the current version',\n\t\t\t\t\t\t'pluginOption': \"Use to specify what plugin you'd like when running this task.\",\n\t\t\t\t\t\t'yesOptionDesc': 'Select \"yes\" to any prompt',\n\t\t\t\t\t\t'templateNotFound': 'Template not found. Perhaps you need to install a plugin?',\n\t\t\t\t\t\t'createDesc': 'Create files from pre-existing templates',\n\t\t\t\t\t\t'templateDesc': 'Name of the template to use',\n\t\t\t\t\t\t'addContractDesc': 'Add a contract to the contract registry',\n\t\t\t\t\t\t'addSourceFileDesc': 'Source file to add to the contract registry',\n\t\t\t\t\t\t'removeContractDesc': 'Remove a contract from the contract registry',\n\t\t\t\t\t\t'removeContractNameDesc': 'The name of the contract to remove',\n\t\t\t\t\t\t'noContractsRegistered': 'No registered contracts found',\n\t\t\t\t\t\t'listContractsDesc': 'List registered contracts',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t\t__: i18next.t,\n\t};\n\n\treturn i18n;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAoB;AAQpB,IAAO,eAAQ,YAA2B;AAEzC,QAAM,OAAO;AAAA,IACZ,GAAG,MAAM,eAAAA,QAAQ,KAAK;AAAA,MACrB,KAAK;AAAA,MACL,OAAO;AAAA,MACP,WAAW;AAAA,QAEV,IAAI;AAAA,UACH,aAAa;AAAA,YACZ,WAAW;AAAA,YACX,WAAW;AAAA,YACX,eAAe;AAAA,YACf,eAAe;AAAA,YACf,iBAAiB;AAAA,YACjB,YAAY;AAAA,YACZ,aAAa;AAAA,YACb,cAAc;AAAA,YACd,gBAAgB;AAAA,YAChB,gBAAgB;AAAA,YAChB,mBAAmB;AAAA,YACnB,0BAA0B;AAAA,YAC1B,mBAAmB;AAAA,YACnB,eAAe;AAAA,YACf,mBAAmB;AAAA,YACnB,qBAAqB;AAAA,YACrB,iBAAiB;AAAA,YACjB,kBAAkB;AAAA,YAClB,iBACC;AAAA,YACD,kBAAkB;AAAA,YAClB,0BAA0B;AAAA,YAC1B,oBAAoB;AAAA,YACpB,gBAAgB;AAAA,YAChB,sBAAsB;AAAA,YACtB,kBAAkB;AAAA,YAClB,cACC;AAAA,YACD,gBAAgB;AAAA,YAChB,WAAW;AAAA,YACX,oBAAoB;AAAA,YACpB,sBAAsB;AAAA,YACtB,mBAAmB;AAAA,YACnB,kBAAkB;AAAA,YAClB,cAAc;AAAA,YACd,aAAa;AAAA,YACb,gBAAgB;AAAA,YAChB,iBAAiB;AAAA,YACjB,oBAAoB;AAAA,YACpB,cAAc;AAAA,YACd,gBAAgB;AAAA,YAChB,mBAAmB;AAAA,YACnB,qBAAqB;AAAA,YACrB,sBAAsB;AAAA,YACtB,0BAA0B;AAAA,YAC1B,yBAAyB;AAAA,YACzB,qBAAqB;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAAA,IACD,IAAI,eAAAA,QAAQ;AAAA,EACb;AAEA,SAAO;AACR;","names":["i18next"]}
|
package/i18n.mjs
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// i18n.ts
|
|
2
|
+
import i18next from "i18next";
|
|
3
|
+
var i18n_default = async () => {
|
|
4
|
+
const i18n = {
|
|
5
|
+
...await i18next.init({
|
|
6
|
+
lng: "en",
|
|
7
|
+
debug: false,
|
|
8
|
+
resources: {
|
|
9
|
+
en: {
|
|
10
|
+
translation: {
|
|
11
|
+
"appName": "Taqueria",
|
|
12
|
+
"appDesc": "Taqueria is an integrated environment for compiling, testing, and deploying Tezos software.",
|
|
13
|
+
"versionDesc": "Display the version number of the Taqueria program",
|
|
14
|
+
"betaWarning": "Taqueria is currently in BETA. You've been warned. :)",
|
|
15
|
+
"configDirDesc": "Config directory (default ./.taq)",
|
|
16
|
+
"initDesc": "Initialize a new project",
|
|
17
|
+
"optInDesc": "Opt-in to sharing anonymous usage analytics",
|
|
18
|
+
"optOutDesc": "Opt-out of sharing anonymous usage analytics",
|
|
19
|
+
"initPathDesc": "Path to your project directory",
|
|
20
|
+
"scaffoldDesc": "Generate a new project using pre-made scaffold",
|
|
21
|
+
"scaffoldUrlDesc": "Alias or Url for the scaffold project",
|
|
22
|
+
"scaffoldProjectDirDesc": "Path where to create the new project. This must be a new directory.",
|
|
23
|
+
"scaffoldDoneMsg": "The project was created using the scaffold.",
|
|
24
|
+
"installDesc": "Install a plugin",
|
|
25
|
+
"pluginInstalled": "Plugin installed successfully",
|
|
26
|
+
"pluginUninstalled": "Plugin uninstalled successfully",
|
|
27
|
+
"uninstallDesc": "Uninstall a plugin",
|
|
28
|
+
"pluginNameDesc": "The name of the plugin",
|
|
29
|
+
"promptForTask": "Please specify which task you would like to execute. If you're starting a new project, please run 'init'.\n",
|
|
30
|
+
"pluginKindDesc": "Kind of plugin (NPM, Binary)",
|
|
31
|
+
"pluginAlreadyInstalled": "That plugin is already installed.",
|
|
32
|
+
"pluginOptionDesc": "Use the task from this plugin",
|
|
33
|
+
"bootstrapMsg": "Project taq'ified!",
|
|
34
|
+
"maxConcurrencyDesc": "Set the maximum concurrency limit used internally",
|
|
35
|
+
"providedByMany": "Provided by more than one plugin. The option --plugin is required.",
|
|
36
|
+
"pluginDesc": "Specify what plugin should execute this command. Use this when more than one plugin provide a task of the same name.",
|
|
37
|
+
"listNetworks": "List known networks",
|
|
38
|
+
"envDesc": "Specify an environment configuration",
|
|
39
|
+
"disableStateDesc": "Does not use the saved state.json file. State is computed for each execution.",
|
|
40
|
+
"logPluginCallsDesc": "Logs any execution calls to a plugin to the console",
|
|
41
|
+
"npmInitRequired": "This project isn't a valid NPM project. Please run: npm init",
|
|
42
|
+
"testFromVsCode": "An internal command used by VS Code to test for the taq binary",
|
|
43
|
+
"fromVsCode": "An internal flag used to indicate that taq is executed via vscode",
|
|
44
|
+
"buildDesc": "Display build information about the current version",
|
|
45
|
+
"pluginOption": "Use to specify what plugin you'd like when running this task.",
|
|
46
|
+
"yesOptionDesc": 'Select "yes" to any prompt',
|
|
47
|
+
"templateNotFound": "Template not found. Perhaps you need to install a plugin?",
|
|
48
|
+
"createDesc": "Create files from pre-existing templates",
|
|
49
|
+
"templateDesc": "Name of the template to use",
|
|
50
|
+
"addContractDesc": "Add a contract to the contract registry",
|
|
51
|
+
"addSourceFileDesc": "Source file to add to the contract registry",
|
|
52
|
+
"removeContractDesc": "Remove a contract from the contract registry",
|
|
53
|
+
"removeContractNameDesc": "The name of the contract to remove",
|
|
54
|
+
"noContractsRegistered": "No registered contracts found",
|
|
55
|
+
"listContractsDesc": "List registered contracts"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
__: i18next.t
|
|
61
|
+
};
|
|
62
|
+
return i18n;
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
i18n_default as default
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=i18n.mjs.map
|
package/i18n.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["i18n.ts"],"sourcesContent":["import i18next from 'i18next';\n\nexport interface i18n {\n\t__: (...args: unknown[]) => string;\n}\n\nexport type t = i18n;\n\nexport default async (): Promise<i18n> => {\n\t// TODO: i18next is feature-rich, but rather large. Determine whether you need all of the functionality\n\tconst i18n = {\n\t\t...await i18next.init({\n\t\t\tlng: 'en',\n\t\t\tdebug: false,\n\t\t\tresources: {\n\t\t\t\t// TODO: Move to separate language files\n\t\t\t\ten: {\n\t\t\t\t\ttranslation: {\n\t\t\t\t\t\t'appName': 'Taqueria',\n\t\t\t\t\t\t'appDesc': 'Taqueria is an integrated environment for compiling, testing, and deploying Tezos software.',\n\t\t\t\t\t\t'versionDesc': 'Display the version number of the Taqueria program',\n\t\t\t\t\t\t'betaWarning': \"Taqueria is currently in BETA. You've been warned. :)\",\n\t\t\t\t\t\t'configDirDesc': 'Config directory (default ./.taq)',\n\t\t\t\t\t\t'initDesc': 'Initialize a new project',\n\t\t\t\t\t\t'optInDesc': 'Opt-in to sharing anonymous usage analytics',\n\t\t\t\t\t\t'optOutDesc': 'Opt-out of sharing anonymous usage analytics',\n\t\t\t\t\t\t'initPathDesc': 'Path to your project directory',\n\t\t\t\t\t\t'scaffoldDesc': 'Generate a new project using pre-made scaffold',\n\t\t\t\t\t\t'scaffoldUrlDesc': 'Alias or Url for the scaffold project',\n\t\t\t\t\t\t'scaffoldProjectDirDesc': 'Path where to create the new project. This must be a new directory.',\n\t\t\t\t\t\t'scaffoldDoneMsg': 'The project was created using the scaffold.',\n\t\t\t\t\t\t'installDesc': 'Install a plugin',\n\t\t\t\t\t\t'pluginInstalled': 'Plugin installed successfully',\n\t\t\t\t\t\t'pluginUninstalled': 'Plugin uninstalled successfully',\n\t\t\t\t\t\t'uninstallDesc': 'Uninstall a plugin',\n\t\t\t\t\t\t'pluginNameDesc': 'The name of the plugin',\n\t\t\t\t\t\t'promptForTask':\n\t\t\t\t\t\t\t\"Please specify which task you would like to execute. If you're starting a new project, please run 'init'.\\n\",\n\t\t\t\t\t\t'pluginKindDesc': 'Kind of plugin (NPM, Binary)',\n\t\t\t\t\t\t'pluginAlreadyInstalled': 'That plugin is already installed.',\n\t\t\t\t\t\t'pluginOptionDesc': 'Use the task from this plugin',\n\t\t\t\t\t\t'bootstrapMsg': \"Project taq'ified!\",\n\t\t\t\t\t\t'maxConcurrencyDesc': 'Set the maximum concurrency limit used internally',\n\t\t\t\t\t\t'providedByMany': 'Provided by more than one plugin. The option --plugin is required.',\n\t\t\t\t\t\t'pluginDesc':\n\t\t\t\t\t\t\t'Specify what plugin should execute this command. Use this when more than one plugin provide a task of the same name.',\n\t\t\t\t\t\t'listNetworks': 'List known networks',\n\t\t\t\t\t\t'envDesc': 'Specify an environment configuration',\n\t\t\t\t\t\t'disableStateDesc': 'Does not use the saved state.json file. State is computed for each execution.',\n\t\t\t\t\t\t'logPluginCallsDesc': 'Logs any execution calls to a plugin to the console',\n\t\t\t\t\t\t'npmInitRequired': \"This project isn't a valid NPM project. Please run: npm init\",\n\t\t\t\t\t\t'testFromVsCode': 'An internal command used by VS Code to test for the taq binary',\n\t\t\t\t\t\t'fromVsCode': 'An internal flag used to indicate that taq is executed via vscode',\n\t\t\t\t\t\t'buildDesc': 'Display build information about the current version',\n\t\t\t\t\t\t'pluginOption': \"Use to specify what plugin you'd like when running this task.\",\n\t\t\t\t\t\t'yesOptionDesc': 'Select \"yes\" to any prompt',\n\t\t\t\t\t\t'templateNotFound': 'Template not found. Perhaps you need to install a plugin?',\n\t\t\t\t\t\t'createDesc': 'Create files from pre-existing templates',\n\t\t\t\t\t\t'templateDesc': 'Name of the template to use',\n\t\t\t\t\t\t'addContractDesc': 'Add a contract to the contract registry',\n\t\t\t\t\t\t'addSourceFileDesc': 'Source file to add to the contract registry',\n\t\t\t\t\t\t'removeContractDesc': 'Remove a contract from the contract registry',\n\t\t\t\t\t\t'removeContractNameDesc': 'The name of the contract to remove',\n\t\t\t\t\t\t'noContractsRegistered': 'No registered contracts found',\n\t\t\t\t\t\t'listContractsDesc': 'List registered contracts',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t\t__: i18next.t,\n\t};\n\n\treturn i18n;\n};\n"],"mappings":";AAAA,OAAO,aAAa;AAQpB,IAAO,eAAQ,YAA2B;AAEzC,QAAM,OAAO;AAAA,IACZ,GAAG,MAAM,QAAQ,KAAK;AAAA,MACrB,KAAK;AAAA,MACL,OAAO;AAAA,MACP,WAAW;AAAA,QAEV,IAAI;AAAA,UACH,aAAa;AAAA,YACZ,WAAW;AAAA,YACX,WAAW;AAAA,YACX,eAAe;AAAA,YACf,eAAe;AAAA,YACf,iBAAiB;AAAA,YACjB,YAAY;AAAA,YACZ,aAAa;AAAA,YACb,cAAc;AAAA,YACd,gBAAgB;AAAA,YAChB,gBAAgB;AAAA,YAChB,mBAAmB;AAAA,YACnB,0BAA0B;AAAA,YAC1B,mBAAmB;AAAA,YACnB,eAAe;AAAA,YACf,mBAAmB;AAAA,YACnB,qBAAqB;AAAA,YACrB,iBAAiB;AAAA,YACjB,kBAAkB;AAAA,YAClB,iBACC;AAAA,YACD,kBAAkB;AAAA,YAClB,0BAA0B;AAAA,YAC1B,oBAAoB;AAAA,YACpB,gBAAgB;AAAA,YAChB,sBAAsB;AAAA,YACtB,kBAAkB;AAAA,YAClB,cACC;AAAA,YACD,gBAAgB;AAAA,YAChB,WAAW;AAAA,YACX,oBAAoB;AAAA,YACpB,sBAAsB;AAAA,YACtB,mBAAmB;AAAA,YACnB,kBAAkB;AAAA,YAClB,cAAc;AAAA,YACd,aAAa;AAAA,YACb,gBAAgB;AAAA,YAChB,iBAAiB;AAAA,YACjB,oBAAoB;AAAA,YACpB,cAAc;AAAA,YACd,gBAAgB;AAAA,YAChB,mBAAmB;AAAA,YACnB,qBAAqB;AAAA,YACrB,sBAAsB;AAAA,YACtB,0BAA0B;AAAA,YAC1B,yBAAyB;AAAA,YACzB,qBAAqB;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAAA,IACD,IAAI,QAAQ;AAAA,EACb;AAEA,SAAO;AACR;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taqueria/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"description": "A TypeScript package which contains types that are to be shared between @taqueria/node-sdk and @taqueria/taqueria.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"build": "
|
|
8
|
+
"build": "npx tsc --emitDeclarationOnly -p ./tsconfig.json && npx tsup"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"taqueria",
|
|
@@ -31,11 +31,39 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"typescript": "^4.7.2"
|
|
33
33
|
},
|
|
34
|
+
"exports": {
|
|
35
|
+
"./*": {
|
|
36
|
+
"import": "./*.mjs",
|
|
37
|
+
"default": "./*.js"
|
|
38
|
+
},
|
|
39
|
+
"./*.js": {
|
|
40
|
+
"import": "./*.mjs",
|
|
41
|
+
"default": "./*.js"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
34
44
|
"dependencies": {
|
|
35
45
|
"@peculiar/webcrypto": "^1.4.0",
|
|
36
46
|
"batching-toposort": "^1.2.0",
|
|
37
47
|
"fluture": "^14.0.0",
|
|
38
|
-
"
|
|
48
|
+
"rambda": "^7.2.1",
|
|
49
|
+
"rambdax": "^8.1.0",
|
|
50
|
+
"tsup": "^6.2.3",
|
|
39
51
|
"zod": "^3.17.3"
|
|
52
|
+
},
|
|
53
|
+
"tsup": {
|
|
54
|
+
"entry": [
|
|
55
|
+
"[!.]+.ts"
|
|
56
|
+
],
|
|
57
|
+
"sourcemap": true,
|
|
58
|
+
"target": "node16",
|
|
59
|
+
"outDir": "./",
|
|
60
|
+
"dts": false,
|
|
61
|
+
"clean": false,
|
|
62
|
+
"skipNodeModulesBundle": true,
|
|
63
|
+
"platform": "node",
|
|
64
|
+
"format": [
|
|
65
|
+
"esm",
|
|
66
|
+
"cjs"
|
|
67
|
+
]
|
|
40
68
|
}
|
|
41
69
|
}
|
|
@@ -34,3 +34,4 @@ export * as Template from '@taqueria/protocol/Template';
|
|
|
34
34
|
export * as Url from '@taqueria/protocol/Url';
|
|
35
35
|
export * as Verb from '@taqueria/protocol/Verb';
|
|
36
36
|
export * as VersionNumber from '@taqueria/protocol/VersionNumber';
|
|
37
|
+
//# sourceMappingURL=taqueria-protocol-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taqueria-protocol-types.d.ts","sourceRoot":"","sources":["taqueria-protocol-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,KAAK,sBAAsB,MAAM,2CAA2C,CAAC;AACpF,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,uBAAuB,MAAM,4CAA4C,CAAC;AACtF,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAChD,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,gBAAgB,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,kBAAkB,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,sBAAsB,MAAM,2CAA2C,CAAC;AACpF,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,oBAAoB,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,gBAAgB,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,6BAA6B,CAAC;AACxD,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,6BAA6B,CAAC;AACxD,OAAO,KAAK,GAAG,MAAM,wBAAwB,CAAC;AAC9C,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AAChD,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAC"}
|