MCPcopy Index your code

hub / github.com/thx/rap2-delos / functions

Functions133 in github.com/thx/rap2-delos

↓ 102 callersMethodget
(focus: any)
src/routes/utils/pagination.ts:165
↓ 34 callersMethodcanUserAccess
( accessType: ACCESS_TYPE, curUserId: number, entityId: number, token?: string, )
src/routes/utils/access.ts:22
↓ 24 callersMethodsend
(to: string | string[], subject: string, html: string)
src/service/mail.ts:27
↓ 14 callersMethoddelCache
(key: CACHE_KEY, entityId?: number)
src/service/redis.ts:50
↓ 14 callersFunctiongenExampleProperty
(extra: any)
src/routes/utils/helper.ts:20
↓ 12 callersMethodparse
(item: any, result: any)
src/routes/utils/tree.ts:51
↓ 8 callersMethodtoString
()
src/routes/utils/pagination.ts:170
↓ 7 callersMethodcalc
()
src/routes/utils/pagination.ts:74
↓ 6 callersFunctionparse
(parameters, parent, parentName, depth, result, definitions, scope, apiInfo)
src/service/migrate.ts:116
↓ 5 callersMethodArrayToTree
(list: Property[])
src/routes/utils/tree.ts:8
↓ 4 callersMethodArrayToTreeToTemplateToData
(list: Property[], extra?: any)
src/routes/utils/tree.ts:159
↓ 4 callersFunctionafter
()
src/scripts/init/delos.ts:95
↓ 4 callersMethodcanUserAccessOrganization
(userId: number, organizationId: number)
src/service/organization.ts:5
↓ 4 callersMethodcanUserAccessRepository
( userId: number, repositoryId: number, token?: string, )
src/service/repository.ts:11
↓ 4 callersMethodmock
(ctx: any, option: { forceVerify: boolean } = { forceVerify: false })
src/service/mock.ts:12
↓ 4 callersMethodmoveTo
(cursor: any)
src/routes/utils/pagination.ts:111
↓ 4 callersMethodstringifyWithFunctonAndRegExp
(json: object)
src/routes/utils/tree.ts:212
↓ 4 callersFunctionvalidOrganization
(organization)
test/test.organization.js:24
↓ 3 callersMethodArrayToTreeToTemplate
(list: Property[])
src/routes/utils/tree.ts:153
↓ 3 callersFunctionBO_REPOSITORY_FN
(source: any)
src/scripts/init/bo.ts:46
↓ 3 callersMethodTreeToTemplate
(tree: any)
src/routes/utils/tree.ts:46
↓ 3 callersMethodaddHistoryLog
(log: Partial<HistoryLog>)
src/service/repository.ts:159
↓ 3 callersFunctiondedent
( templateStrings: TemplateStringsArray | string, ...values: any[] )
src/helpers/dedent.ts:6
↓ 3 callersMethodexport
(repositoryId: number, origin: string)
src/service/export/docx.ts:7
↓ 3 callersMethodgetCacheKey
(key: CACHE_KEY, entityId?: number)
src/service/redis.ts:22
↓ 3 callersFunctioninitRepository
(repository: any)
src/scripts/init/delos.ts:71
↓ 3 callersFunctionnow
()
src/dispatch.ts:4
↓ 3 callersFunctionpLog
(p: Property, title: string)
src/routes/repository.ts:999
↓ 3 callersFunctionparseChildren
(list, parent)
src/service/migrate.ts:27
↓ 3 callersFunctiontransformRapParams
src/service/migrate.ts:232
↓ 3 callersFunctiontreeToArray
(tree: any)
src/service/migrate.ts:52
↓ 3 callersFunctionvalidInterface
(itf, extras = [])
test/test.interface.js:30
↓ 3 callersFunctionvalidModule
(mod)
test/test.module.js:23
↓ 3 callersFunctionvalidProperty
(property)
test/test.property.js:34
↓ 3 callersFunctionvalidRepository
(repository, deep)
test/test.repository.js:24
↓ 3 callersFunctionvalidUser
(user)
test/test.account.js:9
↓ 2 callersMethodTemplateToData
(template: any)
src/routes/utils/tree.ts:135
↓ 2 callersFunctionappendData
(repositoryId, itf, data)
public/test/test.request.js:2
↓ 2 callersFunctionarrayToTree
src/service/migrate.ts:26
↓ 2 callersFunctionarrayToTree
(list: any[])
src/service/export/markdown.ts:6
↓ 2 callersMethodgetCache
(key: CACHE_KEY, entityId?: number)
src/service/redis.ts:26
↓ 2 callersFunctioninitModule
(mod: Module)
src/routes/utils/helper.ts:43
↓ 2 callersMethodjsonToArray
( json: any, { userId, repositoryId, moduleId, interfaceId, scope, }
src/routes/utils/tree.ts:226
↓ 2 callersMethodmoveInterface
( op: MoveOp, itfId: number, destRepoId: number, destModuleId: number, nameSuffix = '副本'
src/service/repository.ts:99
↓ 2 callersFunctionnow
()
src/scripts/worker.ts:6
↓ 2 callersMethodsetCache
(key: CACHE_KEY, val: string, entityId?: number, expireTime?: number)
src/service/redis.ts:38
↓ 1 callersMethodArrayToTreeToTemplateToJSONSchema
(list: Property[])
src/routes/utils/tree.ts:202
↓ 1 callersFunctionBO_INTERFACE_FN
(source: any)
src/scripts/init/bo.ts:72
↓ 1 callersFunctionBO_MODULE_FN
(source: any)
src/scripts/init/bo.ts:59
↓ 1 callersFunctionBO_ORGANIZATION_FN
(source: any)
src/scripts/init/bo.ts:30
↓ 1 callersFunctionBO_PROPERTY_FN
(source: any)
src/scripts/init/bo.ts:89
↓ 1 callersFunctionBO_USER_FN
()
src/scripts/init/bo.ts:21
↓ 1 callersFunctionarrayToTreeProperties
(list: any)
src/service/migrate.ts:71
↓ 1 callersMethodcanUserMoveInterface
( userId: number, itfId: number, destRepoId: number, destModuleId: number, )
src/service/repository.ts:30
↓ 1 callersMethodcanUserMoveModule
(userId: number, modId: number, destRepoId: number)
src/service/repository.ts:43
↓ 1 callersMethodcheckAndFix
()
src/service/migrate.ts:456
↓ 1 callersMethodconvertBracePatternRestfulUrl
(url: string)
src/routes/utils/url.ts:28
↓ 1 callersMethodescapeSQL
(str: string)
src/service/utils.ts:2
↓ 1 callersFunctionfind
(settings)
public/libs/fetch.rap.js:12
↓ 1 callersFunctionfind
(settings)
public/libs/jquery.rap.js:30
↓ 1 callersFunctiongenExampleInterface
(extra: any)
src/routes/utils/helper.ts:10
↓ 1 callersFunctiongenExampleModule
(extra: any)
src/routes/utils/helper.ts:4
↓ 1 callersFunctiongeneratePlugin
(protocol: any, host: any, repository: Repository)
src/routes/mock.ts:26
↓ 1 callersMethodgetAllOrganizationIdList
(curUserId: number, pager: Pagination, query?: string)
src/service/organization.ts:26
↓ 1 callersMethodgetAllOrganizationIdListNum
(curUserId: number)
src/service/organization.ts:52
↓ 1 callersFunctiongetBody
(pList: Property[])
src/service/export/postman.ts:80
↓ 1 callersFunctiongetEvent
(pList: Property[])
src/service/export/postman.ts:98
↓ 1 callersFunctiongetHeader
(pList: Property[])
src/service/export/postman.ts:93
↓ 1 callersMethodgetHistoryLog
(entityId: number, entityType: ENTITY_TYPE.INTERFACE | ENTITY_TYPE.REPOSITORY, pager: IPager)
src/service/repository.ts:163
↓ 1 callersMethodgetHistoryLogJSONData
(id: number)
src/service/repository.ts:193
↓ 1 callersFunctiongetMethodFromRAP1RequestType
(type: number)
src/service/migrate.ts:1287
↓ 1 callersFunctiongetQuery
(pList: Property[])
src/service/export/postman.ts:88
↓ 1 callersFunctiongetValue
(parent: any)
src/service/export/markdown.ts:7
↓ 1 callersMethodimportRepoFromJSON
可以直接让用户把自己本地的 data 数据导入到 RAP 中
src/service/migrate.ts:1179
↓ 1 callersMethodimportRepoFromRAP1DocUrl
RAP1 property
src/service/migrate.ts:478
↓ 1 callersMethodimportRepoFromRAP1ProjectData
( orgId: number, curUserId: number, projectData: any, )
src/service/migrate.ts:369
↓ 1 callersMethodimportRepoFromSwaggerDocUrl
Swagger property
src/service/migrate.ts:1062
↓ 1 callersMethodimportRepoFromSwaggerProjectData
( repositoryId: number, curUserId: number, swagger: SwaggerData, )
src/service/migrate.ts:631
↓ 1 callersFunctioninit
()
src/scripts/init/delos.ts:9
↓ 1 callersFunctioninitInterface
(itf: Interface)
src/routes/utils/helper.ts:52
↓ 1 callersFunctioninitRepository
(repository: Repository)
src/routes/utils/helper.ts:35
↓ 1 callersMethodisAdmin
(curUserId: number)
src/routes/utils/access.ts:76
↓ 1 callersFunctionmain
()
src/scripts/init/index.ts:5
↓ 1 callersMethodmoveModule
(op: MoveOp, modId: number, destRepoId: number, nameSuffix = '副本')
src/service/repository.ts:50
↓ 1 callersFunctionnow
()
src/models/sequelize.ts:6
↓ 1 callersFunctionpandoc
(from: string, to: string, ...args: string[])
src/helpers/pandoc.ts:3
↓ 1 callersFunctionparseDuplicatedInterfaces
(repository: Repository)
src/routes/mock.ts:12
↓ 1 callersFunctionpropertiesUpdateService
(properties, itfId)
src/service/migrate.ts:300
↓ 1 callersMethodsendMail
(mailOptions: any)
src/service/mail.ts:6
↓ 1 callersFunctionsendMailTemplate
src/service/migrate.ts:355
↓ 1 callersFunctionstart
()
src/scripts/worker.ts:3
↓ 1 callersFunctionstart
()
src/scripts/dev.ts:4
↓ 1 callersFunctionstartTask
()
src/service/task.ts:6
↓ 1 callersMethodswaggerToModelRequest
请求参对象->数组->标准树形对象 @param swagger @param parameters
src/service/migrate.ts:508
↓ 1 callersMethodswaggerToModelRespnse
* 返回参数对象->数组->标准树形对象 * 如果swagger responses参数没有的情况下异常处理 * 如果swagger responses对象200不存在情况下异常处理 * @param swagger * @param response
src/service/migrate.ts:578
↓ 1 callersFunctionvalidPagination
(pagination)
test/test.account.js:15
↓ 1 callersFunctionvalidPagination
(pagination)
test/test.organization.js:36
↓ 1 callersFunctionvalidPagination
(pagination)
test/test.repository.js:37
↓ 1 callersFunctionvalidUserForSearch
(user)
test/test.account.js:12
Method_parseChildren
(parentId: any, children: any, depth: any)
src/routes/utils/tree.ts:20
next →1–100 of 133, ranked by callers