dplus_common_v1 0.1.22 → 0.1.24

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.
@@ -0,0 +1,75 @@
1
+ export type TEventUserReported = {
2
+ hash_code: string;
3
+ date: Date;
4
+ time: Date | null;
5
+ tz: string;
6
+ user_tz: string;
7
+ duration: number | null;
8
+ title: string;
9
+ description: string | null;
10
+ address: string | null;
11
+ accept_language: string | null;
12
+ reported_at: Date;
13
+ reported_by: string | null;
14
+ };
15
+ export type TEventUserReportedInsert = {
16
+ hash_code: string;
17
+ date: Date;
18
+ title: string;
19
+ user_tz: string;
20
+ } & Partial<Omit<TEventUserReported, "hash_code" | "date" | "title" | "user_tz">>;
21
+ export type TEventUserReportedUpdate = {
22
+ hash_code: string;
23
+ } & Partial<Omit<TEventUserReported, "hash_code">>;
24
+ export type TEventUserReportedAdded = {
25
+ hash_code: string;
26
+ date: Date;
27
+ time: Date | null;
28
+ tz: string;
29
+ user_tz: string;
30
+ duration: number | null;
31
+ title: string;
32
+ description: string | null;
33
+ address: string | null;
34
+ accept_language: string | null;
35
+ reported_at: Date;
36
+ reported_by: string | null;
37
+ handled_at: Date;
38
+ handled_by: string | null;
39
+ };
40
+ export type TEventUserReportedAddedInsert = {
41
+ hash_code: string;
42
+ date: Date;
43
+ title: string;
44
+ user_tz: string;
45
+ } & Partial<Omit<TEventUserReportedAdded, "hash_code" | "date" | "title" | "user_tz">>;
46
+ export type TEventUserReportedAddedUpdate = {
47
+ hash_code: string;
48
+ } & Partial<Omit<TEventUserReportedAdded, "hash_code">>;
49
+ export type TEventUserReportedIgnored = {
50
+ hash_code: string;
51
+ date: Date;
52
+ time: Date | null;
53
+ tz: string;
54
+ user_tz: string;
55
+ duration: number | null;
56
+ title: string;
57
+ description: string | null;
58
+ address: string | null;
59
+ address_eng: string | null;
60
+ address_native: string | null;
61
+ accept_language: string | null;
62
+ reported_at: Date;
63
+ reported_by: string | null;
64
+ handled_at: Date;
65
+ handled_by: string | null;
66
+ };
67
+ export type TEventUserReportedIgnoredInsert = {
68
+ hash_code: string;
69
+ date: Date;
70
+ title: string;
71
+ user_tz: string;
72
+ } & Partial<Omit<TEventUserReportedIgnored, "hash_code" | "date" | "title" | "user_tz">>;
73
+ export type TEventUserReportedIgnoredUpdate = {
74
+ hash_code: string;
75
+ } & Partial<Omit<TEventUserReportedIgnored, "hash_code">>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=db-event-user-reported-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"db-event-user-reported-types.js","sourceRoot":"","sources":["../../src/db-types/db-event-user-reported-types.ts"],"names":[],"mappings":""}
@@ -103,4 +103,13 @@ export type ResponseTeamDetailForAdmin = BaseResponseDetail<TTeamDetail> & WithS
103
103
  mapTeamFolder?: TMapTeamFolder[];
104
104
  mapTeamEvent?: TMapTeamEvent[];
105
105
  };
106
+ export type ResponseDplusAPI<T> = {
107
+ success: boolean;
108
+ alarm?: string | null;
109
+ status?: string | null;
110
+ msg?: string | null;
111
+ dbResponse?: T | null | undefined;
112
+ error?: string | null;
113
+ missingFields?: string[] | string | null;
114
+ };
106
115
  export {};
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ export * from "./db-types/db-service-provider-types.js";
26
26
  export * from "./db-types/db-stag-types.js";
27
27
  export * from "./db-types/db-tag-types.js";
28
28
  export * from "./db-types/db-team-types.js";
29
- export * from "./db-types/db-event-user-report-types.js";
29
+ export * from "./db-types/db-event-user-reported-types.js";
30
30
  export * from "./db-types/db-user-types.js";
31
31
  export * from "./dplus-types/dplus-response-types.js";
32
32
  export * from "./fields/field-administrator.js";
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ export * from "./db-types/db-service-provider-types.js";
26
26
  export * from "./db-types/db-stag-types.js";
27
27
  export * from "./db-types/db-tag-types.js";
28
28
  export * from "./db-types/db-team-types.js";
29
- export * from "./db-types/db-event-user-report-types.js";
29
+ export * from "./db-types/db-event-user-reported-types.js";
30
30
  export * from "./db-types/db-user-types.js";
31
31
  export * from "./dplus-types/dplus-response-types.js";
32
32
  export * from "./fields/field-administrator.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAEhD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uCAAuC,CAAC;AAEtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC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Ac,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uCAAuC,CAAC;AAEtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC;AACvD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"