/opt/canhelp/node_modules/googleapis/build/src/generator
NameSizeModeActions
disclaimer.d.ts9870644editdlrm
disclaimer.js17760644editdlrm
docs.d.ts22240644editdlrm
docs.js26780644editdlrm
download.d.ts24360644editdlrm
download.js94910644editdlrm
filters.d.ts12340644editdlrm
filters.js46760644editdlrm
generator.d.ts14830644editdlrm
generator.js138250644editdlrm
samplegen.d.ts9870644editdlrm
samplegen.js50390644editdlrm
synth.d.ts7770644editdlrm
synth.js78950644editdlrm
Edit: /opt/canhelp/node_modules/googleapis/build/src/generator/samplegen.d.ts (987B)
import { Schema, SchemaMethod, SchemaMethods, SchemaResources } from 'googleapis-common'; /** * Given a top level Schema, collect every method on all resource objects. * Generate a sample, format it, and attach to the `method.fragment` field. * @param schema Top level schema for the API. */ export declare function addFragments(schema: Schema): Promise; /** * Generate all samples, and write them into the samples folder on disk. * @param apiPath Location on disk where the API lives. * @param schema The top level Schema containing API information. */ export declare function generateSamples(apiPath: string, schema: Schema): Promise; interface MethodBag { methods?: SchemaMethods; resources?: SchemaResources; } /** * Iterate over items in the schema recursively, and return a flattened * list of all methods. * @param bag * @param methods */ export declare function getAllMethods(bag: MethodBag, methods?: SchemaMethod[]): SchemaMethod[]; export {};