@taqueria/plugin-contract-types 0.39.23 → 0.39.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taqueria/plugin-contract-types",
3
- "version": "0.39.23",
3
+ "version": "0.39.28",
4
4
  "main": "index.cjs",
5
5
  "module": "index.js",
6
6
  "source": "index.ts",
@@ -34,7 +34,7 @@
34
34
  "typescript": "^5.2.2"
35
35
  },
36
36
  "dependencies": {
37
- "@taqueria/node-sdk": "^0.39.23",
37
+ "@taqueria/node-sdk": "^0.39.28",
38
38
  "@taquito/michel-codec": "^17.3.1",
39
39
  "@taquito/signer": "^17.3.1",
40
40
  "@taquito/taquito": "^17.3.1",
@@ -67,5 +67,5 @@
67
67
  "esm"
68
68
  ]
69
69
  },
70
- "gitHead": "d5c1171b903622806de0766d69107d796da2f277"
70
+ "gitHead": "ff58a2fc06ad233869ad6be574093c8b3b272e2e"
71
71
  }
package/index.d.cts DELETED
@@ -1 +0,0 @@
1
- export { generateContractTypesProcessContractFiles } from './src/cli-process.cjs';
package/run.d.cts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,9 +0,0 @@
1
- declare const generateContractTypesProcessContractFiles: ({ inputTzContractDirectory, inputFiles, outputTypescriptDirectory, format, typeAliasMode, }: {
2
- inputTzContractDirectory: string;
3
- inputFiles?: string[] | undefined;
4
- outputTypescriptDirectory: string;
5
- format: 'tz' | 'json';
6
- typeAliasMode: 'local' | 'file' | 'library' | 'simple';
7
- }) => Promise<void>;
8
-
9
- export { generateContractTypesProcessContractFiles };
@@ -1,85 +0,0 @@
1
- import * as M from '@taquito/michel-codec';
2
-
3
- declare const normalizeContractName: (text: string) => string;
4
-
5
- type TypedStorage = {
6
- storage: TypedType;
7
- };
8
- type TypedMethod = {
9
- name: string;
10
- args: TypedVar[];
11
- };
12
- type TypedVar = {
13
- name?: string;
14
- type: TypedType;
15
- };
16
- type TypedType = {
17
- raw: M.MichelsonType;
18
- optional?: boolean;
19
- } & ({
20
- kind: 'unit';
21
- } | {
22
- kind: 'never';
23
- } | {
24
- kind: 'unknown';
25
- } | {
26
- kind: 'value';
27
- value: string;
28
- typescriptType: 'string' | 'boolean' | 'number' | 'Date';
29
- } | {
30
- kind: 'union';
31
- union: TypedVar[];
32
- } | {
33
- kind: 'object';
34
- fields: TypedVar[];
35
- } | {
36
- kind: 'array';
37
- array: {
38
- item: TypedType;
39
- };
40
- } | {
41
- kind: 'map';
42
- map: {
43
- key: TypedType;
44
- value: TypedType;
45
- isBigMap: boolean;
46
- };
47
- } | {
48
- kind: 'lambda';
49
- lambda: {
50
- arg: TypedType;
51
- ret: TypedType;
52
- };
53
- });
54
-
55
- type CodeGenerationFormatting = {
56
- indent?: number;
57
- useSemicolons?: boolean;
58
- };
59
- declare const createTestingCodeGenerator: ({ contractSource, contractFormat, }: {
60
- contractSource: string;
61
- contractFormat: 'tz' | 'json';
62
- }) => {
63
- storage: TypedStorage;
64
- methods: TypedMethod[];
65
- generateOrigination: ({ contractVarName, formatting, }: {
66
- contractVarName?: string | undefined;
67
- formatting?: CodeGenerationFormatting | undefined;
68
- }) => {
69
- code: string;
70
- };
71
- generateMethodCall: ({ methodName, formatting, }: {
72
- methodName: string;
73
- formatting?: CodeGenerationFormatting | undefined;
74
- }) => {
75
- code: string;
76
- };
77
- generateStorageAccess: ({ storagePath, }: {
78
- storagePath: string;
79
- }) => {
80
- getStorageValueFunctionCode: string;
81
- getStorageValueFunctionName: string;
82
- };
83
- };
84
-
85
- export { createTestingCodeGenerator, normalizeContractName };