dplus_common_v1 0.1.61 → 0.1.63
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.
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { TCategoryDetail } from "../types/types-category/t-category";
|
|
1
|
+
import { TCategoryDetail, TCategoryLabelInfo } from "../types/types-category/t-category";
|
|
2
2
|
import { TCategoryI18n } from "../types/types-category/t-category-i18n";
|
|
3
3
|
import { TCategoryMetadataI18nDetail } from "../types/types-category/t-category-metadata-i18n";
|
|
4
|
-
import { TCityDetail } from "../types/types-city/t-city";
|
|
4
|
+
import { TCityDetail, TCityLabelInfo } from "../types/types-city/t-city";
|
|
5
5
|
import { TCityI18n } from "../types/types-city/t-city-i18n";
|
|
6
6
|
import { TCityImage } from "../types/types-city/t-city-image";
|
|
7
7
|
import { TCityMetadataI18nDetail } from "../types/types-city/t-city-metadata-i18n";
|
|
8
8
|
import { TCityYouTubeVideo } from "../types/types-city/t-city-youtube-video";
|
|
9
|
-
import { TEventDetail } from "../types/types-event/t-event";
|
|
9
|
+
import { TEventCard, TEventDetail } from "../types/types-event/t-event";
|
|
10
10
|
import { TEventImage } from "../types/types-event/t-event-image";
|
|
11
11
|
import { TEventMetadataI18nDetail } from "../types/types-event/t-event-metadata-i18n";
|
|
12
|
-
import { TFolderDetail } from "../types/types-folder/t-folder";
|
|
12
|
+
import { TFolderDetail, TFolderSummaryInfo } from "../types/types-folder/t-folder";
|
|
13
13
|
import { TFolderImage } from "../types/types-folder/t-folder-image";
|
|
14
14
|
import { TFolderMetadataI18nDetail } from "../types/types-folder/t-folder-metadata-i18n";
|
|
15
|
-
import { TGroupDetail } from "../types/types-group/t-group";
|
|
15
|
+
import { TGroupDetail, TGroupLabelInfo } from "../types/types-group/t-group";
|
|
16
16
|
import { TGroupImage } from "../types/types-group/t-group-image";
|
|
17
17
|
import { TGroupMetadataI18nDetail } from "../types/types-group/t-group-metadata-i18n";
|
|
18
18
|
import { TMapCategoryEventWithCategoryInfo, TMapCategoryEventWithEventInfo } from "../types/types-map/t-map-category-event";
|
|
@@ -26,10 +26,10 @@ import { TMapStagEventWithEventInfo, TMapStagEventWithStagInfo } from "../types/
|
|
|
26
26
|
import { TMapStagFolderWithFolderInfo, TMapStagFolderWithStagInfo } from "../types/types-map/t-map-stag-folder";
|
|
27
27
|
import { TMapTagEventWithEventInfo, TMapTagEventWithTagInfo } from "../types/types-map/t-map-tag-event";
|
|
28
28
|
import { TMapTagFolderWithFolderInfo, TMapTagFolderWithTagInfo } from "../types/types-map/t-map-tag-folder";
|
|
29
|
-
import { TStagDetail } from "../types/types-stag/t-stag";
|
|
29
|
+
import { TStagDetail, TStagLabelInfo } from "../types/types-stag/t-stag";
|
|
30
30
|
import { TStagI18n } from "../types/types-stag/t-stag-i18n";
|
|
31
31
|
import { TStagMetadataI18nDetail } from "../types/types-stag/t-stag-metadata-i18n";
|
|
32
|
-
import { TTag } from "../types/types-tag/t-tag";
|
|
32
|
+
import { TTag, TTagLabelInfo } from "../types/types-tag/t-tag";
|
|
33
33
|
export type ResponseDBSelect<T> = {
|
|
34
34
|
data: T;
|
|
35
35
|
count?: number;
|
|
@@ -190,6 +190,98 @@ export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, TG
|
|
|
190
190
|
mapGroupFolder?: TMapGroupFolderWithFolderInfo[];
|
|
191
191
|
mapGroupEvent?: TMapGroupEventWithEventInfo[];
|
|
192
192
|
};
|
|
193
|
+
/**
|
|
194
|
+
* 날짜 상세 응답 타입 For Admin
|
|
195
|
+
*/
|
|
196
|
+
export type ResponseDateDetailForAdmin = {
|
|
197
|
+
date: string;
|
|
198
|
+
events: TEventCard & {
|
|
199
|
+
folders: TFolderSummaryInfo[];
|
|
200
|
+
cities: TCityLabelInfo[];
|
|
201
|
+
categories: TCategoryLabelInfo[];
|
|
202
|
+
stags: TStagLabelInfo[];
|
|
203
|
+
tags: TTagLabelInfo[];
|
|
204
|
+
groups: TGroupLabelInfo[];
|
|
205
|
+
}[];
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* 날짜 상세 응답 타입 For User Front
|
|
209
|
+
*/
|
|
210
|
+
export type ResponseDateDetailForUserFront = {
|
|
211
|
+
date: string;
|
|
212
|
+
events: TEventCard & {
|
|
213
|
+
folders: TFolderSummaryInfo[];
|
|
214
|
+
cities: TCityLabelInfo[];
|
|
215
|
+
categories: TCategoryLabelInfo[];
|
|
216
|
+
stags: TStagLabelInfo[];
|
|
217
|
+
tags: TTagLabelInfo[];
|
|
218
|
+
groups: TGroupLabelInfo[];
|
|
219
|
+
}[];
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* 오늘 날짜 상세 응답 타입 For Admin
|
|
223
|
+
*/
|
|
224
|
+
export type ResponseTodayDetailForAdmin = {
|
|
225
|
+
today: string;
|
|
226
|
+
events: TEventCard & {
|
|
227
|
+
folders: TFolderSummaryInfo[];
|
|
228
|
+
cities: TCityLabelInfo[];
|
|
229
|
+
categories: TCategoryLabelInfo[];
|
|
230
|
+
stags: TStagLabelInfo[];
|
|
231
|
+
tags: TTagLabelInfo[];
|
|
232
|
+
groups: TGroupLabelInfo[];
|
|
233
|
+
}[];
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* 오늘 날짜 상세 응답 타입 For User Front
|
|
237
|
+
*/
|
|
238
|
+
export type ResponseTodayDetailForUserFront = {
|
|
239
|
+
today: string;
|
|
240
|
+
events: TEventCard & {
|
|
241
|
+
folders: TFolderSummaryInfo[];
|
|
242
|
+
cities: TCityLabelInfo[];
|
|
243
|
+
categories: TCategoryLabelInfo[];
|
|
244
|
+
stags: TStagLabelInfo[];
|
|
245
|
+
tags: TTagLabelInfo[];
|
|
246
|
+
groups: TGroupLabelInfo[];
|
|
247
|
+
}[];
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* 주변 날짜 상세 응답 타입 For Admin
|
|
251
|
+
*/
|
|
252
|
+
export type ResponseNearbyDetailForAdmin = {
|
|
253
|
+
nearby: {
|
|
254
|
+
latitude: number;
|
|
255
|
+
longitude: number;
|
|
256
|
+
distance_km: number;
|
|
257
|
+
};
|
|
258
|
+
events: TEventCard & {
|
|
259
|
+
folders: TFolderSummaryInfo[];
|
|
260
|
+
cities: TCityLabelInfo[];
|
|
261
|
+
categories: TCategoryLabelInfo[];
|
|
262
|
+
stags: TStagLabelInfo[];
|
|
263
|
+
tags: TTagLabelInfo[];
|
|
264
|
+
groups: TGroupLabelInfo[];
|
|
265
|
+
}[];
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* 주변 날짜 상세 응답 타입 For User Front
|
|
269
|
+
*/
|
|
270
|
+
export type ResponseNearbyDetailForUserFront = {
|
|
271
|
+
nearby: {
|
|
272
|
+
latitude: number;
|
|
273
|
+
longitude: number;
|
|
274
|
+
distance_km: number;
|
|
275
|
+
};
|
|
276
|
+
events: TEventCard & {
|
|
277
|
+
folders: TFolderSummaryInfo[];
|
|
278
|
+
cities: TCityLabelInfo[];
|
|
279
|
+
categories: TCategoryLabelInfo[];
|
|
280
|
+
stags: TStagLabelInfo[];
|
|
281
|
+
tags: TTagLabelInfo[];
|
|
282
|
+
groups: TGroupLabelInfo[];
|
|
283
|
+
}[];
|
|
284
|
+
};
|
|
193
285
|
export type ResponseDplusAPI<T> = {
|
|
194
286
|
success: boolean;
|
|
195
287
|
alarm?: string | null;
|
|
@@ -13,6 +13,13 @@ export declare const F_ADMINISTRATOR: {
|
|
|
13
13
|
max_length: number;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
};
|
|
16
|
+
password: {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
is_required: boolean;
|
|
20
|
+
max_length: number;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
};
|
|
16
23
|
password_hash: {
|
|
17
24
|
id: string;
|
|
18
25
|
label: string;
|
|
@@ -13,6 +13,13 @@ export const F_ADMINISTRATOR = {
|
|
|
13
13
|
max_length: 320,
|
|
14
14
|
placeholder: "ex. admin@example.com",
|
|
15
15
|
},
|
|
16
|
+
password: {
|
|
17
|
+
id: "password",
|
|
18
|
+
label: "Password",
|
|
19
|
+
is_required: true,
|
|
20
|
+
max_length: 96,
|
|
21
|
+
placeholder: "ex. Password",
|
|
22
|
+
},
|
|
16
23
|
password_hash: {
|
|
17
24
|
id: "password_hash",
|
|
18
25
|
label: "Password Hash",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"f-administrator.js","sourceRoot":"","sources":["../../../src/fields/fields-administrator/f-administrator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,QAAQ,EAAE;QACR,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,+BAA+B;KAC7C;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,GAAG;QACf,WAAW,EAAE,uBAAuB;KACrC;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,qBAAqB;KACnC;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,cAAc;KAC5B;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,GAAG;QACf,WAAW,EAAE,yCAAyC;KACvD;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,2CAA2C;KACzD;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,IAAI;KACjB;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,yBAAyB;QAC7B,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,KAAK;QAClB,WAAW,EAAE,yBAAyB;KACvC;IACD,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,yBAAyB;KACvC;IACD,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;IACD,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,yBAAyB;KACvC;IACD,gBAAgB,EAAE;QAChB,EAAE,EAAE,kBAAkB;QACtB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,yBAAyB;KACvC;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,IAAI;QACjB,aAAa,EAAE,IAAI;KACpB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,KAAK;KACnB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;KACf;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"f-administrator.js","sourceRoot":"","sources":["../../../src/fields/fields-administrator/f-administrator.ts"],"names":[],"mapp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