@aneuhold/core-ts-api-lib 1.0.11 → 1.0.13
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
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
# Core TypeScript API Library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
A core library for interacting with and defining the backend API for personal projects. This can be pulled in to any frontend or backend personal project.
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { UUID } from 'crypto';
|
|
3
|
-
import { DashboardUserConfig } from '@aneuhold/core-ts-db-lib';
|
|
3
|
+
import { DashboardTask, DashboardUserConfig } from '@aneuhold/core-ts-db-lib';
|
|
4
4
|
import { Translations } from '../../../types/Translations';
|
|
5
5
|
import DOFunction, { DOFunctionInput, DOFunctionOutput } from '../DOFunction';
|
|
6
6
|
export interface ProjectDashboardOptions {
|
|
7
7
|
get?: {
|
|
8
8
|
translations?: boolean;
|
|
9
9
|
userConfig?: boolean;
|
|
10
|
+
tasks?: boolean;
|
|
10
11
|
};
|
|
11
12
|
update?: {
|
|
12
13
|
userConfig?: DashboardUserConfig;
|
|
14
|
+
tasks?: DashboardTask[];
|
|
13
15
|
};
|
|
14
16
|
delete?: {
|
|
15
|
-
|
|
17
|
+
tasks?: DashboardTask[];
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
export interface ProjectDashboardInput extends DOFunctionInput {
|
|
@@ -24,6 +26,7 @@ export interface ProjectDashboardOutput extends DOFunctionOutput {
|
|
|
24
26
|
data?: {
|
|
25
27
|
translations?: Translations;
|
|
26
28
|
userConfig?: DashboardUserConfig;
|
|
29
|
+
tasks?: DashboardTask[];
|
|
27
30
|
};
|
|
28
31
|
}
|
|
29
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectDashboard.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/projectDashboard.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"projectDashboard.d.ts","sourceRoot":"","sources":["../../../../src/services/DOFunctionService/functions/projectDashboard.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9E,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE;QACJ,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,UAAU,CAAC,EAAE,mBAAmB,CAAC;QACjC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;KACzB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC5D,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,uBAAuB,CAAC;CAClC;AAED,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE;QACL,YAAY,CAAC,EAAE,YAAY,CAAC;QAC5B,UAAU,CAAC,EAAE,mBAAmB,CAAC;QACjC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;KACzB,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU,CACtD,qBAAqB,EACrB,sBAAsB,CACvB;IACC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAmB;IAE1C,OAAO;IAIP,MAAM,CAAC,WAAW;CAMnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aneuhold/core-ts-api-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "A library for interacting with the backend and defining the backend API for personal projects.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "jest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aneuhold/core-ts-db-lib": "^1.0.
|
|
37
|
+
"@aneuhold/core-ts-db-lib": "^1.0.16",
|
|
38
38
|
"@aneuhold/core-ts-lib": "^1.1.9"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|