@drax/identity-back 0.3.1 → 0.5.1
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.
- package/dist/routes/UserAvatarRoutes.js +7 -6
- package/package.json +8 -8
- package/src/interfaces/IRoleRepository.ts +1 -1
- package/src/interfaces/ITenantRepository.ts +1 -1
- package/src/interfaces/IUserApiKeyRepository.ts +1 -1
- package/src/interfaces/IUserRepository.ts +1 -1
- package/src/repository/mongo/RoleMongoRepository.ts +1 -1
- package/src/repository/mongo/TenantMongoRepository.ts +1 -1
- package/src/repository/mongo/UserApiKeyMongoRepository.ts +1 -1
- package/src/repository/mongo/UserMongoRepository.ts +1 -1
- package/src/repository/sqlite/RoleSqliteRepository.ts +1 -1
- package/src/repository/sqlite/TenantSqliteRepository.ts +1 -1
- package/src/repository/sqlite/UserApiKeySqliteRepository.ts +1 -1
- package/src/repository/sqlite/UserSqliteRepository.ts +1 -1
- package/src/routes/RoleRoutes.ts +1 -1
- package/src/routes/TenantRoutes.ts +1 -1
- package/src/routes/UserApiKeyRoutes.ts +1 -1
- package/src/routes/UserAvatarRoutes.ts +7 -6
- package/src/routes/UserRoutes.ts +1 -1
- package/src/services/RoleService.ts +1 -1
- package/src/services/TenantService.ts +1 -1
- package/src/services/UserApiKeyService.ts +1 -1
- package/src/services/UserService.ts +1 -1
- package/test/repository/mongo/role-mongo-repository.test.ts +1 -1
- package/test/repository/mongo/user-apikey-mongo-repository.test.ts +1 -1
- package/test/repository/mongo/user-mongo-repository.test.ts +1 -1
- package/test/repository/sqlite/role-sqlite-repository.test.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/graphql/resolvers/role.resolvers.d.ts +1 -1
- package/types/graphql/resolvers/tenant.resolvers.d.ts +1 -1
- package/types/graphql/resolvers/user-api-key.resolvers.d.ts +1 -1
- package/types/graphql/resolvers/user.resolvers.d.ts +1 -1
- package/types/interfaces/IRoleRepository.d.ts +1 -1
- package/types/interfaces/IRoleRepository.d.ts.map +1 -1
- package/types/interfaces/ITenantRepository.d.ts +1 -1
- package/types/interfaces/ITenantRepository.d.ts.map +1 -1
- package/types/interfaces/IUserApiKeyRepository.d.ts +1 -1
- package/types/interfaces/IUserApiKeyRepository.d.ts.map +1 -1
- package/types/interfaces/IUserRepository.d.ts +1 -1
- package/types/interfaces/IUserRepository.d.ts.map +1 -1
- package/types/models/RoleModel.d.ts +0 -5
- package/types/models/RoleModel.d.ts.map +1 -1
- package/types/models/TenantModel.d.ts +0 -5
- package/types/models/TenantModel.d.ts.map +1 -1
- package/types/models/UserApiKeyModel.d.ts +0 -5
- package/types/models/UserApiKeyModel.d.ts.map +1 -1
- package/types/models/UserGroupModel.d.ts +0 -5
- package/types/models/UserGroupModel.d.ts.map +1 -1
- package/types/models/UserModel.d.ts +0 -5
- package/types/models/UserModel.d.ts.map +1 -1
- package/types/repository/mongo/RoleMongoRepository.d.ts +1 -1
- package/types/repository/mongo/RoleMongoRepository.d.ts.map +1 -1
- package/types/repository/mongo/TenantMongoRepository.d.ts +1 -1
- package/types/repository/mongo/TenantMongoRepository.d.ts.map +1 -1
- package/types/repository/mongo/UserApiKeyMongoRepository.d.ts +1 -1
- package/types/repository/mongo/UserApiKeyMongoRepository.d.ts.map +1 -1
- package/types/repository/mongo/UserMongoRepository.d.ts +1 -1
- package/types/repository/mongo/UserMongoRepository.d.ts.map +1 -1
- package/types/repository/sqlite/RoleSqliteRepository.d.ts +1 -1
- package/types/repository/sqlite/RoleSqliteRepository.d.ts.map +1 -1
- package/types/repository/sqlite/TenantSqliteRepository.d.ts +1 -1
- package/types/repository/sqlite/TenantSqliteRepository.d.ts.map +1 -1
- package/types/repository/sqlite/UserApiKeySqliteRepository.d.ts +1 -1
- package/types/repository/sqlite/UserApiKeySqliteRepository.d.ts.map +1 -1
- package/types/repository/sqlite/UserSqliteRepository.d.ts +1 -1
- package/types/repository/sqlite/UserSqliteRepository.d.ts.map +1 -1
- package/types/routes/UserAvatarRoutes.d.ts.map +1 -1
- package/types/services/RoleService.d.ts +1 -1
- package/types/services/RoleService.d.ts.map +1 -1
- package/types/services/TenantService.d.ts +1 -1
- package/types/services/TenantService.d.ts.map +1 -1
- package/types/services/UserApiKeyService.d.ts +1 -1
- package/types/services/UserApiKeyService.d.ts.map +1 -1
- package/types/services/UserService.d.ts +1 -1
- package/types/services/UserService.d.ts.map +1 -1
- package/types/zod/UserZod.d.ts +6 -6
|
@@ -27,7 +27,7 @@ declare const _default: {
|
|
|
27
27
|
};
|
|
28
28
|
}, { rbac }: {
|
|
29
29
|
rbac: any;
|
|
30
|
-
}) => Promise<import("packages/
|
|
30
|
+
}) => Promise<import("packages/crud/crud-share/types/index.js").IDraxPaginateResult<import("packages/identity/identity-share/types/index.js").IRole>>;
|
|
31
31
|
};
|
|
32
32
|
Mutation: {
|
|
33
33
|
createRole: (_: any, { input }: {
|
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
|
24
24
|
};
|
|
25
25
|
}, { rbac }: {
|
|
26
26
|
rbac: any;
|
|
27
|
-
}) => Promise<import("packages/
|
|
27
|
+
}) => Promise<import("packages/crud/crud-share/types/index.js").IDraxPaginateResult<import("packages/identity/identity-share/types/index.js").ITenant>>;
|
|
28
28
|
};
|
|
29
29
|
Mutation: {
|
|
30
30
|
createTenant: (_: any, { input }: {
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
}, { rbac, authUser }: {
|
|
13
13
|
rbac: any;
|
|
14
14
|
authUser: any;
|
|
15
|
-
}) => Promise<import("packages/
|
|
15
|
+
}) => Promise<import("packages/crud/crud-share/types/index.js").IDraxPaginateResult<import("packages/identity/identity-share/types/index.js").IUserApiKey>>;
|
|
16
16
|
};
|
|
17
17
|
Mutation: {
|
|
18
18
|
createUserApiKey: (_: any, { input }: {
|
|
@@ -19,7 +19,7 @@ declare const _default: {
|
|
|
19
19
|
};
|
|
20
20
|
}, { rbac }: {
|
|
21
21
|
rbac: any;
|
|
22
|
-
}) => Promise<import("packages/
|
|
22
|
+
}) => Promise<import("packages/crud/crud-share/types/index.js").IDraxPaginateResult<import("packages/identity/identity-share/types/index.js").IUser>>;
|
|
23
23
|
};
|
|
24
24
|
Mutation: {
|
|
25
25
|
auth: (_: any, { input }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRole, IRoleBase } from "@drax/identity-share";
|
|
2
|
-
import { IDraxCrud } from "@drax/
|
|
2
|
+
import { IDraxCrud } from "@drax/crud-share";
|
|
3
3
|
interface IRoleRepository extends IDraxCrud<IRole, IRoleBase, IRoleBase> {
|
|
4
4
|
findById(id: string): Promise<IRole | null>;
|
|
5
5
|
findByName(name: string): Promise<IRole | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRoleRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/IRoleRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"IRoleRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/IRoleRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE3C,UAAU,eAAgB,SAAQ,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,CAAC;IACpE,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IAC5C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IAChD,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;CAChC;AAED,OAAO,EAAC,eAAe,EAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITenant, ITenantBase } from '@drax/identity-share';
|
|
2
|
-
import { IDraxCrud } from "@drax/
|
|
2
|
+
import { IDraxCrud } from "@drax/crud-share";
|
|
3
3
|
interface ITenantRepository extends IDraxCrud<ITenant, ITenantBase, ITenantBase> {
|
|
4
4
|
findById(id: string): Promise<ITenant | null>;
|
|
5
5
|
findByName(name: string): Promise<ITenant | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITenantRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/ITenantRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"ITenantRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/ITenantRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAC3C,UAAU,iBAAkB,SAAQ,SAAS,CAAC,OAAO,EAAC,WAAW,EAAC,WAAW,CAAC;IAC1E,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC9C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAClD,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;CAClC;AAED,OAAO,EAAC,iBAAiB,EAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IUserApiKey, IUserApiKeyBase } from '@drax/identity-share';
|
|
2
|
-
import { IDraxCrud } from "@drax/
|
|
2
|
+
import { IDraxCrud } from "@drax/crud-share";
|
|
3
3
|
interface IUserApiKeyRepository extends IDraxCrud<IUserApiKey, IUserApiKeyBase, IUserApiKeyBase> {
|
|
4
4
|
findBySecret(username: string): Promise<IUserApiKey | null>;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserApiKeyRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/IUserApiKeyRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,eAAe,EAAC,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"IUserApiKeyRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/IUserApiKeyRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,eAAe,EAAC,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE3C,UAAU,qBAAsB,SAAQ,SAAS,CAAC,WAAW,EAAE,eAAe,EAAE,eAAe,CAAC;IAC5F,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAC/D;AAED,OAAO,EAAC,qBAAqB,EAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IUser, IUserCreate, IUserUpdate } from '@drax/identity-share';
|
|
2
|
-
import { IDraxCrud } from "@drax/
|
|
2
|
+
import { IDraxCrud } from "@drax/crud-share";
|
|
3
3
|
interface IUserRepository extends IDraxCrud<IUser, IUserCreate, IUserUpdate> {
|
|
4
4
|
findById(id: string): Promise<IUser | null>;
|
|
5
5
|
findByUsername(username: string): Promise<IUser | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/IUserRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"IUserRepository.d.ts","sourceRoot":"","sources":["../../src/interfaces/IUserRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE3C,UAAU,eAAgB,SAAQ,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,WAAW,CAAC;IACxE,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IAC5C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IACxD,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,GAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7D,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACjE;AAED,OAAO,EAAC,eAAe,EAAC,CAAA"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/document.js" />
|
|
2
|
-
/// <reference types="mongoose/types/types.js" />
|
|
3
|
-
/// <reference types="mongoose/types/models.js" />
|
|
4
|
-
/// <reference types="mongoose/types/schemaoptions.js" />
|
|
5
|
-
/// <reference types="mongoose/types/utility.js" />
|
|
6
1
|
import { mongoose } from '@drax/common-back';
|
|
7
2
|
import { IRole } from '@drax/identity-share';
|
|
8
3
|
declare const RoleSchema: mongoose.Schema<IRole, mongoose.Model<IRole, any, any, any, mongoose.Document<unknown, any, IRole> & IRole & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoleModel.d.ts","sourceRoot":"","sources":["../../src/models/RoleModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RoleModel.d.ts","sourceRoot":"","sources":["../../src/models/RoleModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAqB,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAA;AAK1C,QAAA,MAAM,UAAU;;;;EAWd,CAAC;AAWH,QAAA,MAAM,SAAS,uCAAgG,CAAC;AAEhH,OAAO,EACH,UAAU,EACV,SAAS,EACZ,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/document.js" />
|
|
2
|
-
/// <reference types="mongoose/types/types.js" />
|
|
3
|
-
/// <reference types="mongoose/types/models.js" />
|
|
4
|
-
/// <reference types="mongoose/types/schemaoptions.js" />
|
|
5
|
-
/// <reference types="mongoose/types/utility.js" />
|
|
6
1
|
import { mongoose } from '@drax/common-back';
|
|
7
2
|
import { ITenant } from '@drax/identity-share';
|
|
8
3
|
declare const TenantSchema: mongoose.Schema<ITenant, mongoose.Model<ITenant, any, any, any, mongoose.Document<unknown, any, ITenant> & ITenant & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantModel.d.ts","sourceRoot":"","sources":["../../src/models/TenantModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TenantModel.d.ts","sourceRoot":"","sources":["../../src/models/TenantModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAqB,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAA;AAK5C,QAAA,MAAM,YAAY;;;;EAEI,CAAC;AAWvB,QAAA,MAAM,WAAW,yCAA0G,CAAC;AAE5H,OAAO,EACH,YAAY,EACZ,WAAW,EACd,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/document.js" />
|
|
2
|
-
/// <reference types="mongoose/types/types.js" />
|
|
3
|
-
/// <reference types="mongoose/types/models.js" />
|
|
4
|
-
/// <reference types="mongoose/types/schemaoptions.js" />
|
|
5
|
-
/// <reference types="mongoose/types/utility.js" />
|
|
6
1
|
import { mongoose } from '@drax/common-back';
|
|
7
2
|
import { IUserApiKey } from "@drax/identity-share";
|
|
8
3
|
declare const UserApiKeySchema: mongoose.Schema<IUserApiKey, mongoose.Model<IUserApiKey, any, any, any, mongoose.Document<unknown, any, IUserApiKey> & IUserApiKey & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserApiKeyModel.d.ts","sourceRoot":"","sources":["../../src/models/UserApiKeyModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserApiKeyModel.d.ts","sourceRoot":"","sources":["../../src/models/UserApiKeyModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAqB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAMjD,QAAA,MAAM,gBAAgB;;;;EA8BA,CAAC;AAYvB,QAAA,MAAM,eAAe,6CAAuG,CAAC;AAG7H,OAAO,EACH,gBAAgB,EAChB,eAAe,EAClB,CAAA;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/document.js" />
|
|
2
|
-
/// <reference types="mongoose/types/types.js" />
|
|
3
|
-
/// <reference types="mongoose/types/models.js" />
|
|
4
|
-
/// <reference types="mongoose/types/schemaoptions.js" />
|
|
5
|
-
/// <reference types="mongoose/types/utility.js" />
|
|
6
1
|
import { mongoose } from '@drax/common-back';
|
|
7
2
|
import { IUserGroup } from "@drax/identity-share";
|
|
8
3
|
declare const UserGroupSchema: mongoose.Schema<IUserGroup, mongoose.Model<IUserGroup, any, any, any, mongoose.Document<unknown, any, IUserGroup> & IUserGroup & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserGroupModel.d.ts","sourceRoot":"","sources":["../../src/models/UserGroupModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserGroupModel.d.ts","sourceRoot":"","sources":["../../src/models/UserGroupModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAqB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAOhD,QAAA,MAAM,eAAe;;;;EAmBC,CAAC;AAYvB,QAAA,MAAM,cAAc,4CAAwH,CAAC;AAE7I,OAAO,EACH,eAAe,EACf,cAAc,EACjB,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/document.js" />
|
|
2
|
-
/// <reference types="mongoose/types/types.js" />
|
|
3
|
-
/// <reference types="mongoose/types/models.js" />
|
|
4
|
-
/// <reference types="mongoose/types/schemaoptions.js" />
|
|
5
|
-
/// <reference types="mongoose/types/utility.js" />
|
|
6
1
|
import { mongoose } from '@drax/common-back';
|
|
7
2
|
import { IUser } from "@drax/identity-share";
|
|
8
3
|
declare const UserSchema: mongoose.Schema<IUser, mongoose.Model<IUser, any, any, any, mongoose.Document<unknown, any, IUser> & IUser & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserModel.d.ts","sourceRoot":"","sources":["../../src/models/UserModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserModel.d.ts","sourceRoot":"","sources":["../../src/models/UserModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAqB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAO3C,QAAA,MAAM,UAAU;;;;EA6DM,CAAC;AAYvB,QAAA,MAAM,SAAS,uCAA+F,CAAC;AAE/G,OAAO,EACH,UAAU,EACV,SAAS,EACZ,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRoleRepository } from '../../interfaces/IRoleRepository';
|
|
2
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
2
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
3
3
|
import { IRoleBase, IRole } from "@drax/identity-share";
|
|
4
4
|
declare class RoleMongoRepository implements IRoleRepository {
|
|
5
5
|
create(roleData: IRoleBase): Promise<IRole>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoleMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/RoleMongoRepository.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAIhE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"RoleMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/RoleMongoRepository.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAIhE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAC,SAAS,EAAE,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAEtD,cAAM,mBAAoB,YAAW,eAAe;IAE1C,MAAM,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC;IAO3C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC;IAKvD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAK3C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAK/C,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAK5B,QAAQ,CAAC,EACI,IAAO,EACP,KAAQ,EACR,OAAW,EACX,KAAY,EACZ,MAAU,EACV,OAAW,EAAC,EAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;CAsB/F;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITenantRepository } from '../../interfaces/ITenantRepository';
|
|
2
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
2
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
3
3
|
import { ITenant, ITenantBase } from "@drax/identity-share";
|
|
4
4
|
declare class TenantMongoRepository implements ITenantRepository {
|
|
5
5
|
create(tenantData: ITenantBase): Promise<ITenant>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/TenantMongoRepository.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAA;AAIpE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"TenantMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/TenantMongoRepository.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAA;AAIpE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAE1D,cAAM,qBAAsB,YAAW,iBAAiB;IAE9C,MAAM,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAMjD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAK7D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAK7C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAKjD,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAK9B,QAAQ,CAAC,EACI,IAAO,EACP,KAAQ,EACR,OAAW,EACX,KAAY,EACZ,MAAU,EACV,OAAW,EAAC,EAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAuBjG;AAED,eAAe,qBAAqB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IUserApiKey, IUserApiKeyBase } from "@drax/identity-share";
|
|
2
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
2
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
3
3
|
import { IUserApiKeyRepository } from "../../interfaces/IUserApiKeyRepository";
|
|
4
4
|
declare class UserMongoRepository implements IUserApiKeyRepository {
|
|
5
5
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserApiKeyMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/UserApiKeyMongoRepository.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAC,WAAW,EAAE,eAAe,EAAwB,MAAM,sBAAsB,CAAC;AAG9F,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"UserApiKeyMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/UserApiKeyMongoRepository.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAC,WAAW,EAAE,eAAe,EAAwB,MAAM,sBAAsB,CAAC;AAG9F,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAC;AAE7E,cAAM,mBAAoB,YAAW,qBAAqB;;IAMhD,MAAM,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC;IAgBnD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC;IAgB/D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAK1C,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAKlD,QAAQ,CAAC,EACI,IAAQ,EACR,KAAS,EACT,OAAY,EACZ,KAAa,EACb,MAAW,EACX,OAAY,EACf,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;CA2BrF;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IUser, IUserCreate, IUserUpdate } from "@drax/identity-share";
|
|
2
2
|
import type { IUserRepository } from "../../interfaces/IUserRepository";
|
|
3
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
3
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
4
4
|
declare class UserMongoRepository implements IUserRepository {
|
|
5
5
|
private roleRepository;
|
|
6
6
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/UserMongoRepository.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAE1E,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAGtE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"UserMongoRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/mongo/UserMongoRepository.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAE1E,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAGtE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAE3E,cAAM,mBAAoB,YAAW,eAAe;IAChD,OAAO,CAAC,cAAc,CAAsB;;IAOtC,MAAM,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;IAoB7C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;IAezD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpC,QAAQ,CAAC,EAAE,EAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAKnC,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAKhD,QAAQ,CAAC,EACI,IAAO,EACP,KAAQ,EACR,OAAW,EACX,KAAY,EACZ,MAAU,EACV,OAAW,EAAC,EAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;IA2BtF,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAE,OAAO,CAAC,OAAO,CAAC;IAU7D,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAE,OAAO,CAAC,OAAO,CAAC;CASlE;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRoleRepository } from '../../interfaces/IRoleRepository';
|
|
2
|
-
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/
|
|
2
|
+
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/crud-share";
|
|
3
3
|
import { IRole, IRoleBase } from "@drax/identity-share";
|
|
4
4
|
declare class RoleSqliteRepository implements IRoleRepository {
|
|
5
5
|
private db;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoleSqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/RoleSqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAIhE,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"RoleSqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/RoleSqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAIhE,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAC,KAAK,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAmBtD,cAAM,oBAAqB,YAAW,eAAe;IAEjD,OAAO,CAAC,EAAE,CAAM;IAChB,OAAO,CAAC,YAAY,CAAS;gBAEjB,YAAY,EAAC,MAAM,EAAE,OAAO,GAAC,OAAe;IAMxD,KAAK;IASL,aAAa,CAAC,QAAQ,EAAE,SAAS;IAa3B,MAAM,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC;IA8B3C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC;IAuBvD,QAAQ,CAAC,EACI,IAAO,EACP,KAAQ,EACR,OAAW,EACX,KAAY,EACZ,MAAU,EACV,OAAW,EAAC,EAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;IA2BtF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpC,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC;IAM7B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAS3C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAS/C,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAU5B,uBAAuB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAQ1D,YAAY,CAAC,IAAI,KAAA;CAc1B;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITenant, ITenantBase } from '@drax/identity-share';
|
|
2
2
|
import { ITenantRepository } from '../../interfaces/ITenantRepository';
|
|
3
|
-
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/
|
|
3
|
+
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/crud-share";
|
|
4
4
|
declare class TenantSqliteRepository implements ITenantRepository {
|
|
5
5
|
private db;
|
|
6
6
|
private dataBaseFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantSqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/TenantSqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAA;AAIpE,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"TenantSqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/TenantSqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAA;AAIpE,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AAY3E,cAAM,sBAAuB,YAAW,iBAAiB;IAErD,OAAO,CAAC,EAAE,CAAM;IAChB,OAAO,CAAC,YAAY,CAAS;gBAEjB,YAAY,EAAC,MAAM,EAAE,OAAO,GAAC,OAAe;IAMxD,KAAK;IAWC,MAAM,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IA0BjD,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAK7C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAKjD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAqB7D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpC,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC;IAM7B,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAQ9B,QAAQ,CAAC,EACI,IAAO,EACP,KAAQ,EACR,OAAW,EACX,KAAY,EACZ,MAAU,EACV,OAAW,EAAC,EAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAwBjG;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IUserApiKey, IUserApiKeyBase } from '@drax/identity-share';
|
|
2
2
|
import { IUserApiKeyRepository } from '../../interfaces/IUserApiKeyRepository';
|
|
3
|
-
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/
|
|
3
|
+
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/crud-share";
|
|
4
4
|
declare class UserApiKeySqliteRepository implements IUserApiKeyRepository {
|
|
5
5
|
private db;
|
|
6
6
|
private dataBaseFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserApiKeySqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/UserApiKeySqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,eAAe,EAAC,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAA;AAI5E,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"UserApiKeySqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/UserApiKeySqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,eAAe,EAAC,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAA;AAI5E,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AAe3E,cAAM,0BAA2B,YAAW,qBAAqB;IAE7D,OAAO,CAAC,EAAE,CAAM;IAChB,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,cAAc,CAAuB;gBAEjC,YAAY,EAAE,MAAM,EAAE,OAAO,GAAE,OAAe;IAOpD,YAAY,CAAC,EAAE,EAAE,MAAM;IAI7B,KAAK;IAUC,MAAM,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC;IAuC7D,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAQjD,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAQzD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC;IAmCzE,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAOpC,QAAQ,CAAC,EACI,IAAQ,EACR,KAAS,EACT,OAAY,EACZ,KAAa,EACb,MAAW,EACX,OAAY,EACf,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;CAgCrF;AAED,eAAe,0BAA0B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IUser, IUserCreate, IUserUpdate } from "@drax/identity-share";
|
|
2
2
|
import { IUserRepository } from "../../interfaces/IUserRepository";
|
|
3
|
-
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/
|
|
3
|
+
import { IDraxPaginateResult, IDraxPaginateOptions } from "@drax/crud-share";
|
|
4
4
|
declare class UserSqliteRepository implements IUserRepository {
|
|
5
5
|
private db;
|
|
6
6
|
private roleRepository;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/UserSqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAIrE,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"UserSqliteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/sqlite/UserSqliteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAIrE,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AA4B3E,cAAM,oBAAqB,YAAW,eAAe;IACjD,OAAO,CAAC,EAAE,CAAM;IAChB,OAAO,CAAC,cAAc,CAAuB;IAC7C,OAAO,CAAC,gBAAgB,CAAyB;IACjD,OAAO,CAAC,YAAY,CAAS;gBAEjB,YAAY,EAAE,MAAM,EAAE,OAAO,GAAE,OAAe;IAQ1D,KAAK;IASL,aAAa,CAAC,QAAQ,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI;IAOlD,MAAM,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;IAiC7C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;IAwBzD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpC,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC;IAM7B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAUpC,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAUhD,QAAQ,CAAC,EACI,IAAO,EACP,KAAQ,EACR,OAAW,EACX,KAAY,EACZ,MAAU,EACV,OAAW,EAAC,EAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAsCtF,YAAY,CAAC,EAAE,EAAE,MAAM;IAIvB,cAAc,CAAC,EAAE,EAAE,MAAM;IAIzB,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAQ9D,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAOnE;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAvatarRoutes.d.ts","sourceRoot":"","sources":["../../src/routes/UserAvatarRoutes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserAvatarRoutes.d.ts","sourceRoot":"","sources":["../../src/routes/UserAvatarRoutes.ts"],"names":[],"mappings":"AAWA,iBAAe,gBAAgB,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA,iBAoE/C;AAED,eAAe,gBAAgB,CAAC;AAChC,OAAO,EAAC,gBAAgB,EAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRoleRepository } from "../interfaces/IRoleRepository";
|
|
2
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
2
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
3
3
|
import type { IRoleBase, IRole } from "@drax/identity-share";
|
|
4
4
|
declare class RoleService {
|
|
5
5
|
_repository: IRoleRepository;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoleService.d.ts","sourceRoot":"","sources":["../../src/services/RoleService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAI9D,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"RoleService.d.ts","sourceRoot":"","sources":["../../src/services/RoleService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAI9D,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,EAAC,SAAS,EAAE,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAE3D,cAAM,WAAW;IAEb,WAAW,EAAE,eAAe,CAAA;gBAEhB,eAAe,EAAE,eAAe;IAKtC,MAAM,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC;IAe3C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS;IAetC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAUpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAW3C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAW/C,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAK5B,QAAQ,CAAC,EACI,IAAQ,EACR,KAAS,EACT,OAAY,EACZ,KAAa,EACb,MAAW,EACX,OAAY,EACf,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;CAY/E;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITenantRepository } from "../interfaces/ITenantRepository";
|
|
2
2
|
import { ITenantBase, ITenant } from "@drax/identity-share";
|
|
3
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
3
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
4
4
|
declare class TenantService {
|
|
5
5
|
_repository: ITenantRepository;
|
|
6
6
|
constructor(tenantRepostitory: ITenantRepository);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TenantService.d.ts","sourceRoot":"","sources":["../../src/services/TenantService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAC;AAIlE,OAAO,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"TenantService.d.ts","sourceRoot":"","sources":["../../src/services/TenantService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAC;AAIlE,OAAO,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAE3E,cAAM,aAAa;IAEf,WAAW,EAAE,iBAAiB,CAAA;gBAElB,iBAAiB,EAAE,iBAAiB;IAK1C,MAAM,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAejD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW;IAe1C,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAWpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAW7C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAWjD,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAW9B,QAAQ,CAAC,EACI,IAAQ,EACR,KAAS,EACT,OAAY,EACZ,KAAa,EACb,MAAW,EACX,OAAY,EACf,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;CAYjF;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IUserApiKeyRepository } from "../interfaces/IUserApiKeyRepository";
|
|
2
2
|
import { IUserApiKeyBase, IUserApiKey } from "@drax/identity-share";
|
|
3
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
3
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
4
4
|
declare class UserApiKeyService {
|
|
5
5
|
_repository: IUserApiKeyRepository;
|
|
6
6
|
constructor(userApiKeyRepostitory: IUserApiKeyRepository);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserApiKeyService.d.ts","sourceRoot":"","sources":["../../src/services/UserApiKeyService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,qCAAqC,CAAC;AAI1E,OAAO,EAAC,eAAe,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"UserApiKeyService.d.ts","sourceRoot":"","sources":["../../src/services/UserApiKeyService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,qCAAqC,CAAC;AAI1E,OAAO,EAAC,eAAe,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAK3E,cAAM,iBAAiB;IAEnB,WAAW,EAAE,qBAAqB,CAAA;gBAEtB,qBAAqB,EAAE,qBAAqB;IAKlD,MAAM,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC;IAmB7D,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,eAAe;IAgBlD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAWpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAWjD,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAczD,QAAQ,CAAC,EACI,IAAQ,EACR,KAAS,EACT,OAAY,EACZ,KAAa,EACb,MAAW,EACX,OAAY,EACf,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;CAWrF;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IUser, IUserCreate, IUserUpdate } from "@drax/identity-share";
|
|
2
2
|
import type { IUserRepository } from "../interfaces/IUserRepository";
|
|
3
|
-
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/
|
|
3
|
+
import { IDraxPaginateOptions, IDraxPaginateResult } from "@drax/crud-share";
|
|
4
4
|
declare class UserService {
|
|
5
5
|
_repository: IUserRepository;
|
|
6
6
|
constructor(userRepository: IUserRepository);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../src/services/UserService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAC1E,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAMnE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../src/services/UserService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAC1E,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAMnE,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAE3E,cAAM,WAAW;IAEb,WAAW,EAAE,eAAe,CAAA;gBAEhB,cAAc,EAAE,eAAe;IAKrC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;;;IAcvC,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAYtD,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAuB9E,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAW3C,MAAM,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;IAwB7C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW;IAqBxC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAWpC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAWpC,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAWvD,QAAQ,CAAC,EACI,IAAQ,EACR,KAAS,EACT,OAAY,EACZ,KAAa,EACb,MAAW,EACX,OAAY,EACf,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;CAU/E;AAED,eAAe,WAAW,CAAA"}
|
package/types/zod/UserZod.d.ts
CHANGED
|
@@ -5,13 +5,13 @@ export declare const userBaseSchema: import("zod").ZodObject<{
|
|
|
5
5
|
role: import("zod").ZodString;
|
|
6
6
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7
7
|
name?: string;
|
|
8
|
-
email?: string;
|
|
9
8
|
username?: string;
|
|
9
|
+
email?: string;
|
|
10
10
|
role?: string;
|
|
11
11
|
}, {
|
|
12
12
|
name?: string;
|
|
13
|
-
email?: string;
|
|
14
13
|
username?: string;
|
|
14
|
+
email?: string;
|
|
15
15
|
role?: string;
|
|
16
16
|
}>;
|
|
17
17
|
export declare const createUserSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
@@ -23,14 +23,14 @@ export declare const createUserSchema: import("zod").ZodObject<import("zod").obj
|
|
|
23
23
|
password: import("zod").ZodString;
|
|
24
24
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
25
25
|
name?: string;
|
|
26
|
-
email?: string;
|
|
27
26
|
username?: string;
|
|
27
|
+
email?: string;
|
|
28
28
|
password?: string;
|
|
29
29
|
role?: string;
|
|
30
30
|
}, {
|
|
31
31
|
name?: string;
|
|
32
|
-
email?: string;
|
|
33
32
|
username?: string;
|
|
33
|
+
email?: string;
|
|
34
34
|
password?: string;
|
|
35
35
|
role?: string;
|
|
36
36
|
}>;
|
|
@@ -41,13 +41,13 @@ export declare const editUserSchema: import("zod").ZodObject<import("zod").objec
|
|
|
41
41
|
role: import("zod").ZodString;
|
|
42
42
|
}, {}>, "strip", import("zod").ZodTypeAny, {
|
|
43
43
|
name?: string;
|
|
44
|
-
email?: string;
|
|
45
44
|
username?: string;
|
|
45
|
+
email?: string;
|
|
46
46
|
role?: string;
|
|
47
47
|
}, {
|
|
48
48
|
name?: string;
|
|
49
|
-
email?: string;
|
|
50
49
|
username?: string;
|
|
50
|
+
email?: string;
|
|
51
51
|
role?: string;
|
|
52
52
|
}>;
|
|
53
53
|
//# sourceMappingURL=UserZod.d.ts.map
|