@venturialstd/tenant 0.0.1 → 0.0.2
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/README.md +974 -974
- package/dist/tenant.module.js +1 -1
- package/dist/tenant.module.js.map +1 -1
- package/package.json +42 -42
package/dist/tenant.module.js
CHANGED
|
@@ -19,7 +19,7 @@ let TenantModule = class TenantModule {
|
|
|
19
19
|
exports.TenantModule = TenantModule;
|
|
20
20
|
exports.TenantModule = TenantModule = __decorate([
|
|
21
21
|
(0, common_1.Module)({
|
|
22
|
-
imports: [core_1.SharedModule
|
|
22
|
+
imports: [core_1.SharedModule, typeorm_1.TypeOrmModule.forFeature([tenant_entity_1.Tenant, tenant_user_entity_1.TenantUser])],
|
|
23
23
|
providers: [tenant_service_1.TenantService, tenant_user_service_1.TenantUserService],
|
|
24
24
|
controllers: [],
|
|
25
25
|
exports: [tenant_service_1.TenantService, tenant_user_service_1.TenantUserService],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.module.js","sourceRoot":"","sources":["../src/tenant.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,6CAAkD;AAElD,4DAAkD;AAClD,sEAA2D;AAC3D,8DAA0D;AAC1D,wEAAmE;AAQ5D,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IANxB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,mBAAY,
|
|
1
|
+
{"version":3,"file":"tenant.module.js","sourceRoot":"","sources":["../src/tenant.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,6CAAkD;AAElD,4DAAkD;AAClD,sEAA2D;AAC3D,8DAA0D;AAC1D,wEAAmE;AAQ5D,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IANxB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,mBAAY,EAAE,uBAAa,CAAC,UAAU,CAAC,CAAC,sBAAM,EAAE,+BAAU,CAAC,CAAC,CAAC;QACvE,SAAS,EAAE,CAAC,8BAAa,EAAE,uCAAiB,CAAC;QAC7C,WAAW,EAAE,EAAE;QACf,OAAO,EAAE,CAAC,8BAAa,EAAE,uCAAiB,CAAC;KAC5C,CAAC;GACW,YAAY,CAAG"}
|
package/package.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@venturialstd/tenant",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Multi-tenant SaaS Platform Module for Venturial",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"type": "commonjs",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"access": "public"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsc -p tsconfig.json",
|
|
16
|
-
"prepublishOnly": "npm run build",
|
|
17
|
-
"release:patch": "npm run build && npm version patch --no-git-tag-version && npm publish",
|
|
18
|
-
"test:dev": "ts-node -r tsconfig-paths/register test/main.ts",
|
|
19
|
-
"test:watch": "nodemon --watch src --watch test --ext ts --exec npm run test:dev",
|
|
20
|
-
"migration:generate": "ts-node node_modules/.bin/typeorm migration:generate -d test/data-source.ts test/migrations/$npm_config_name",
|
|
21
|
-
"migration:run": "ts-node node_modules/.bin/typeorm migration:run -d test/data-source.ts",
|
|
22
|
-
"migration:revert": "ts-node node_modules/.bin/typeorm migration:revert -d test/data-source.ts"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@nestjs/config": "^3.0.0",
|
|
26
|
-
"@types/node": "^20.0.0",
|
|
27
|
-
"dotenv": "^17.2.3",
|
|
28
|
-
"nodemon": "^3.0.0",
|
|
29
|
-
"ts-node": "^10.9.0",
|
|
30
|
-
"tsconfig-paths": "^4.2.0",
|
|
31
|
-
"typescript": "^5.9.3"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"@nestjs/common": "^11.0.11",
|
|
35
|
-
"@nestjs/core": "^11.0.5",
|
|
36
|
-
"@nestjs/typeorm": "^10.0.0",
|
|
37
|
-
"@venturialstd/core": "^1.0.16",
|
|
38
|
-
"class-transformer": "^0.5.1",
|
|
39
|
-
"class-validator": "^0.14.1",
|
|
40
|
-
"typeorm": "^0.3.20"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@venturialstd/tenant",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Multi-tenant SaaS Platform Module for Venturial",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc -p tsconfig.json",
|
|
16
|
+
"prepublishOnly": "npm run build",
|
|
17
|
+
"release:patch": "npm run build && npm version patch --no-git-tag-version && npm publish",
|
|
18
|
+
"test:dev": "ts-node -r tsconfig-paths/register test/main.ts",
|
|
19
|
+
"test:watch": "nodemon --watch src --watch test --ext ts --exec npm run test:dev",
|
|
20
|
+
"migration:generate": "ts-node node_modules/.bin/typeorm migration:generate -d test/data-source.ts test/migrations/$npm_config_name",
|
|
21
|
+
"migration:run": "ts-node node_modules/.bin/typeorm migration:run -d test/data-source.ts",
|
|
22
|
+
"migration:revert": "ts-node node_modules/.bin/typeorm migration:revert -d test/data-source.ts"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@nestjs/config": "^3.0.0",
|
|
26
|
+
"@types/node": "^20.0.0",
|
|
27
|
+
"dotenv": "^17.2.3",
|
|
28
|
+
"nodemon": "^3.0.0",
|
|
29
|
+
"ts-node": "^10.9.0",
|
|
30
|
+
"tsconfig-paths": "^4.2.0",
|
|
31
|
+
"typescript": "^5.9.3"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@nestjs/common": "^11.0.11",
|
|
35
|
+
"@nestjs/core": "^11.0.5",
|
|
36
|
+
"@nestjs/typeorm": "^10.0.0",
|
|
37
|
+
"@venturialstd/core": "^1.0.16",
|
|
38
|
+
"class-transformer": "^0.5.1",
|
|
39
|
+
"class-validator": "^0.14.1",
|
|
40
|
+
"typeorm": "^0.3.20"
|
|
41
|
+
}
|
|
42
|
+
}
|