vona-cli-set-api 1.0.491 → 1.0.494

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (14) hide show
  1. package/cli/templates/create/project/basic/boilerplate/package.original.json +1 -1
  2. package/cli/templates/create/project/basic/boilerplate/src/backend/config/locale/en-us.ts +5 -3
  3. package/cli/templates/create/project/basic/boilerplate/src/backend/config/locale/zh-cn.ts +5 -3
  4. package/cli/templates/create/project/basic/boilerplate/src/backend/config/locales.ts +16 -6
  5. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-base/package.json +1 -1
  6. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-base/src/main.ts +1 -1
  7. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-index/.rollup.cache/Volumes/my-data/cabloy/vona/src/suite/a-home/modules/home-index/src/.metadata/index.js.map +1 -1
  8. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-index/.rollup.cache/Volumes/my-data/cabloy/vona/src/suite/a-home/modules/home-index/src/.metadata/locales.js.map +1 -1
  9. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-index/.rollup.cache/Volumes/my-data/cabloy/vona/src/suite/a-home/modules/home-index/tsconfig.tsbuildinfo +1 -1
  10. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-user/.rollup.cache/Volumes/my-data/cabloy/vona/src/suite/a-home/modules/home-user/src/.metadata/index.js.map +1 -1
  11. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-user/.rollup.cache/Volumes/my-data/cabloy/vona/src/suite/a-home/modules/home-user/src/.metadata/locales.js.map +1 -1
  12. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/modules/home-user/.rollup.cache/Volumes/my-data/cabloy/vona/src/suite/a-home/modules/home-user/tsconfig.tsbuildinfo +1 -1
  13. package/cli/templates/create/project/basic/boilerplate/src/suite/a-home/package.json +1 -1
  14. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAIA,oBAAoB;AACpB,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAIlC,OAAO,mBAAmB,CAAC;AAqD3B,kBAAkB;AAClB,mBAAmB;AACnB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AAIjC,OAAO,mBAAmB,CAAC;AAwD3B,iBAAiB;AACjB,mBAAmB;AAEnB,OAAO,MAAM,CAAC;AAWd,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA4FhG,iBAAiB;AACjB,qBAAqB;AACrB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAE1C,OAAO,oBAAoB,CAAC;AAwD5B,mBAAmB;AACnB,qBAAqB;AAErB,OAAO,MAAM,CAAC;AAQd,mBAAmB;AACnB,2BAA2B;AAC3B,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mCAAmC,CAAC;AAElD,OAAO,EAAuC,MAAM,qBAAqB,CAAC;AA0D1E,yBAAyB;AACzB,kBAAkB;AAClB,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AAExC,OAAO,oBAAoB,CAAC;AAkC5B,gBAAgB;AAChB,iBAAiB;AACjB,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AAKnC,OAAO,mBAAmB,CAAC;AAuC3B,eAAe;AACf,wBAAwB;AACxB,cAAc,2BAA2B,CAAC;AAE1C,OAAO,mBAAmB,CAAC;AAiD3B,sBAAsB;AACtB,uBAAuB;AACvB,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AAIpD,OAAO,mBAAmB,CAAC;AA8C3B,qBAAqB;AACrB,oBAAoB;AACpB,cAAc,qBAAqB,CAAC;AAEpC,kBAAkB;AAClB,oBAAoB;AACpB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,kBAAkB;AAClB,mBAAmB;AACnB,OAAO,EAAE,aAAa,EAA0F,MAAM,MAAM,CAAC;AAC7H,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAGpC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,aAAa;CAAG,CAAA;AAA5C,mBAAmB;IAD/B,KAAK,EAAE;GACK,mBAAmB,CAAyB;;AAWzD,OAAO,MAAM,CAAC;AAoBd,iBAAiB","sourcesContent":["/* eslint-disable */\nimport type { TypeEntityMeta,TypeModelsClassLikeGeneral,TypeSymbolKeyFieldsMore,IModelRelationBelongsToMany } from 'vona-module-a-orm';\nimport type { TypeEntityOptionsFields,TypeControllerOptionsActions } from 'vona-module-a-openapi';\nimport type { TableIdentity } from 'table-identity';\n/** entity: begin */\nexport * from '../entity/role.ts';\nexport * from '../entity/roleUser.ts';\nexport * from '../entity/user.ts';\nimport type { IEntityOptionsRole } from '../entity/role.ts';\nimport type { IEntityOptionsRoleUser } from '../entity/roleUser.ts';\nimport type { IEntityOptionsUser } from '../entity/user.ts';\nimport 'vona-module-a-orm';\ndeclare module 'vona-module-a-orm' {\n \n export interface IEntityRecord {\n 'home-user:role': IEntityOptionsRole;\n'home-user:roleUser': IEntityOptionsRoleUser;\n'home-user:user': IEntityOptionsUser;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n}\n/** entity: end */\n/** entity: begin */\nimport type { EntityRole } from '../entity/role.ts';\nimport type { EntityRoleUser } from '../entity/roleUser.ts';\nimport type { EntityUser } from '../entity/user.ts';\nexport interface IModuleEntity {\n 'role': EntityRoleMeta;\n'roleUser': EntityRoleUserMeta;\n'user': EntityUserMeta;\n}\n/** entity: end */\n/** entity: begin */\nexport type EntityRoleTableName = 'homeRole';\nexport type EntityRoleUserTableName = 'homeRoleUser';\nexport type EntityUserTableName = 'homeUser';\nexport type EntityRoleMeta=TypeEntityMeta<EntityRole,EntityRoleTableName>;\nexport type EntityRoleUserMeta=TypeEntityMeta<EntityRoleUser,EntityRoleUserTableName>;\nexport type EntityUserMeta=TypeEntityMeta<EntityUser,EntityUserTableName>;\ndeclare module 'vona-module-a-orm' {\n export interface ITableRecord {\n 'homeRole': EntityRoleMeta;\n'homeRoleUser': EntityRoleUserMeta;\n'homeUser': EntityUserMeta;\n }\n}\ndeclare module 'vona-module-home-user' {\n \n export interface IEntityOptionsRole {\n fields?: TypeEntityOptionsFields<EntityRole, IEntityOptionsRole[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IEntityOptionsRoleUser {\n fields?: TypeEntityOptionsFields<EntityRoleUser, IEntityOptionsRoleUser[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IEntityOptionsUser {\n fields?: TypeEntityOptionsFields<EntityUser, IEntityOptionsUser[TypeSymbolKeyFieldsMore]>;\n }\n}\n/** entity: end */\n/** model: begin */\nexport * from '../model/role.ts';\nexport * from '../model/roleUser.ts';\nexport * from '../model/user.ts';\nimport type { IModelOptionsRole } from '../model/role.ts';\nimport type { IModelOptionsRoleUser } from '../model/roleUser.ts';\nimport type { IModelOptionsUser } from '../model/user.ts';\nimport 'vona-module-a-orm';\ndeclare module 'vona-module-a-orm' {\n \n export interface IModelRecord {\n 'home-user:role': IModelOptionsRole;\n'home-user:roleUser': IModelOptionsRoleUser;\n'home-user:user': IModelOptionsUser;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ModelRole {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ModelRole {\n get $beanFullName(): 'home-user.model.role';\n get $onionName(): 'home-user:role';\n get $onionOptions(): IModelOptionsRole;\n }\n\n export interface ModelRoleUser {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ModelRoleUser {\n get $beanFullName(): 'home-user.model.roleUser';\n get $onionName(): 'home-user:roleUser';\n get $onionOptions(): IModelOptionsRoleUser;\n }\n\n export interface ModelUser {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ModelUser {\n get $beanFullName(): 'home-user.model.user';\n get $onionName(): 'home-user:user';\n get $onionOptions(): IModelOptionsUser;\n } \n}\n/** model: end */\n/** model: begin */\nimport type { ModelRole } from '../model/role.ts';\nimport type { ModelRoleUser } from '../model/roleUser.ts';\nimport type { ModelUser } from '../model/user.ts';\nexport interface IModuleModel {\n 'role': ModelRole;\n'roleUser': ModelRoleUser;\n'user': ModelUser;\n}\n/** model: end */\n/** model: begin */\n\nimport 'vona';\ndeclare module 'vona' {\n export interface IBeanRecordGeneral {\n 'home-user.model.role': ModelRole;\n'home-user.model.roleUser': ModelRoleUser;\n'home-user.model.user': ModelUser;\n }\n}\n/** model: end */\n/** model: begin */\nimport type { IModelGetOptions, IModelMethodOptions, IModelSelectParams, TypeModelSelectAndCount, TypeModelRelationResult, TypeModelWhere, IModelInsertOptions, TypeModelMutateRelationData, IModelDeleteOptions, IModelUpdateOptions, IModelMutateOptions, IModelSelectCountParams, IModelSelectAggrParams, TypeModelAggrRelationResult, IModelSelectGroupParams, TypeModelGroupRelationResult } from 'vona-module-a-orm';\nimport { SymbolKeyEntity, SymbolKeyEntityMeta, SymbolKeyModelOptions } from 'vona-module-a-orm';\ndeclare module 'vona-module-home-user' {\n export interface IModelOptionsUser {\n relations: {\n roles: IModelRelationBelongsToMany<ModelRoleUser, ModelRole, false, undefined,undefined,undefined,undefined>;\n };\n }\n export interface ModelRole {\n [SymbolKeyEntity]: EntityRole;\n [SymbolKeyEntityMeta]: EntityRoleMeta;\n [SymbolKeyModelOptions]: IModelOptionsRole;\n get<T extends IModelGetOptions<EntityRole,ModelRole>>(where: TypeModelWhere<EntityRole>, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\n mget<T extends IModelGetOptions<EntityRole,ModelRole>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\n selectAndCount<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelSelectAndCount<EntityRole, ModelRole, T>>;\n select<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\n insert<T extends IModelInsertOptions<EntityRole,ModelRole>>(data?: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T, true>>;\n insertBulk<T extends IModelInsertOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T, true>[]>;\n update<T extends IModelUpdateOptions<EntityRole,ModelRole>>(data: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;\n updateBulk<T extends IModelUpdateOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>[]>;\n delete<T extends IModelDeleteOptions<EntityRole,ModelRole>>(where?: TypeModelWhere<EntityRole>, options?: T): Promise<void>;\n deleteBulk<T extends IModelDeleteOptions<EntityRole,ModelRole>>(ids: TableIdentity[], options?: T): Promise<void>;\n mutate<T extends IModelMutateOptions<EntityRole,ModelRole>>(data?: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;\n mutateBulk<T extends IModelMutateOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>[]>;\n count<T extends IModelSelectCountParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<string | undefined>;\n aggregate<T extends IModelSelectAggrParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;\n group<T extends IModelSelectGroupParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityRole, T>[]>;\n getById<T extends IModelGetOptions<EntityRole,ModelRole>>(id: TableIdentity, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\nupdateById<T extends IModelUpdateOptions<EntityRole,ModelRole>>(id: TableIdentity, data: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;\ndeleteById<T extends IModelDeleteOptions<EntityRole,ModelRole>>(id: TableIdentity, options?: T): Promise<void>;\ngetByName<T extends IModelGetOptions<EntityRole,ModelRole>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\ngetByNameEqI<T extends IModelGetOptions<EntityRole,ModelRole>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\nselectByName<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\nselectByNameEqI<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\n }\nexport interface ModelRoleUser {\n [SymbolKeyEntity]: EntityRoleUser;\n [SymbolKeyEntityMeta]: EntityRoleUserMeta;\n [SymbolKeyModelOptions]: IModelOptionsRoleUser;\n get<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(where: TypeModelWhere<EntityRoleUser>, options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T> | undefined>;\n mget<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T>[]>;\n selectAndCount<T extends IModelSelectParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelSelectAndCount<EntityRoleUser, ModelRoleUser, T>>;\n select<T extends IModelSelectParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T>[]>;\n insert<T extends IModelInsertOptions<EntityRoleUser,ModelRoleUser>>(data?: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T, true>>;\n insertBulk<T extends IModelInsertOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T, true>[]>;\n update<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(data: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;\n updateBulk<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[]>;\n delete<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(where?: TypeModelWhere<EntityRoleUser>, options?: T): Promise<void>;\n deleteBulk<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(ids: TableIdentity[], options?: T): Promise<void>;\n mutate<T extends IModelMutateOptions<EntityRoleUser,ModelRoleUser>>(data?: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;\n mutateBulk<T extends IModelMutateOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[]>;\n count<T extends IModelSelectCountParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<string | undefined>;\n aggregate<T extends IModelSelectAggrParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;\n group<T extends IModelSelectGroupParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityRoleUser, T>[]>;\n getById<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(id: TableIdentity, options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T> | undefined>;\nupdateById<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(id: TableIdentity, data: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;\ndeleteById<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(id: TableIdentity, options?: T): Promise<void>;\n }\nexport interface ModelUser {\n [SymbolKeyEntity]: EntityUser;\n [SymbolKeyEntityMeta]: EntityUserMeta;\n [SymbolKeyModelOptions]: IModelOptionsUser;\n get<T extends IModelGetOptions<EntityUser,ModelUser>>(where: TypeModelWhere<EntityUser>, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\n mget<T extends IModelGetOptions<EntityUser,ModelUser>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\n selectAndCount<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelSelectAndCount<EntityUser, ModelUser, T>>;\n select<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\n insert<T extends IModelInsertOptions<EntityUser,ModelUser>>(data?: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T, true>>;\n insertBulk<T extends IModelInsertOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T, true>[]>;\n update<T extends IModelUpdateOptions<EntityUser,ModelUser>>(data: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;\n updateBulk<T extends IModelUpdateOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>[]>;\n delete<T extends IModelDeleteOptions<EntityUser,ModelUser>>(where?: TypeModelWhere<EntityUser>, options?: T): Promise<void>;\n deleteBulk<T extends IModelDeleteOptions<EntityUser,ModelUser>>(ids: TableIdentity[], options?: T): Promise<void>;\n mutate<T extends IModelMutateOptions<EntityUser,ModelUser>>(data?: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;\n mutateBulk<T extends IModelMutateOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>[]>;\n count<T extends IModelSelectCountParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<string | undefined>;\n aggregate<T extends IModelSelectAggrParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;\n group<T extends IModelSelectGroupParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityUser, T>[]>;\n getById<T extends IModelGetOptions<EntityUser,ModelUser>>(id: TableIdentity, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\nupdateById<T extends IModelUpdateOptions<EntityUser,ModelUser>>(id: TableIdentity, data: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;\ndeleteById<T extends IModelDeleteOptions<EntityUser,ModelUser>>(id: TableIdentity, options?: T): Promise<void>;\ngetByName<T extends IModelGetOptions<EntityUser,ModelUser>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\ngetByNameEqI<T extends IModelGetOptions<EntityUser,ModelUser>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\nselectByName<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\nselectByNameEqI<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\n }\n}\ndeclare module 'vona-module-a-orm' {\n export interface IModelClassRecord {\n 'home-user:role': ModelRole;\n'home-user:roleUser': ModelRoleUser;\n'home-user:user': ModelUser;\n }\n}\n/** model: end */\n/** service: begin */\nexport * from '../service/passportAdapter.ts';\nexport * from '../service/roleAdapter.ts';\nexport * from '../service/userAdapter.ts';\n\nimport 'vona-module-a-bean';\ndeclare module 'vona-module-a-bean' {\n \n export interface IServiceRecord {\n 'home-user:passportAdapter': never;\n'home-user:roleAdapter': never;\n'home-user:userAdapter': never;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ServicePassportAdapter {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ServicePassportAdapter {\n get $beanFullName(): 'home-user.service.passportAdapter';\n get $onionName(): 'home-user:passportAdapter';\n \n }\n\n export interface ServiceRoleAdapter {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ServiceRoleAdapter {\n get $beanFullName(): 'home-user.service.roleAdapter';\n get $onionName(): 'home-user:roleAdapter';\n \n }\n\n export interface ServiceUserAdapter {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ServiceUserAdapter {\n get $beanFullName(): 'home-user.service.userAdapter';\n get $onionName(): 'home-user:userAdapter';\n \n } \n}\n/** service: end */\n/** service: begin */\nimport type { ServicePassportAdapter } from '../service/passportAdapter.ts';\nimport type { ServiceRoleAdapter } from '../service/roleAdapter.ts';\nimport type { ServiceUserAdapter } from '../service/userAdapter.ts';\nexport interface IModuleService {\n 'passportAdapter': ServicePassportAdapter;\n'roleAdapter': ServiceRoleAdapter;\n'userAdapter': ServiceUserAdapter;\n}\n/** service: end */\n/** service: begin */\n\nimport 'vona';\ndeclare module 'vona' {\n export interface IBeanRecordGeneral {\n 'home-user.service.passportAdapter': ServicePassportAdapter;\n'home-user.service.roleAdapter': ServiceRoleAdapter;\n'home-user.service.userAdapter': ServiceUserAdapter;\n }\n}\n/** service: end */\n/** eventListener: begin */\nexport * from '../bean/eventListener.activate.ts';\nexport * from '../bean/eventListener.emailConfirmCallback.ts';\nexport * from '../bean/eventListener.passwordResetCallback.ts';\nexport * from '../bean/eventListener.register.ts';\n\nimport { type IDecoratorEventListenerOptions } from 'vona-module-a-event';\ndeclare module 'vona-module-a-event' {\n \n export interface IEventListenerRecord {\n 'home-user:activate': IDecoratorEventListenerOptions;\n'home-user:emailConfirmCallback': IDecoratorEventListenerOptions;\n'home-user:passwordResetCallback': IDecoratorEventListenerOptions;\n'home-user:register': IDecoratorEventListenerOptions;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface EventListenerActivate {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerActivate {\n get $beanFullName(): 'home-user.eventListener.activate';\n get $onionName(): 'home-user:activate';\n get $onionOptions(): IDecoratorEventListenerOptions;\n }\n\n export interface EventListenerEmailConfirmCallback {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerEmailConfirmCallback {\n get $beanFullName(): 'home-user.eventListener.emailConfirmCallback';\n get $onionName(): 'home-user:emailConfirmCallback';\n get $onionOptions(): IDecoratorEventListenerOptions;\n }\n\n export interface EventListenerPasswordResetCallback {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerPasswordResetCallback {\n get $beanFullName(): 'home-user.eventListener.passwordResetCallback';\n get $onionName(): 'home-user:passwordResetCallback';\n get $onionOptions(): IDecoratorEventListenerOptions;\n }\n\n export interface EventListenerRegister {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerRegister {\n get $beanFullName(): 'home-user.eventListener.register';\n get $onionName(): 'home-user:register';\n get $onionOptions(): IDecoratorEventListenerOptions;\n } \n}\n/** eventListener: end */\n/** meta: begin */\nexport * from '../bean/meta.index.ts';\nexport * from '../bean/meta.version.ts';\nimport type { IMetaOptionsIndex } from 'vona-module-a-index';\nimport 'vona-module-a-meta';\ndeclare module 'vona-module-a-meta' {\n \n export interface IMetaRecord {\n 'home-user:index': IMetaOptionsIndex;\n'home-user:version': never;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface MetaIndex {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface MetaIndex {\n get $beanFullName(): 'home-user.meta.index';\n get $onionName(): 'home-user:index';\n get $onionOptions(): IMetaOptionsIndex;\n }\n\n export interface MetaVersion {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface MetaVersion {\n get $beanFullName(): 'home-user.meta.version';\n get $onionName(): 'home-user:version';\n \n } \n}\n/** meta: end */\n/** dto: begin */\nexport * from '../dto/login.ts';\nexport * from '../dto/passport.ts';\nexport * from '../dto/passportJwt.ts';\nexport * from '../dto/register.ts';\nimport type { IDtoOptionsLogin } from '../dto/login.ts';\nimport type { IDtoOptionsPassport } from '../dto/passport.ts';\nimport type { IDtoOptionsPassportJwt } from '../dto/passportJwt.ts';\nimport type { IDtoOptionsRegister } from '../dto/register.ts';\nimport 'vona-module-a-web';\ndeclare module 'vona-module-a-web' {\n \n export interface IDtoRecord {\n 'home-user:login': IDtoOptionsLogin;\n'home-user:passport': IDtoOptionsPassport;\n'home-user:passportJwt': IDtoOptionsPassportJwt;\n'home-user:register': IDtoOptionsRegister;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n}\n/** dto: end */\n/** dto: begin */\nimport type { DtoLogin } from '../dto/login.ts';\nimport type { DtoPassport } from '../dto/passport.ts';\nimport type { DtoPassportJwt } from '../dto/passportJwt.ts';\nimport type { DtoRegister } from '../dto/register.ts'; \ndeclare module 'vona-module-home-user' {\n \n export interface IDtoOptionsLogin {\n fields?: TypeEntityOptionsFields<DtoLogin, IDtoOptionsLogin[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IDtoOptionsPassport {\n fields?: TypeEntityOptionsFields<DtoPassport, IDtoOptionsPassport[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IDtoOptionsPassportJwt {\n fields?: TypeEntityOptionsFields<DtoPassportJwt, IDtoOptionsPassportJwt[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IDtoOptionsRegister {\n fields?: TypeEntityOptionsFields<DtoRegister, IDtoOptionsRegister[TypeSymbolKeyFieldsMore]>;\n }\n}\n/** dto: end */\n/** controller: begin */\nexport * from '../controller/passport.ts';\nimport type { IControllerOptionsPassport } from '../controller/passport.ts';\nimport 'vona-module-a-web';\ndeclare module 'vona-module-a-web' {\n \n export interface IControllerRecord {\n 'home-user:passport': IControllerOptionsPassport;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ControllerPassport {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ControllerPassport {\n get $beanFullName(): 'home-user.controller.passport';\n get $onionName(): 'home-user:passport';\n get $onionOptions(): IControllerOptionsPassport;\n } \n}\n/** controller: end */\n/** controller: begin */\n// @ts-ignore ignore\nimport type { ControllerPassport } from '../controller/passport.ts';\ndeclare module 'vona-module-home-user' {\n \n export interface IControllerOptionsPassport {\n actions?: TypeControllerOptionsActions<ControllerPassport>;\n }\n}\ndeclare module 'vona-module-a-web' {\n export interface IApiPathGetRecord{\n '/home/user/passport/current': undefined;\n'/home/user/passport/login/:module/:providerName/:clientName?': undefined;\n'/home/user/passport/associate/:module/:providerName/:clientName?': undefined;\n'/home/user/passport/migrate/:module/:providerName/:clientName?': undefined;\n }\nexport interface IApiPathPostRecord{\n '/home/user/passport/logout': undefined;\n'/home/user/passport/register': undefined;\n'/home/user/passport/login': undefined;\n'/home/user/passport/refreshAuthToken': undefined;\n'/home/user/passport/createPassportJwtFromOauthCode': undefined;\n'/home/user/passport/createTempAuthToken': undefined;\n }\n\n}\n/** controller: end */\n/** zodRefine: begin */\nexport * from '../bean/zodRefine.emailUnique.ts';\nexport * from '../bean/zodRefine.passwordConfirm.ts';\nexport * from '../bean/zodRefine.usernameUnique.ts';\nimport type { IZodRefineOptionsEmailUnique } from '../bean/zodRefine.emailUnique.ts';\nimport type { IZodRefineOptionsPasswordConfirm } from '../bean/zodRefine.passwordConfirm.ts';\nimport type { IZodRefineOptionsUsernameUnique } from '../bean/zodRefine.usernameUnique.ts';\nimport 'vona-module-a-zod';\ndeclare module 'vona-module-a-zod' {\n \n export interface IZodRefineRecord {\n 'home-user:emailUnique': IZodRefineOptionsEmailUnique;\n'home-user:passwordConfirm': IZodRefineOptionsPasswordConfirm;\n'home-user:usernameUnique': IZodRefineOptionsUsernameUnique;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ZodRefineEmailUnique {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ZodRefineEmailUnique {\n get $beanFullName(): 'home-user.zodRefine.emailUnique';\n get $onionName(): 'home-user:emailUnique';\n get $onionOptions(): IZodRefineOptionsEmailUnique;\n }\n\n export interface ZodRefinePasswordConfirm {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ZodRefinePasswordConfirm {\n get $beanFullName(): 'home-user.zodRefine.passwordConfirm';\n get $onionName(): 'home-user:passwordConfirm';\n get $onionOptions(): IZodRefineOptionsPasswordConfirm;\n }\n\n export interface ZodRefineUsernameUnique {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ZodRefineUsernameUnique {\n get $beanFullName(): 'home-user.zodRefine.usernameUnique';\n get $onionName(): 'home-user:usernameUnique';\n get $onionOptions(): IZodRefineOptionsUsernameUnique;\n } \n}\n/** zodRefine: end */\n/** config: begin */\nexport * from '../config/config.ts';\nimport type { config } from '../config/config.ts';\n/** config: end */\n/** locale: begin */\nimport { locales } from './locales.ts'\n/** locale: end */\n/** scope: begin */\nimport { BeanScopeBase, type BeanScopeUtil, type TypeModuleConfig, type TypeModuleLocales, type TypeLocaleBase } from 'vona';\nimport { Scope } from 'vona-module-a-bean';\n\n@Scope()\nexport class ScopeModuleHomeUser extends BeanScopeBase {}\n\nexport interface ScopeModuleHomeUser {\n util: BeanScopeUtil;\nconfig: TypeModuleConfig<typeof config>;\nlocale: TypeModuleLocales<(typeof locales)[TypeLocaleBase]>;\nentity: IModuleEntity;\nmodel: IModuleModel;\nservice: IModuleService;\n}\n\nimport 'vona';\ndeclare module 'vona' {\n export interface IBeanScopeRecord {\n 'home-user': ScopeModuleHomeUser;\n }\n\n export interface IBeanScopeContainer {\n homeUser: ScopeModuleHomeUser;\n }\n \n export interface IBeanScopeConfig {\n 'home-user': ReturnType<typeof config>;\n }\n\n export interface IBeanScopeLocale {\n 'home-user': (typeof locales)[TypeLocaleBase];\n }\n\n \n}\n/** scope: end */\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAIA,oBAAoB;AACpB,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAIlC,OAAO,mBAAmB,CAAC;AAqD3B,kBAAkB;AAClB,mBAAmB;AACnB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AAIjC,OAAO,mBAAmB,CAAC;AAwD3B,iBAAiB;AACjB,mBAAmB;AAEnB,OAAO,MAAM,CAAC;AAWd,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA4FhG,iBAAiB;AACjB,qBAAqB;AACrB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAE1C,OAAO,oBAAoB,CAAC;AAwD5B,mBAAmB;AACnB,qBAAqB;AAErB,OAAO,MAAM,CAAC;AAQd,mBAAmB;AACnB,2BAA2B;AAC3B,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mCAAmC,CAAC;AAElD,OAAO,EAAuC,MAAM,qBAAqB,CAAC;AA0D1E,yBAAyB;AACzB,kBAAkB;AAClB,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AAExC,OAAO,oBAAoB,CAAC;AAkC5B,gBAAgB;AAChB,iBAAiB;AACjB,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AAKnC,OAAO,mBAAmB,CAAC;AAuC3B,eAAe;AACf,wBAAwB;AACxB,cAAc,2BAA2B,CAAC;AAE1C,OAAO,mBAAmB,CAAC;AAiD3B,sBAAsB;AACtB,uBAAuB;AACvB,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AAIpD,OAAO,mBAAmB,CAAC;AA8C3B,qBAAqB;AACrB,oBAAoB;AACpB,cAAc,qBAAqB,CAAC;AAEpC,kBAAkB;AAClB,oBAAoB;AACpB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,kBAAkB;AAClB,mBAAmB;AACnB,OAAO,EAAE,aAAa,EAA0F,MAAM,MAAM,CAAC;AAC7H,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAGpC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,aAAa;CAAG,CAAA;AAA5C,mBAAmB;IAD/B,KAAK,EAAE;GACK,mBAAmB,CAAyB;;AAWzD,OAAO,MAAM,CAAC;AAoBd,iBAAiB","sourcesContent":["/* eslint-disable */\nimport type { TypeEntityMeta,TypeModelsClassLikeGeneral,TypeSymbolKeyFieldsMore,IModelRelationBelongsToMany } from 'vona-module-a-orm';\nimport type { TypeEntityOptionsFields,TypeControllerOptionsActions } from 'vona-module-a-openapi';\nimport type { TableIdentity } from 'table-identity';\n/** entity: begin */\nexport * from '../entity/role.ts';\nexport * from '../entity/roleUser.ts';\nexport * from '../entity/user.ts';\nimport type { IEntityOptionsRole } from '../entity/role.ts';\nimport type { IEntityOptionsRoleUser } from '../entity/roleUser.ts';\nimport type { IEntityOptionsUser } from '../entity/user.ts';\nimport 'vona-module-a-orm';\ndeclare module 'vona-module-a-orm' {\n \n export interface IEntityRecord {\n 'home-user:role': IEntityOptionsRole;\n'home-user:roleUser': IEntityOptionsRoleUser;\n'home-user:user': IEntityOptionsUser;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n}\n/** entity: end */\n/** entity: begin */\nimport type { EntityRole } from '../entity/role.ts';\nimport type { EntityRoleUser } from '../entity/roleUser.ts';\nimport type { EntityUser } from '../entity/user.ts';\nexport interface IModuleEntity {\n 'role': EntityRoleMeta;\n'roleUser': EntityRoleUserMeta;\n'user': EntityUserMeta;\n}\n/** entity: end */\n/** entity: begin */\nexport type EntityRoleTableName = 'homeRole';\nexport type EntityRoleUserTableName = 'homeRoleUser';\nexport type EntityUserTableName = 'homeUser';\nexport type EntityRoleMeta=TypeEntityMeta<EntityRole,EntityRoleTableName>;\nexport type EntityRoleUserMeta=TypeEntityMeta<EntityRoleUser,EntityRoleUserTableName>;\nexport type EntityUserMeta=TypeEntityMeta<EntityUser,EntityUserTableName>;\ndeclare module 'vona-module-a-orm' {\n export interface ITableRecord {\n 'homeRole': EntityRoleMeta;\n'homeRoleUser': EntityRoleUserMeta;\n'homeUser': EntityUserMeta;\n }\n}\ndeclare module 'vona-module-home-user' {\n \n export interface IEntityOptionsRole {\n fields?: TypeEntityOptionsFields<EntityRole, IEntityOptionsRole[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IEntityOptionsRoleUser {\n fields?: TypeEntityOptionsFields<EntityRoleUser, IEntityOptionsRoleUser[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IEntityOptionsUser {\n fields?: TypeEntityOptionsFields<EntityUser, IEntityOptionsUser[TypeSymbolKeyFieldsMore]>;\n }\n}\n/** entity: end */\n/** model: begin */\nexport * from '../model/role.ts';\nexport * from '../model/roleUser.ts';\nexport * from '../model/user.ts';\nimport type { IModelOptionsRole } from '../model/role.ts';\nimport type { IModelOptionsRoleUser } from '../model/roleUser.ts';\nimport type { IModelOptionsUser } from '../model/user.ts';\nimport 'vona-module-a-orm';\ndeclare module 'vona-module-a-orm' {\n \n export interface IModelRecord {\n 'home-user:role': IModelOptionsRole;\n'home-user:roleUser': IModelOptionsRoleUser;\n'home-user:user': IModelOptionsUser;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ModelRole {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ModelRole {\n get $beanFullName(): 'home-user.model.role';\n get $onionName(): 'home-user:role';\n get $onionOptions(): IModelOptionsRole;\n }\n\n export interface ModelRoleUser {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ModelRoleUser {\n get $beanFullName(): 'home-user.model.roleUser';\n get $onionName(): 'home-user:roleUser';\n get $onionOptions(): IModelOptionsRoleUser;\n }\n\n export interface ModelUser {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ModelUser {\n get $beanFullName(): 'home-user.model.user';\n get $onionName(): 'home-user:user';\n get $onionOptions(): IModelOptionsUser;\n } \n}\n/** model: end */\n/** model: begin */\nimport type { ModelRole } from '../model/role.ts';\nimport type { ModelRoleUser } from '../model/roleUser.ts';\nimport type { ModelUser } from '../model/user.ts';\nexport interface IModuleModel {\n 'role': ModelRole;\n'roleUser': ModelRoleUser;\n'user': ModelUser;\n}\n/** model: end */\n/** model: begin */\n\nimport 'vona';\ndeclare module 'vona' {\n export interface IBeanRecordGeneral {\n 'home-user.model.role': ModelRole;\n'home-user.model.roleUser': ModelRoleUser;\n'home-user.model.user': ModelUser;\n }\n}\n/** model: end */\n/** model: begin */\nimport type { IModelGetOptions, IModelMethodOptions, IModelSelectParams, TypeModelSelectAndCount, TypeModelRelationResult, TypeModelWhere, IModelInsertOptions, TypeModelMutateRelationData, IModelDeleteOptions, IModelUpdateOptions, IModelMutateOptions, IModelSelectCountParams, IModelSelectAggrParams, TypeModelAggrRelationResult, IModelSelectGroupParams, TypeModelGroupRelationResult } from 'vona-module-a-orm';\nimport { SymbolKeyEntity, SymbolKeyEntityMeta, SymbolKeyModelOptions } from 'vona-module-a-orm';\ndeclare module 'vona-module-home-user' {\n export interface IModelOptionsUser {\n relations: {\n roles: IModelRelationBelongsToMany<ModelRoleUser, ModelRole, false, undefined,undefined,undefined,undefined>;\n };\n }\n export interface ModelRole {\n [SymbolKeyEntity]: EntityRole;\n [SymbolKeyEntityMeta]: EntityRoleMeta;\n [SymbolKeyModelOptions]: IModelOptionsRole;\n get<T extends IModelGetOptions<EntityRole,ModelRole>>(where: TypeModelWhere<EntityRole>, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\n mget<T extends IModelGetOptions<EntityRole,ModelRole>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\n selectAndCount<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelSelectAndCount<EntityRole, ModelRole, T>>;\n select<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\n insert<T extends IModelInsertOptions<EntityRole,ModelRole>>(data?: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T, true>>;\n insertBulk<T extends IModelInsertOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T, true>[]>;\n update<T extends IModelUpdateOptions<EntityRole,ModelRole>>(data: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;\n updateBulk<T extends IModelUpdateOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>[]>;\n delete<T extends IModelDeleteOptions<EntityRole,ModelRole>>(where?: TypeModelWhere<EntityRole>, options?: T): Promise<void>;\n deleteBulk<T extends IModelDeleteOptions<EntityRole,ModelRole>>(ids: TableIdentity[], options?: T): Promise<void>;\n mutate<T extends IModelMutateOptions<EntityRole,ModelRole>>(data?: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;\n mutateBulk<T extends IModelMutateOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>[]>;\n count<T extends IModelSelectCountParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<string | undefined>;\n aggregate<T extends IModelSelectAggrParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;\n group<T extends IModelSelectGroupParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityRole, T>[]>;\n getById<T extends IModelGetOptions<EntityRole,ModelRole>>(id: TableIdentity, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\nupdateById<T extends IModelUpdateOptions<EntityRole,ModelRole>>(id: TableIdentity, data: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;\ndeleteById<T extends IModelDeleteOptions<EntityRole,ModelRole>>(id: TableIdentity, options?: T): Promise<void>;\ngetByName<T extends IModelGetOptions<EntityRole,ModelRole>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\ngetByNameEqI<T extends IModelGetOptions<EntityRole,ModelRole>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;\nselectByName<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\nselectByNameEqI<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;\n }\nexport interface ModelRoleUser {\n [SymbolKeyEntity]: EntityRoleUser;\n [SymbolKeyEntityMeta]: EntityRoleUserMeta;\n [SymbolKeyModelOptions]: IModelOptionsRoleUser;\n get<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(where: TypeModelWhere<EntityRoleUser>, options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T> | undefined>;\n mget<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T>[]>;\n selectAndCount<T extends IModelSelectParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelSelectAndCount<EntityRoleUser, ModelRoleUser, T>>;\n select<T extends IModelSelectParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T>[]>;\n insert<T extends IModelInsertOptions<EntityRoleUser,ModelRoleUser>>(data?: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T, true>>;\n insertBulk<T extends IModelInsertOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T, true>[]>;\n update<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(data: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;\n updateBulk<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[]>;\n delete<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(where?: TypeModelWhere<EntityRoleUser>, options?: T): Promise<void>;\n deleteBulk<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(ids: TableIdentity[], options?: T): Promise<void>;\n mutate<T extends IModelMutateOptions<EntityRoleUser,ModelRoleUser>>(data?: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;\n mutateBulk<T extends IModelMutateOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[]>;\n count<T extends IModelSelectCountParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<string | undefined>;\n aggregate<T extends IModelSelectAggrParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;\n group<T extends IModelSelectGroupParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityRoleUser, T>[]>;\n getById<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(id: TableIdentity, options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T> | undefined>;\nupdateById<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(id: TableIdentity, data: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;\ndeleteById<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(id: TableIdentity, options?: T): Promise<void>;\n }\nexport interface ModelUser {\n [SymbolKeyEntity]: EntityUser;\n [SymbolKeyEntityMeta]: EntityUserMeta;\n [SymbolKeyModelOptions]: IModelOptionsUser;\n get<T extends IModelGetOptions<EntityUser,ModelUser>>(where: TypeModelWhere<EntityUser>, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\n mget<T extends IModelGetOptions<EntityUser,ModelUser>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\n selectAndCount<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelSelectAndCount<EntityUser, ModelUser, T>>;\n select<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\n insert<T extends IModelInsertOptions<EntityUser,ModelUser>>(data?: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T, true>>;\n insertBulk<T extends IModelInsertOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T, true>[]>;\n update<T extends IModelUpdateOptions<EntityUser,ModelUser>>(data: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;\n updateBulk<T extends IModelUpdateOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>[]>;\n delete<T extends IModelDeleteOptions<EntityUser,ModelUser>>(where?: TypeModelWhere<EntityUser>, options?: T): Promise<void>;\n deleteBulk<T extends IModelDeleteOptions<EntityUser,ModelUser>>(ids: TableIdentity[], options?: T): Promise<void>;\n mutate<T extends IModelMutateOptions<EntityUser,ModelUser>>(data?: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;\n mutateBulk<T extends IModelMutateOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>[]>;\n count<T extends IModelSelectCountParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<string | undefined>;\n aggregate<T extends IModelSelectAggrParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;\n group<T extends IModelSelectGroupParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityUser, T>[]>;\n getById<T extends IModelGetOptions<EntityUser,ModelUser>>(id: TableIdentity, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\nupdateById<T extends IModelUpdateOptions<EntityUser,ModelUser>>(id: TableIdentity, data: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;\ndeleteById<T extends IModelDeleteOptions<EntityUser,ModelUser>>(id: TableIdentity, options?: T): Promise<void>;\ngetByName<T extends IModelGetOptions<EntityUser,ModelUser>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\ngetByNameEqI<T extends IModelGetOptions<EntityUser,ModelUser>>(name?: string, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;\nselectByName<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\nselectByNameEqI<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(name?: string, params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;\n }\n}\ndeclare module 'vona-module-a-orm' {\n export interface IModelClassRecord {\n 'home-user:role': ModelRole;\n'home-user:roleUser': ModelRoleUser;\n'home-user:user': ModelUser;\n }\n}\n/** model: end */\n/** service: begin */\nexport * from '../service/passportAdapter.ts';\nexport * from '../service/roleAdapter.ts';\nexport * from '../service/userAdapter.ts';\n\nimport 'vona-module-a-bean';\ndeclare module 'vona-module-a-bean' {\n \n export interface IServiceRecord {\n 'home-user:passportAdapter': never;\n'home-user:roleAdapter': never;\n'home-user:userAdapter': never;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ServicePassportAdapter {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ServicePassportAdapter {\n get $beanFullName(): 'home-user.service.passportAdapter';\n get $onionName(): 'home-user:passportAdapter';\n \n }\n\n export interface ServiceRoleAdapter {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ServiceRoleAdapter {\n get $beanFullName(): 'home-user.service.roleAdapter';\n get $onionName(): 'home-user:roleAdapter';\n \n }\n\n export interface ServiceUserAdapter {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ServiceUserAdapter {\n get $beanFullName(): 'home-user.service.userAdapter';\n get $onionName(): 'home-user:userAdapter';\n \n } \n}\n/** service: end */\n/** service: begin */\nimport type { ServicePassportAdapter } from '../service/passportAdapter.ts';\nimport type { ServiceRoleAdapter } from '../service/roleAdapter.ts';\nimport type { ServiceUserAdapter } from '../service/userAdapter.ts';\nexport interface IModuleService {\n 'passportAdapter': ServicePassportAdapter;\n'roleAdapter': ServiceRoleAdapter;\n'userAdapter': ServiceUserAdapter;\n}\n/** service: end */\n/** service: begin */\n\nimport 'vona';\ndeclare module 'vona' {\n export interface IBeanRecordGeneral {\n 'home-user.service.passportAdapter': ServicePassportAdapter;\n'home-user.service.roleAdapter': ServiceRoleAdapter;\n'home-user.service.userAdapter': ServiceUserAdapter;\n }\n}\n/** service: end */\n/** eventListener: begin */\nexport * from '../bean/eventListener.activate.ts';\nexport * from '../bean/eventListener.emailConfirmCallback.ts';\nexport * from '../bean/eventListener.passwordResetCallback.ts';\nexport * from '../bean/eventListener.register.ts';\n\nimport { type IDecoratorEventListenerOptions } from 'vona-module-a-event';\ndeclare module 'vona-module-a-event' {\n \n export interface IEventListenerRecord {\n 'home-user:activate': IDecoratorEventListenerOptions;\n'home-user:emailConfirmCallback': IDecoratorEventListenerOptions;\n'home-user:passwordResetCallback': IDecoratorEventListenerOptions;\n'home-user:register': IDecoratorEventListenerOptions;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface EventListenerActivate {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerActivate {\n get $beanFullName(): 'home-user.eventListener.activate';\n get $onionName(): 'home-user:activate';\n get $onionOptions(): IDecoratorEventListenerOptions;\n }\n\n export interface EventListenerEmailConfirmCallback {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerEmailConfirmCallback {\n get $beanFullName(): 'home-user.eventListener.emailConfirmCallback';\n get $onionName(): 'home-user:emailConfirmCallback';\n get $onionOptions(): IDecoratorEventListenerOptions;\n }\n\n export interface EventListenerPasswordResetCallback {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerPasswordResetCallback {\n get $beanFullName(): 'home-user.eventListener.passwordResetCallback';\n get $onionName(): 'home-user:passwordResetCallback';\n get $onionOptions(): IDecoratorEventListenerOptions;\n }\n\n export interface EventListenerRegister {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface EventListenerRegister {\n get $beanFullName(): 'home-user.eventListener.register';\n get $onionName(): 'home-user:register';\n get $onionOptions(): IDecoratorEventListenerOptions;\n } \n}\n/** eventListener: end */\n/** meta: begin */\nexport * from '../bean/meta.index.ts';\nexport * from '../bean/meta.version.ts';\nimport type { IMetaOptionsIndex } from 'vona-module-a-index';\nimport 'vona-module-a-meta';\ndeclare module 'vona-module-a-meta' {\n \n export interface IMetaRecord {\n 'home-user:index': IMetaOptionsIndex;\n'home-user:version': never;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface MetaIndex {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface MetaIndex {\n get $beanFullName(): 'home-user.meta.index';\n get $onionName(): 'home-user:index';\n get $onionOptions(): IMetaOptionsIndex;\n }\n\n export interface MetaVersion {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface MetaVersion {\n get $beanFullName(): 'home-user.meta.version';\n get $onionName(): 'home-user:version';\n \n } \n}\n/** meta: end */\n/** dto: begin */\nexport * from '../dto/login.ts';\nexport * from '../dto/passport.ts';\nexport * from '../dto/passportJwt.ts';\nexport * from '../dto/register.ts';\nimport type { IDtoOptionsLogin } from '../dto/login.ts';\nimport type { IDtoOptionsPassport } from '../dto/passport.ts';\nimport type { IDtoOptionsPassportJwt } from '../dto/passportJwt.ts';\nimport type { IDtoOptionsRegister } from '../dto/register.ts';\nimport 'vona-module-a-web';\ndeclare module 'vona-module-a-web' {\n \n export interface IDtoRecord {\n 'home-user:login': IDtoOptionsLogin;\n'home-user:passport': IDtoOptionsPassport;\n'home-user:passportJwt': IDtoOptionsPassportJwt;\n'home-user:register': IDtoOptionsRegister;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n}\n/** dto: end */\n/** dto: begin */\nimport type { DtoLogin } from '../dto/login.ts';\nimport type { DtoPassport } from '../dto/passport.ts';\nimport type { DtoPassportJwt } from '../dto/passportJwt.ts';\nimport type { DtoRegister } from '../dto/register.ts'; \ndeclare module 'vona-module-home-user' {\n \n export interface IDtoOptionsLogin {\n fields?: TypeEntityOptionsFields<DtoLogin, IDtoOptionsLogin[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IDtoOptionsPassport {\n fields?: TypeEntityOptionsFields<DtoPassport, IDtoOptionsPassport[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IDtoOptionsPassportJwt {\n fields?: TypeEntityOptionsFields<DtoPassportJwt, IDtoOptionsPassportJwt[TypeSymbolKeyFieldsMore]>;\n }\n\n export interface IDtoOptionsRegister {\n fields?: TypeEntityOptionsFields<DtoRegister, IDtoOptionsRegister[TypeSymbolKeyFieldsMore]>;\n }\n}\n/** dto: end */\n/** controller: begin */\nexport * from '../controller/passport.ts';\nimport type { IControllerOptionsPassport } from '../controller/passport.ts';\nimport 'vona-module-a-web';\ndeclare module 'vona-module-a-web' {\n \n export interface IControllerRecord {\n 'home-user:passport': IControllerOptionsPassport;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ControllerPassport {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ControllerPassport {\n get $beanFullName(): 'home-user.controller.passport';\n get $onionName(): 'home-user:passport';\n get $onionOptions(): IControllerOptionsPassport;\n } \n}\n/** controller: end */\n/** controller: begin */\n// @ts-ignore ignore\nimport type { ControllerPassport } from '../controller/passport.ts';\ndeclare module 'vona-module-home-user' {\n \n export interface IControllerOptionsPassport {\n actions?: TypeControllerOptionsActions<ControllerPassport>;\n }\n}\ndeclare module 'vona-module-a-web' {\n export interface IApiPathGetRecord{\n '/home/user/passport/current': undefined;\n'/home/user/passport/login/:module/:providerName/:clientName?': undefined;\n'/home/user/passport/associate/:module/:providerName/:clientName?': undefined;\n'/home/user/passport/migrate/:module/:providerName/:clientName?': undefined;\n }\nexport interface IApiPathPostRecord{\n '/home/user/passport/logout': undefined;\n'/home/user/passport/register': undefined;\n'/home/user/passport/login': undefined;\n'/home/user/passport/refreshAuthToken': undefined;\n'/home/user/passport/createPassportJwtFromOauthCode': undefined;\n'/home/user/passport/createTempAuthToken': undefined;\n }\n\n}\n/** controller: end */\n/** zodRefine: begin */\nexport * from '../bean/zodRefine.emailUnique.ts';\nexport * from '../bean/zodRefine.passwordConfirm.ts';\nexport * from '../bean/zodRefine.usernameUnique.ts';\nimport type { IZodRefineOptionsEmailUnique } from '../bean/zodRefine.emailUnique.ts';\nimport type { IZodRefineOptionsPasswordConfirm } from '../bean/zodRefine.passwordConfirm.ts';\nimport type { IZodRefineOptionsUsernameUnique } from '../bean/zodRefine.usernameUnique.ts';\nimport 'vona-module-a-zod';\ndeclare module 'vona-module-a-zod' {\n \n export interface IZodRefineRecord {\n 'home-user:emailUnique': IZodRefineOptionsEmailUnique;\n'home-user:passwordConfirm': IZodRefineOptionsPasswordConfirm;\n'home-user:usernameUnique': IZodRefineOptionsUsernameUnique;\n }\n\n \n}\ndeclare module 'vona-module-home-user' {\n \n export interface ZodRefineEmailUnique {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ZodRefineEmailUnique {\n get $beanFullName(): 'home-user.zodRefine.emailUnique';\n get $onionName(): 'home-user:emailUnique';\n get $onionOptions(): IZodRefineOptionsEmailUnique;\n }\n\n export interface ZodRefinePasswordConfirm {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ZodRefinePasswordConfirm {\n get $beanFullName(): 'home-user.zodRefine.passwordConfirm';\n get $onionName(): 'home-user:passwordConfirm';\n get $onionOptions(): IZodRefineOptionsPasswordConfirm;\n }\n\n export interface ZodRefineUsernameUnique {\n /** @internal */\n get scope(): ScopeModuleHomeUser;\n }\n\n export interface ZodRefineUsernameUnique {\n get $beanFullName(): 'home-user.zodRefine.usernameUnique';\n get $onionName(): 'home-user:usernameUnique';\n get $onionOptions(): IZodRefineOptionsUsernameUnique;\n } \n}\n/** zodRefine: end */\n/** config: begin */\nexport * from '../config/config.ts';\nimport type { config } from '../config/config.ts';\n/** config: end */\n/** locale: begin */\nimport { locales } from './locales.ts';\n/** locale: end */\n/** scope: begin */\nimport { BeanScopeBase, type BeanScopeUtil, type TypeModuleConfig, type TypeModuleLocales, type TypeLocaleBase } from 'vona';\nimport { Scope } from 'vona-module-a-bean';\n\n@Scope()\nexport class ScopeModuleHomeUser extends BeanScopeBase {}\n\nexport interface ScopeModuleHomeUser {\n util: BeanScopeUtil;\nconfig: TypeModuleConfig<typeof config>;\nlocale: TypeModuleLocales<(typeof locales)[TypeLocaleBase]>;\nentity: IModuleEntity;\nmodel: IModuleModel;\nservice: IModuleService;\n}\n\nimport 'vona';\ndeclare module 'vona' {\n export interface IBeanScopeRecord {\n 'home-user': ScopeModuleHomeUser;\n }\n\n export interface IBeanScopeContainer {\n homeUser: ScopeModuleHomeUser;\n }\n \n export interface IBeanScopeConfig {\n 'home-user': ReturnType<typeof config>;\n }\n\n export interface IBeanScopeLocale {\n 'home-user': (typeof locales)[TypeLocaleBase];\n }\n\n \n}\n/** scope: end */\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"locales.js","sourceRoot":"","sources":["locales.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,UAAU,OAAO,CAAmD,GAAM,EAAE,GAAG,IAAW;IAC9F,OAAO,gBAAgB,CAAC,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC,CAAC;AACxD,CAAC","sourcesContent":["import type { TypeLocaleBase } from 'vona';\nimport { $makeLocaleMagic } from 'vona';\nimport locale_en_us from '../config/locale/en-us.ts';\nimport locale_zh_cn from '../config/locale/zh-cn.ts';\n\nexport const locales = {\n 'en-us': locale_en_us,\n 'zh-cn': locale_zh_cn,\n};\n\nexport function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K, ...args: any[]) {\n return $makeLocaleMagic(`home-user::${key}`, ...args);\n}\n"]}
1
+ {"version":3,"file":"locales.js","sourceRoot":"","sources":["locales.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,UAAU,OAAO,CAAmD,GAAM,EAAE,GAAG,IAAW;IAC9F,OAAO,gBAAgB,CAAC,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC,CAAC;AACxD,CAAC","sourcesContent":["import type { TypeLocaleBase } from 'vona';\nimport { $makeLocaleMagic } from 'vona';\nimport locale_en_us from '../config/locale/en-us.ts';\nimport locale_zh_cn from '../config/locale/zh-cn.ts';\n\nexport const locales = {\n 'en-us': locale_en_us,\n 'zh-cn': locale_zh_cn,\n};\n\nexport function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K, ...args: any[]): any {\n return $makeLocaleMagic(`home-user::${key}`, ...args);\n}\n"]}