Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
23
my-app/node_modules/@sigstore/tuf/dist/client.d.ts
generated
vendored
Executable file
23
my-app/node_modules/@sigstore/tuf/dist/client.d.ts
generated
vendored
Executable file
|
@ -0,0 +1,23 @@
|
|||
import type { MakeFetchHappenOptions } from 'make-fetch-happen';
|
||||
export type Retry = MakeFetchHappenOptions['retry'];
|
||||
type FetchOptions = {
|
||||
retry?: Retry;
|
||||
timeout?: number;
|
||||
};
|
||||
export type TUFOptions = {
|
||||
cachePath: string;
|
||||
mirrorURL: string;
|
||||
rootPath?: string;
|
||||
forceCache: boolean;
|
||||
forceInit: boolean;
|
||||
} & FetchOptions;
|
||||
export interface TUF {
|
||||
getTarget(targetName: string): Promise<string>;
|
||||
}
|
||||
export declare class TUFClient implements TUF {
|
||||
private updater;
|
||||
constructor(options: TUFOptions);
|
||||
refresh(): Promise<void>;
|
||||
getTarget(targetName: string): Promise<string>;
|
||||
}
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue