@nu-art/bug-report-shared 0.401.8 → 0.500.0
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/api.d.ts +8 -12
- package/api.js +4 -8
- package/package.json +8 -8
package/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiDefResolver, BodyApi, QueryApi } from '@nu-art/
|
|
1
|
+
import { ApiDefResolver, BodyApi, QueryApi } from '@nu-art/api-types';
|
|
2
2
|
import { Auditable, DB_Object } from '@nu-art/ts-common';
|
|
3
3
|
export type TicketDetails = {
|
|
4
4
|
platform: string;
|
|
@@ -40,16 +40,12 @@ export type SignedUrl = {
|
|
|
40
40
|
signedUrl: string;
|
|
41
41
|
publicUrl: string;
|
|
42
42
|
};
|
|
43
|
-
export type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
retrieveLogs: QueryApi<DB_BugReport[]>;
|
|
47
|
-
};
|
|
43
|
+
export type API_AdminBugReport = {
|
|
44
|
+
downloadLogs: BodyApi<SignedUrl, Paths>;
|
|
45
|
+
retrieveLogs: QueryApi<DB_BugReport[]>;
|
|
48
46
|
};
|
|
49
|
-
export declare const ApiDef_AdminBugReport: ApiDefResolver<
|
|
50
|
-
export type
|
|
51
|
-
|
|
52
|
-
sendBugReport: BodyApi<TicketDetails[], Request_BugReport>;
|
|
53
|
-
};
|
|
47
|
+
export declare const ApiDef_AdminBugReport: ApiDefResolver<API_AdminBugReport>;
|
|
48
|
+
export type API_BugReport = {
|
|
49
|
+
sendBugReport: BodyApi<TicketDetails[], Request_BugReport>;
|
|
54
50
|
};
|
|
55
|
-
export declare const ApiDef_BugReport: ApiDefResolver<
|
|
51
|
+
export declare const ApiDef_BugReport: ApiDefResolver<API_BugReport>;
|
package/api.js
CHANGED
|
@@ -15,17 +15,13 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
import { HttpMethod } from '@nu-art/
|
|
18
|
+
import { HttpMethod } from '@nu-art/api-types';
|
|
19
19
|
export const Platform_Jira = 'jira';
|
|
20
20
|
export const Platform_Slack = 'slack';
|
|
21
21
|
export const ApiDef_AdminBugReport = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
retrieveLogs: { method: HttpMethod.GET, path: 'v1/bug-reports/get-logs' },
|
|
25
|
-
}
|
|
22
|
+
downloadLogs: { method: HttpMethod.POST, path: 'v1/bug-reports/download-logs' },
|
|
23
|
+
retrieveLogs: { method: HttpMethod.GET, path: 'v1/bug-reports/get-logs' },
|
|
26
24
|
};
|
|
27
25
|
export const ApiDef_BugReport = {
|
|
28
|
-
|
|
29
|
-
sendBugReport: { method: HttpMethod.POST, path: 'v1/bug-reports/report' }
|
|
30
|
-
}
|
|
26
|
+
sendBugReport: { method: HttpMethod.POST, path: 'v1/bug-reports/report' },
|
|
31
27
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-art/bug-report-shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.500.0",
|
|
4
4
|
"description": "Bug Report Shared",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"TacB0sS",
|
|
@@ -29,12 +29,11 @@
|
|
|
29
29
|
"build": "tsc"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nu-art/ts-common": "0.
|
|
33
|
-
"@nu-art/firebase-shared": "0.
|
|
34
|
-
"@nu-art/slack-shared": "0.
|
|
35
|
-
"@nu-art/
|
|
36
|
-
"@nu-art/
|
|
37
|
-
"@nu-art/jira-shared": "0.401.8",
|
|
32
|
+
"@nu-art/ts-common": "0.500.0",
|
|
33
|
+
"@nu-art/firebase-shared": "0.500.0",
|
|
34
|
+
"@nu-art/slack-shared": "0.500.0",
|
|
35
|
+
"@nu-art/user-account-shared": "0.500.0",
|
|
36
|
+
"@nu-art/jira-shared": "0.500.0",
|
|
38
37
|
"firebase": "^11.9.0",
|
|
39
38
|
"firebase-admin": "13.4.0",
|
|
40
39
|
"react": "^18.0.0",
|
|
@@ -42,7 +41,8 @@
|
|
|
42
41
|
"react-router-dom": "^6.9.0",
|
|
43
42
|
"express": "^4.18.2",
|
|
44
43
|
"jszip": "^3.3.0",
|
|
45
|
-
"moment": "^2.29.4"
|
|
44
|
+
"moment": "^2.29.4",
|
|
45
|
+
"@nu-art/api-types": "{{THUNDERSTORM_VERSION}}"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/express": "^4.17.17",
|