initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
31
github/codeql-action-v2/node_modules/@protobuf-ts/plugin/build/file-table.d.ts
generated
vendored
Normal file
31
github/codeql-action-v2/node_modules/@protobuf-ts/plugin/build/file-table.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { FileDescriptorProto } from "@protobuf-ts/plugin-framework";
|
||||
export declare class FileTable {
|
||||
private readonly entries;
|
||||
private readonly clashResolveMaxTries;
|
||||
private readonly clashResolver;
|
||||
constructor(clashResolver?: ClashResolver);
|
||||
register(requestedName: string, descriptor: FileDescriptorProto, kind?: string): string;
|
||||
protected hasName: (name: string) => boolean;
|
||||
/**
|
||||
* Find a symbol (of the given kind) for the given descriptor.
|
||||
* Return `undefined` if not found.
|
||||
*/
|
||||
find(descriptor: FileDescriptorProto, kind?: string): FileTableEntry | undefined;
|
||||
/**
|
||||
* Find a symbol (of the given kind) for the given descriptor.
|
||||
* Raises error if not found.
|
||||
*/
|
||||
get(descriptor: FileDescriptorProto, kind?: string): FileTableEntry;
|
||||
/**
|
||||
* Is a name (of the given kind) registered for the the given descriptor?
|
||||
*/
|
||||
has(descriptor: FileDescriptorProto, kind?: string): boolean;
|
||||
static defaultClashResolver(descriptor: FileDescriptorProto, requestedName: string, kind: string, tryCount: number): string;
|
||||
}
|
||||
interface FileTableEntry {
|
||||
descriptor: FileDescriptorProto;
|
||||
name: string;
|
||||
kind: string;
|
||||
}
|
||||
declare type ClashResolver = (descriptor: FileDescriptorProto, requestedName: string, kind: string, tryCount: number, failedName: string) => string;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue