@absolutejs/absolute 0.19.0-beta.1116 → 0.19.0-beta.1117
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.
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type LintProof = {
|
|
2
|
+
command: string[];
|
|
3
|
+
contractVersion: number;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
lintFingerprint: string;
|
|
6
|
+
sourceTree: string;
|
|
7
|
+
};
|
|
8
|
+
type ProofResult = {
|
|
9
|
+
valid: true;
|
|
10
|
+
proof: LintProof;
|
|
11
|
+
} | {
|
|
12
|
+
reason: string;
|
|
13
|
+
valid: false;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Build a Git tree from the complete working copy without modifying the real
|
|
17
|
+
* index. Ignored files and the proof itself are excluded. Git performs its
|
|
18
|
+
* normal clean filters, so the digest is stable across checkout platforms.
|
|
19
|
+
*/
|
|
20
|
+
export declare const createLintSourceTree: (cwd?: string, proofLocation?: string) => string;
|
|
21
|
+
export declare const createLintProof: (command: string[], options?: {
|
|
22
|
+
cwd?: string;
|
|
23
|
+
proofLocation?: string;
|
|
24
|
+
}) => LintProof;
|
|
25
|
+
export declare const writeLintProof: (command: string[], options?: {
|
|
26
|
+
cwd?: string;
|
|
27
|
+
proofLocation?: string;
|
|
28
|
+
}) => LintProof;
|
|
29
|
+
export declare const verifyLintProof: (command: string[], options?: {
|
|
30
|
+
cwd?: string;
|
|
31
|
+
proofLocation?: string;
|
|
32
|
+
}) => ProofResult;
|
|
33
|
+
export declare const runLintProof: (args: string[]) => Promise<number>;
|
|
34
|
+
export {};
|