Primeiro commit do projeto Angular
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
import { Readable } from 'stream';
|
||||
import { JSONObject, JSONValue } from './utils';
|
||||
interface MetaFileOptions {
|
||||
version: number;
|
||||
length?: number;
|
||||
hashes?: Record<string, string>;
|
||||
unrecognizedFields?: Record<string, JSONValue>;
|
||||
}
|
||||
export declare class MetaFile {
|
||||
readonly version: number;
|
||||
readonly length?: number;
|
||||
readonly hashes?: Record<string, string>;
|
||||
readonly unrecognizedFields?: Record<string, JSONValue>;
|
||||
constructor(opts: MetaFileOptions);
|
||||
equals(other: MetaFile): boolean;
|
||||
verify(data: Buffer): void;
|
||||
toJSON(): JSONObject;
|
||||
static fromJSON(data: JSONObject): MetaFile;
|
||||
}
|
||||
interface TargetFileOptions {
|
||||
length: number;
|
||||
path: string;
|
||||
hashes: Record<string, string>;
|
||||
unrecognizedFields?: Record<string, JSONValue>;
|
||||
}
|
||||
export declare class TargetFile {
|
||||
readonly length: number;
|
||||
readonly path: string;
|
||||
readonly hashes: Record<string, string>;
|
||||
readonly unrecognizedFields: Record<string, JSONValue>;
|
||||
constructor(opts: TargetFileOptions);
|
||||
get custom(): Record<string, unknown>;
|
||||
equals(other: TargetFile): boolean;
|
||||
verify(stream: Readable): Promise<void>;
|
||||
toJSON(): JSONObject;
|
||||
static fromJSON(path: string, data: JSONObject): TargetFile;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user