MCPcopy Create free account

hub / github.com/Bewinxed/svetch / functions

Functions152 in github.com/Bewinxed/svetch

↓ 30 callersMethodget
(endpoint: EP, parameters: Params<GET[EP]>)
src/assets/client.ts:164
↓ 24 callersMethodlog
( color: keyof typeof this.console_colors, nesting: number = 1, ...args: any[] )
src/utils/logger.ts:27
↓ 18 callersMethodwarn
(nesting: number = 1, ...args: any[])
src/utils/logger.ts:87
↓ 16 callersMethoderror
(nesting: number = 1, ...args: any[])
src/utils/logger.ts:93
↓ 11 callersFunctionbrackets
(string: T)
src/utils/writers.ts:2
↓ 11 callersFunctionnext
(nextType: Type, nextFlags: FormatFlags[] = [])
src/utils/svelte-codegen.ts:200
↓ 9 callersFunctiongetNodeId
(node: tsm.Node)
src/utils/util.ts:132
↓ 7 callersFunctionentries
(obj: T)
src/utils/helpers/type.ts:1
↓ 7 callersMethodinfo
(nesting: number = 1, ...args: any[])
src/utils/logger.ts:81
↓ 6 callersFunctionms_to_human_readable
(ms: number)
src/generator.ts:908
↓ 6 callersFunctionprocessTypeNode
(node: Node)
src/generator.ts:126
↓ 5 callersFunctionfootprintOfType
({ type, node, overrides = {}, flags = [], depth = 0, typeChecker, }: FootprintParams)
src/utils/svelte-codegen.ts:137
↓ 5 callersFunctiongetNodeId
(node: tsm.Node)
src/utils/import-utils.ts:8
↓ 5 callersMethodrequest
( endpoint: EP, method: M, options: Params<EndpointMethod<M, EP>>, )
src/assets/client.ts:68
↓ 4 callersFunctionformatObject
(obj: any)
src/generator.ts:1241
↓ 4 callersFunctiongetTypeImport
(type: Type, sourceFile: SourceFile)
src/utils/svelte-codegen.ts:339
↓ 4 callersFunctionhasJsDocTag
(node: T, needle: string)
src/utils/util.ts:103
↓ 4 callersFunctionindent
(text: string, level: number = 1)
src/utils/svelte-codegen.ts:485
↓ 3 callersFunctionhasOwnIdentifier
(node: tsm.Node)
src/utils/util.ts:86
↓ 3 callersFunctionisPrimitive
(type: Type)
src/utils/svelte-codegen.ts:449
↓ 3 callersFunctionprocessReturnIdentifier
( expression: Identifier, typeChecker: TypeChecker, )
src/utils/endpoint_extractors.ts:285
↓ 3 callersFunctionprocessTypeNode
(node: Node, typeChecker: TypeChecker)
src/utils/endpoint_extractors.ts:150
↓ 3 callersFunctionprocess_call_expression
( expression: CallExpression | NewExpression, typeChecker: TypeChecker, spinner: Ora, )
src/utils/endpoint_extractors.ts:200
↓ 2 callersFunction_collect
(node: tsm.Node)
src/utils/unroll-types.ts:280
↓ 2 callersFunctionemitFileDeclaration
( project: tsm.Project, sourceFile: tsm.SourceFile, outProject = new tsm.Project({ skipAddingFilesFromTsC
src/utils/util.ts:20
↓ 2 callersFunctionextractFromThrowStatement
( node: ThrowStatement // biome-ignore lint/suspicious/noExplicitAny: This is a generic function )
src/generator.ts:321
↓ 2 callersFunctionextractFromThrowStatement
( node: ThrowStatement, // biome-ignore lint/suspicious/noExplicitAny: This is a generic function )
src/utils/endpoint_extractors.ts:81
↓ 2 callersFunctionextract_kit_error
( node: CallExpression, // biome-ignore lint/suspicious/noExplicitAny: This is a generic function )
src/lib/parsers/sveltekit/responses.ts:5
↓ 2 callersFunctionextract_payload_node
(node: Node)
src/utils/endpoint_extractors.ts:23
↓ 2 callersFunctionfindChildrenOfKindById
(needle: tsm.Node, haystack: tsm.Node)
src/utils/util.ts:145
↓ 2 callersFunctionformatSignature
( sig: Signature, variant: "type" | "declaration", next: (type: Type, flags: FormatFlags[]) => FormattedTyp
src/utils/svelte-codegen.ts:669
↓ 2 callersFunctiongetExportableNode
(_node: tsm.Node)
src/utils/util.ts:114
↓ 2 callersFunctiongetFileFromModulePath
(project: tsm.Project, modulePath: string)
src/utils/util.ts:164
↓ 2 callersFunctiongetStatement
(node: tsm.Node)
src/utils/util.ts:393
↓ 2 callersFunctionhashNode
(node: Node)
src/utils/node_utils.ts:4
↓ 2 callersFunctioninitSvetchrc
()
src/index.ts:59
↓ 2 callersFunctionisDateType
(type: Type)
src/utils/svelte-codegen.ts:445
↓ 2 callersFunctionisExportable
( node: T, )
src/utils/util.ts:121
↓ 2 callersFunctionisJsDocChild
(node: tsm.Node)
src/utils/util.ts:127
↓ 2 callersFunctionisSimpleSignature
(type: Type)
src/utils/svelte-codegen.ts:473
↓ 2 callersFunctionlog_node_with_location
(node: T)
src/utils/logger.ts:110
↓ 2 callersFunctionnewline
(string: T)
src/utils/writers.ts:6
↓ 2 callersFunctionnode_text_snippet
(node: Node)
src/utils/logger.ts:131
↓ 2 callersMethodprepareOutput
(declNode: tsm.Node)
src/utils/import-utils.ts:52
↓ 2 callersMethodregisterImports
(id: tsm.Identifier, sourceFile: tsm.SourceFile)
src/utils/import-utils.ts:28
↓ 2 callersFunctionreplaceTransientImport
( { node, sourceFile, declarationFile, }: { node: tsm.ImportTypeNode; sourceFile: tsm.SourceFile;
src/utils/util.ts:180
↓ 2 callersFunctionrunAll
()
src/index.ts:129
↓ 2 callersFunctionstandardizeImport
(importDecl: ImportDeclaration)
src/utils/svelte-codegen.ts:347
↓ 1 callersFunction_traverse
* Recursively "collects" all definitions that are local to the project based off identifiers found in the source code (node). * * Goes through the
src/utils/unroll-types.ts:114
↓ 1 callersFunctionabsolute_to_relative
(path: string)
src/utils/logger.ts:127
↓ 1 callersFunctionareTypesEquivalent
(type1: Type, type2: Type)
src/utils/svelte-codegen.ts:343
↓ 1 callersFunctioncheckAndInstallPackage
( packageName: string, devDependency = false, )
src/utils/check_package.ts:3
↓ 1 callersFunctioncheckDependencies
(filePath)
tests/dependencies.ts:11
↓ 1 callersFunctioncopyFolderRecursive
(src: string, dest: string)
build.config.ts:6
↓ 1 callersFunctioncreateParameters
(parameters: any)
src/utils/openapi.ts:56
↓ 1 callersFunctioncreateRequestBody
( parameters: any, )
src/utils/openapi.ts:89
↓ 1 callersFunctioncreateResponses
( responses: any, errors: any, )
src/utils/openapi.ts:104
↓ 1 callersMethoddebug
(nesting: number = 1, ...args: any[])
src/utils/logger.ts:101
↓ 1 callersFunctionextractErrorDetails
( node: Node, framework: string, )
src/utils/endpoint_extractors.ts:64
↓ 1 callersFunctionextractFromCallExpression
( node: CallExpression // biome-ignore lint/suspicious/noExplicitAny: This is a generic function )
src/generator.ts:360
↓ 1 callersFunctionextractFromCallExpression
( node: CallExpression, framework: string, // biome-ignore lint/suspicious/noExplicitAny: This is a generic
src/utils/endpoint_extractors.ts:120
↓ 1 callersFunctionextractFromCatchClause
(node: CatchClause)
src/generator.ts:343
↓ 1 callersFunctionextractFromCatchClause
(node: CatchClause)
src/utils/endpoint_extractors.ts:103
↓ 1 callersFunctionextractJSDoc
(declaration: FunctionDeclaration | VariableDeclaration)
src/generator.ts:605
↓ 1 callersFunctionextractPathParams
(path: string)
src/generator.ts:140
↓ 1 callersFunctionextractRootDirTypes
( declaration: FunctionDeclaration | VariableDeclaration, spinner: Ora )
src/generator.ts:386
↓ 1 callersFunctionextract_endpoint_response
( node: Node, typeChecker: TypeChecker, framework: string, spinner: Ora, )
src/utils/endpoint_extractors.ts:336
↓ 1 callersFunctionextract_query_parameters
(node: Node, typeChecker: TypeChecker)
src/utils/endpoint_extractors.ts:390
↓ 1 callersFunctionextract_results_declaration
( node: Node, typeChecker: TypeChecker, spinner: Ora, )
src/utils/endpoint_extractors.ts:365
↓ 1 callersFunctionextract_return_statement
( node: Node, typeChecker: TypeChecker, spinner: Ora, )
src/utils/endpoint_extractors.ts:164
↓ 1 callersFunctionfile_path_to_endpoint_url
(filePath: string)
src/generator.ts:579
↓ 1 callersFunctionformatGenericObject
( type: Type, typeArguments: Type[], next: (type: Type, flags: FormatFlags[]) => FormattedType, )
src/utils/svelte-codegen.ts:531
↓ 1 callersFunctionformatImportAndType
(text: string)
src/utils/svelte-codegen.ts:272
↓ 1 callersFunctionformatIntersection
( type: Type, node: Node, flags: FormatFlags[], next: (type: Type, flags: FormatFlags[]) => FormattedType,
src/utils/svelte-codegen.ts:564
↓ 1 callersFunctionformatObject
( type: Type, node: Node, next: (type: Type, flags: FormatFlags[]) => FormattedType, )
src/utils/svelte-codegen.ts:500
↓ 1 callersFunctionformatProperty
( prop: TsMorphSymbol, node: Node, next: (type: Type, flags: FormatFlags[]) => FormattedType, )
src/utils/svelte-codegen.ts:607
↓ 1 callersFunctionformatSignatures
( sigs: Signature[], variant: "type" | "declaration", next: (type: Type, flags: FormatFlags[]) => Formatted
src/utils/svelte-codegen.ts:489
↓ 1 callersFunctionformatUnion
( type: Type, flags: FormatFlags[], next: (type: Type, flags: FormatFlags[]) => FormattedType, )
src/utils/svelte-codegen.ts:545
↓ 1 callersFunctiongenerateActionsOutput
()
src/generator.ts:1265
↓ 1 callersFunctiongenerateAll
()
src/generator.ts:1509
↓ 1 callersFunctiongenerateApiOutput
( importsOutput: string, interfaces: string, output: string, actionsOutput: string )
src/generator.ts:1484
↓ 1 callersFunctiongenerateApiTypes
()
src/generator.ts:1043
↓ 1 callersFunctiongenerateClientOutput
(client: string)
src/generator.ts:1493
↓ 1 callersFunctiongenerateImports
(importMap: Record<string, string>)
src/generator.ts:1470
↓ 1 callersFunctiongenerateParametersType
( parameters?: EndpointDefinition["parameters"] )
src/generator.ts:1180
↓ 1 callersFunctiongenerateResponsesType
( responses?: Partial<Record<number, FormattedType[]>> )
src/generator.ts:1223
↓ 1 callersFunctiongenerateSvetchDocs
()
src/generator.ts:1450
↓ 1 callersFunctiongenerate_endpoint_responses
(endpoint: EndpointDefinition)
src/utils/tsoa.ts:140
↓ 1 callersFunctiongenerate_route_controller
( api_path: string, method_map: MethodMap, )
src/utils/tsoa.ts:52
↓ 1 callersFunctiongenerate_tsoa_controller
(path: string, method_map: MethodMap)
src/utils/tsoa.ts:30
↓ 1 callersFunctiongenerate_tsoa_shema
( endpoints: Endpoints, staticFolder: string, )
src/utils/tsoa.ts:17
↓ 1 callersFunctiongetAllDeclarations
( declaration: FunctionDeclaration | VariableDeclaration )
src/generator.ts:594
↓ 1 callersFunctiongetDeclarationNode
( node: tsm.Node, inProject: tsm.Project, outProject: tsm.Project, )
src/utils/util.ts:456
↓ 1 callersFunctiongetDefinitionNodes
( id: tsm.Identifier, project: tsm.Project, allowExternal = false, )
src/utils/util.ts:324
↓ 1 callersFunctiongetExternalImports
(node: Node)
src/utils/svelte-codegen.ts:372
↓ 1 callersFunctiongetFormattedTypeFromAlias
( alias: TypeAliasDeclaration, )
src/utils/svelte-codegen.ts:396
↓ 1 callersFunctiongetJSDocComment
(node: Node)
src/utils/svelte-codegen.ts:126
↓ 1 callersFunctionhandleArrayType
(type: Type, next: (type: Type) => FormattedType)
src/utils/svelte-codegen.ts:85
↓ 1 callersFunctionhandlePrimitiveType
(type: Type)
src/utils/svelte-codegen.ts:49
↓ 1 callersFunctionhandlePromiseType
( type: Type, next: (type: Type, flags: FormatFlags[]) => FormattedType, flags: FormatFlags[], )
src/utils/svelte-codegen.ts:112
next →1–100 of 152, ranked by callers