@spytecgps/nova-orm 0.0.21 → 0.0.22
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 +40 -1
- package/dist/entities/client.d.ts +5 -5
- package/dist/entities/device.d.ts +4 -2
- package/dist/entities/user.d.ts +8 -4
- package/dist/entities/userAlertConfiguration.d.ts +6 -2
- package/dist/entities/userConfiguration.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/repositories/clients/index.d.ts +0 -2
- package/dist/types/clients.d.ts +0 -3
- package/package.json +3 -1
|
@@ -15,7 +15,6 @@ export declare class ClientsRepository extends BaseRepository {
|
|
|
15
15
|
* - name: client name
|
|
16
16
|
* - email: client email
|
|
17
17
|
* - uuid: client uuid
|
|
18
|
-
* - appClientId: app client id, optional
|
|
19
18
|
* - clientTypeId: client type id, optional
|
|
20
19
|
* - dataSourceTypeId: data source type id, optional
|
|
21
20
|
* - sievaUserName: sieva user name, optional
|
|
@@ -37,7 +36,6 @@ export declare class ClientsRepository extends BaseRepository {
|
|
|
37
36
|
* - values.name: client name, optional
|
|
38
37
|
* - values.email: client email, optional
|
|
39
38
|
* - values.uuid: client uuid, optional
|
|
40
|
-
* - values.appClientId: app client id, optional
|
|
41
39
|
* - values.clientTypeId: client type id, optional
|
|
42
40
|
* - values.dataSourceTypeId: data source type id, optional
|
|
43
41
|
* - values.sievaUserName: sieva user name, optional
|
package/dist/types/clients.d.ts
CHANGED
|
@@ -3,14 +3,12 @@ export interface GetClientParams {
|
|
|
3
3
|
filters: {
|
|
4
4
|
clientId?: number;
|
|
5
5
|
email?: string;
|
|
6
|
-
appClientId?: string;
|
|
7
6
|
};
|
|
8
7
|
}
|
|
9
8
|
export interface CreateClientParams {
|
|
10
9
|
name: string;
|
|
11
10
|
uuid: string;
|
|
12
11
|
email: string;
|
|
13
|
-
appClientId?: string;
|
|
14
12
|
clientTypeId?: HapnClientType;
|
|
15
13
|
dataSourceTypeId?: number;
|
|
16
14
|
sievaUserName?: string;
|
|
@@ -31,7 +29,6 @@ export interface UpdateClientParams {
|
|
|
31
29
|
name?: string;
|
|
32
30
|
uuid?: string;
|
|
33
31
|
email?: string;
|
|
34
|
-
appClientId?: string;
|
|
35
32
|
clientTypeId?: HapnClientType;
|
|
36
33
|
dataSourceTypeId?: number;
|
|
37
34
|
sievaUserName?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spytecgps/nova-orm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "ORM with PlanetScale",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -38,8 +38,10 @@
|
|
|
38
38
|
"typeorm": "typeorm-ts-node-commonjs",
|
|
39
39
|
"lint": "eslint \"./src/**\"",
|
|
40
40
|
"lint-fix": "eslint \"./src/**\" --fix",
|
|
41
|
+
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
|
|
41
42
|
"build-dev": "webpack --mode=development",
|
|
42
43
|
"build": "webpack --mode=production",
|
|
44
|
+
"copydistfolder": "./scripts/copyDistFolder.sh",
|
|
43
45
|
"schema-sync": "yarn typeorm schema:drop --dataSource ./data-source.ts && yarn typeorm schema:sync --dataSource ./data-source.ts && yarn typeorm migration:run --dataSource ./data-source.ts"
|
|
44
46
|
},
|
|
45
47
|
"author": "Spytec",
|