@feedmepos/mf-common 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app.d.ts +577 -22
- package/dist/app.js +937 -938
- package/dist/auth.d.ts +2 -1
- package/dist/store.d.ts +195 -13
- package/package.json +13 -13
package/dist/app.d.ts
CHANGED
@@ -125,6 +125,70 @@ export declare const useCoreStore: () => {
|
|
125
125
|
photoURL?: string | null | undefined;
|
126
126
|
displayName?: string | null | undefined;
|
127
127
|
phoneNumber?: string | null | undefined;
|
128
|
+
token: string;
|
129
|
+
tokenExpiredAt: {
|
130
|
+
toString: () => string;
|
131
|
+
toDateString: () => string;
|
132
|
+
toTimeString: () => string;
|
133
|
+
toLocaleString: {
|
134
|
+
(): string;
|
135
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
136
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
137
|
+
};
|
138
|
+
toLocaleDateString: {
|
139
|
+
(): string;
|
140
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
141
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
142
|
+
};
|
143
|
+
toLocaleTimeString: {
|
144
|
+
(): string;
|
145
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
146
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
147
|
+
};
|
148
|
+
valueOf: () => number;
|
149
|
+
getTime: () => number;
|
150
|
+
getFullYear: () => number;
|
151
|
+
getUTCFullYear: () => number;
|
152
|
+
getMonth: () => number;
|
153
|
+
getUTCMonth: () => number;
|
154
|
+
getDate: () => number;
|
155
|
+
getUTCDate: () => number;
|
156
|
+
getDay: () => number;
|
157
|
+
getUTCDay: () => number;
|
158
|
+
getHours: () => number;
|
159
|
+
getUTCHours: () => number;
|
160
|
+
getMinutes: () => number;
|
161
|
+
getUTCMinutes: () => number;
|
162
|
+
getSeconds: () => number;
|
163
|
+
getUTCSeconds: () => number;
|
164
|
+
getMilliseconds: () => number;
|
165
|
+
getUTCMilliseconds: () => number;
|
166
|
+
getTimezoneOffset: () => number;
|
167
|
+
setTime: (time: number) => number;
|
168
|
+
setMilliseconds: (ms: number) => number;
|
169
|
+
setUTCMilliseconds: (ms: number) => number;
|
170
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
171
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
172
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
173
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
174
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
175
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
176
|
+
setDate: (date: number) => number;
|
177
|
+
setUTCDate: (date: number) => number;
|
178
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
179
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
180
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
181
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
182
|
+
toUTCString: () => string;
|
183
|
+
toISOString: () => string;
|
184
|
+
toJSON: (key?: any) => string;
|
185
|
+
[Symbol.toPrimitive]: {
|
186
|
+
(hint: "default"): string;
|
187
|
+
(hint: "string"): string;
|
188
|
+
(hint: "number"): number;
|
189
|
+
(hint: string): string | number;
|
190
|
+
};
|
191
|
+
};
|
128
192
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
129
193
|
setAdminPermisssions: (permissions: {
|
130
194
|
fields?: string[] | undefined;
|
@@ -153,7 +217,6 @@ export declare const useCoreStore: () => {
|
|
153
217
|
actions: string | string[];
|
154
218
|
subject: string | string[];
|
155
219
|
}[];
|
156
|
-
getIdToken: () => Promise<string>;
|
157
220
|
} | null>;
|
158
221
|
namespace: import("vue").Ref<"dev" | "prod">;
|
159
222
|
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
@@ -294,6 +357,70 @@ export declare const useCoreStore: () => {
|
|
294
357
|
photoURL?: string | null | undefined;
|
295
358
|
displayName?: string | null | undefined;
|
296
359
|
phoneNumber?: string | null | undefined;
|
360
|
+
token: string;
|
361
|
+
tokenExpiredAt: {
|
362
|
+
toString: () => string;
|
363
|
+
toDateString: () => string;
|
364
|
+
toTimeString: () => string;
|
365
|
+
toLocaleString: {
|
366
|
+
(): string;
|
367
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
368
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
369
|
+
};
|
370
|
+
toLocaleDateString: {
|
371
|
+
(): string;
|
372
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
373
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
374
|
+
};
|
375
|
+
toLocaleTimeString: {
|
376
|
+
(): string;
|
377
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
378
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
379
|
+
};
|
380
|
+
valueOf: () => number;
|
381
|
+
getTime: () => number;
|
382
|
+
getFullYear: () => number;
|
383
|
+
getUTCFullYear: () => number;
|
384
|
+
getMonth: () => number;
|
385
|
+
getUTCMonth: () => number;
|
386
|
+
getDate: () => number;
|
387
|
+
getUTCDate: () => number;
|
388
|
+
getDay: () => number;
|
389
|
+
getUTCDay: () => number;
|
390
|
+
getHours: () => number;
|
391
|
+
getUTCHours: () => number;
|
392
|
+
getMinutes: () => number;
|
393
|
+
getUTCMinutes: () => number;
|
394
|
+
getSeconds: () => number;
|
395
|
+
getUTCSeconds: () => number;
|
396
|
+
getMilliseconds: () => number;
|
397
|
+
getUTCMilliseconds: () => number;
|
398
|
+
getTimezoneOffset: () => number;
|
399
|
+
setTime: (time: number) => number;
|
400
|
+
setMilliseconds: (ms: number) => number;
|
401
|
+
setUTCMilliseconds: (ms: number) => number;
|
402
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
403
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
404
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
405
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
406
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
407
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
408
|
+
setDate: (date: number) => number;
|
409
|
+
setUTCDate: (date: number) => number;
|
410
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
411
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
412
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
413
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
414
|
+
toUTCString: () => string;
|
415
|
+
toISOString: () => string;
|
416
|
+
toJSON: (key?: any) => string;
|
417
|
+
[Symbol.toPrimitive]: {
|
418
|
+
(hint: "default"): string;
|
419
|
+
(hint: "string"): string;
|
420
|
+
(hint: "number"): number;
|
421
|
+
(hint: string): string | number;
|
422
|
+
};
|
423
|
+
};
|
297
424
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
298
425
|
setAdminPermisssions: (permissions: {
|
299
426
|
fields?: string[] | undefined;
|
@@ -322,7 +449,6 @@ export declare const useCoreStore: () => {
|
|
322
449
|
actions: string | string[];
|
323
450
|
subject: string | string[];
|
324
451
|
}[];
|
325
|
-
getIdToken: () => Promise<string>;
|
326
452
|
} | null;
|
327
453
|
namespace: "dev" | "prod";
|
328
454
|
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
@@ -343,6 +469,70 @@ export declare const useCoreStore: () => {
|
|
343
469
|
photoURL?: string | null | undefined;
|
344
470
|
displayName?: string | null | undefined;
|
345
471
|
phoneNumber?: string | null | undefined;
|
472
|
+
token: string;
|
473
|
+
tokenExpiredAt: {
|
474
|
+
toString: () => string;
|
475
|
+
toDateString: () => string;
|
476
|
+
toTimeString: () => string;
|
477
|
+
toLocaleString: {
|
478
|
+
(): string;
|
479
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
480
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
481
|
+
};
|
482
|
+
toLocaleDateString: {
|
483
|
+
(): string;
|
484
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
485
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
486
|
+
};
|
487
|
+
toLocaleTimeString: {
|
488
|
+
(): string;
|
489
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
490
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
491
|
+
};
|
492
|
+
valueOf: () => number;
|
493
|
+
getTime: () => number;
|
494
|
+
getFullYear: () => number;
|
495
|
+
getUTCFullYear: () => number;
|
496
|
+
getMonth: () => number;
|
497
|
+
getUTCMonth: () => number;
|
498
|
+
getDate: () => number;
|
499
|
+
getUTCDate: () => number;
|
500
|
+
getDay: () => number;
|
501
|
+
getUTCDay: () => number;
|
502
|
+
getHours: () => number;
|
503
|
+
getUTCHours: () => number;
|
504
|
+
getMinutes: () => number;
|
505
|
+
getUTCMinutes: () => number;
|
506
|
+
getSeconds: () => number;
|
507
|
+
getUTCSeconds: () => number;
|
508
|
+
getMilliseconds: () => number;
|
509
|
+
getUTCMilliseconds: () => number;
|
510
|
+
getTimezoneOffset: () => number;
|
511
|
+
setTime: (time: number) => number;
|
512
|
+
setMilliseconds: (ms: number) => number;
|
513
|
+
setUTCMilliseconds: (ms: number) => number;
|
514
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
515
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
516
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
517
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
518
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
519
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
520
|
+
setDate: (date: number) => number;
|
521
|
+
setUTCDate: (date: number) => number;
|
522
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
523
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
524
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
525
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
526
|
+
toUTCString: () => string;
|
527
|
+
toISOString: () => string;
|
528
|
+
toJSON: (key?: any) => string;
|
529
|
+
[Symbol.toPrimitive]: {
|
530
|
+
(hint: "default"): string;
|
531
|
+
(hint: "string"): string;
|
532
|
+
(hint: "number"): number;
|
533
|
+
(hint: string): string | number;
|
534
|
+
};
|
535
|
+
};
|
346
536
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
347
537
|
setAdminPermisssions: (permissions: {
|
348
538
|
fields?: string[] | undefined;
|
@@ -371,11 +561,8 @@ export declare const useCoreStore: () => {
|
|
371
561
|
actions: string | string[];
|
372
562
|
subject: string | string[];
|
373
563
|
}[];
|
374
|
-
getIdToken: () => Promise<string>;
|
375
564
|
} | null>;
|
376
565
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
377
|
-
signIn: () => Promise<void>;
|
378
|
-
signOut: () => void;
|
379
566
|
fetchUserAdminPermissions: () => Promise<void>;
|
380
567
|
fetchUserPermissions: () => Promise<void>;
|
381
568
|
namespace: import("vue").Ref<"dev" | "prod">;
|
@@ -641,6 +828,70 @@ export declare const useCoreStore: () => {
|
|
641
828
|
photoURL?: string | null | undefined;
|
642
829
|
displayName?: string | null | undefined;
|
643
830
|
phoneNumber?: string | null | undefined;
|
831
|
+
token: string;
|
832
|
+
tokenExpiredAt: {
|
833
|
+
toString: () => string;
|
834
|
+
toDateString: () => string;
|
835
|
+
toTimeString: () => string;
|
836
|
+
toLocaleString: {
|
837
|
+
(): string;
|
838
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
839
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
840
|
+
};
|
841
|
+
toLocaleDateString: {
|
842
|
+
(): string;
|
843
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
844
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
845
|
+
};
|
846
|
+
toLocaleTimeString: {
|
847
|
+
(): string;
|
848
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
849
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
850
|
+
};
|
851
|
+
valueOf: () => number;
|
852
|
+
getTime: () => number;
|
853
|
+
getFullYear: () => number;
|
854
|
+
getUTCFullYear: () => number;
|
855
|
+
getMonth: () => number;
|
856
|
+
getUTCMonth: () => number;
|
857
|
+
getDate: () => number;
|
858
|
+
getUTCDate: () => number;
|
859
|
+
getDay: () => number;
|
860
|
+
getUTCDay: () => number;
|
861
|
+
getHours: () => number;
|
862
|
+
getUTCHours: () => number;
|
863
|
+
getMinutes: () => number;
|
864
|
+
getUTCMinutes: () => number;
|
865
|
+
getSeconds: () => number;
|
866
|
+
getUTCSeconds: () => number;
|
867
|
+
getMilliseconds: () => number;
|
868
|
+
getUTCMilliseconds: () => number;
|
869
|
+
getTimezoneOffset: () => number;
|
870
|
+
setTime: (time: number) => number;
|
871
|
+
setMilliseconds: (ms: number) => number;
|
872
|
+
setUTCMilliseconds: (ms: number) => number;
|
873
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
874
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
875
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
876
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
877
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
878
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
879
|
+
setDate: (date: number) => number;
|
880
|
+
setUTCDate: (date: number) => number;
|
881
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
882
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
883
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
884
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
885
|
+
toUTCString: () => string;
|
886
|
+
toISOString: () => string;
|
887
|
+
toJSON: (key?: any) => string;
|
888
|
+
[Symbol.toPrimitive]: {
|
889
|
+
(hint: "default"): string;
|
890
|
+
(hint: "string"): string;
|
891
|
+
(hint: "number"): number;
|
892
|
+
(hint: string): string | number;
|
893
|
+
};
|
894
|
+
};
|
644
895
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
645
896
|
setAdminPermisssions: (permissions: {
|
646
897
|
fields?: string[] | undefined;
|
@@ -669,7 +920,6 @@ export declare const useCoreStore: () => {
|
|
669
920
|
actions: string | string[];
|
670
921
|
subject: string | string[];
|
671
922
|
}[];
|
672
|
-
getIdToken: () => Promise<string>;
|
673
923
|
} | null;
|
674
924
|
namespace: "dev" | "prod";
|
675
925
|
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
@@ -811,6 +1061,70 @@ export declare const useCoreStore: () => {
|
|
811
1061
|
photoURL?: string | null | undefined;
|
812
1062
|
displayName?: string | null | undefined;
|
813
1063
|
phoneNumber?: string | null | undefined;
|
1064
|
+
token: string;
|
1065
|
+
tokenExpiredAt: {
|
1066
|
+
toString: () => string;
|
1067
|
+
toDateString: () => string;
|
1068
|
+
toTimeString: () => string;
|
1069
|
+
toLocaleString: {
|
1070
|
+
(): string;
|
1071
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1072
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1073
|
+
};
|
1074
|
+
toLocaleDateString: {
|
1075
|
+
(): string;
|
1076
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1077
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1078
|
+
};
|
1079
|
+
toLocaleTimeString: {
|
1080
|
+
(): string;
|
1081
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1082
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1083
|
+
};
|
1084
|
+
valueOf: () => number;
|
1085
|
+
getTime: () => number;
|
1086
|
+
getFullYear: () => number;
|
1087
|
+
getUTCFullYear: () => number;
|
1088
|
+
getMonth: () => number;
|
1089
|
+
getUTCMonth: () => number;
|
1090
|
+
getDate: () => number;
|
1091
|
+
getUTCDate: () => number;
|
1092
|
+
getDay: () => number;
|
1093
|
+
getUTCDay: () => number;
|
1094
|
+
getHours: () => number;
|
1095
|
+
getUTCHours: () => number;
|
1096
|
+
getMinutes: () => number;
|
1097
|
+
getUTCMinutes: () => number;
|
1098
|
+
getSeconds: () => number;
|
1099
|
+
getUTCSeconds: () => number;
|
1100
|
+
getMilliseconds: () => number;
|
1101
|
+
getUTCMilliseconds: () => number;
|
1102
|
+
getTimezoneOffset: () => number;
|
1103
|
+
setTime: (time: number) => number;
|
1104
|
+
setMilliseconds: (ms: number) => number;
|
1105
|
+
setUTCMilliseconds: (ms: number) => number;
|
1106
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1107
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1108
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1109
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1110
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1111
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1112
|
+
setDate: (date: number) => number;
|
1113
|
+
setUTCDate: (date: number) => number;
|
1114
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
1115
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1116
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1117
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1118
|
+
toUTCString: () => string;
|
1119
|
+
toISOString: () => string;
|
1120
|
+
toJSON: (key?: any) => string;
|
1121
|
+
[Symbol.toPrimitive]: {
|
1122
|
+
(hint: "default"): string;
|
1123
|
+
(hint: "string"): string;
|
1124
|
+
(hint: "number"): number;
|
1125
|
+
(hint: string): string | number;
|
1126
|
+
};
|
1127
|
+
};
|
814
1128
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
815
1129
|
setAdminPermisssions: (permissions: {
|
816
1130
|
fields?: string[] | undefined;
|
@@ -839,7 +1153,6 @@ export declare const useCoreStore: () => {
|
|
839
1153
|
actions: string | string[];
|
840
1154
|
subject: string | string[];
|
841
1155
|
}[];
|
842
|
-
getIdToken: () => Promise<string>;
|
843
1156
|
} | null;
|
844
1157
|
namespace: "dev" | "prod";
|
845
1158
|
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
@@ -862,6 +1175,70 @@ export declare const useCoreStore: () => {
|
|
862
1175
|
photoURL?: string | null | undefined;
|
863
1176
|
displayName?: string | null | undefined;
|
864
1177
|
phoneNumber?: string | null | undefined;
|
1178
|
+
token: string;
|
1179
|
+
tokenExpiredAt: {
|
1180
|
+
toString: () => string;
|
1181
|
+
toDateString: () => string;
|
1182
|
+
toTimeString: () => string;
|
1183
|
+
toLocaleString: {
|
1184
|
+
(): string;
|
1185
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1186
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1187
|
+
};
|
1188
|
+
toLocaleDateString: {
|
1189
|
+
(): string;
|
1190
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1191
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1192
|
+
};
|
1193
|
+
toLocaleTimeString: {
|
1194
|
+
(): string;
|
1195
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1196
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1197
|
+
};
|
1198
|
+
valueOf: () => number;
|
1199
|
+
getTime: () => number;
|
1200
|
+
getFullYear: () => number;
|
1201
|
+
getUTCFullYear: () => number;
|
1202
|
+
getMonth: () => number;
|
1203
|
+
getUTCMonth: () => number;
|
1204
|
+
getDate: () => number;
|
1205
|
+
getUTCDate: () => number;
|
1206
|
+
getDay: () => number;
|
1207
|
+
getUTCDay: () => number;
|
1208
|
+
getHours: () => number;
|
1209
|
+
getUTCHours: () => number;
|
1210
|
+
getMinutes: () => number;
|
1211
|
+
getUTCMinutes: () => number;
|
1212
|
+
getSeconds: () => number;
|
1213
|
+
getUTCSeconds: () => number;
|
1214
|
+
getMilliseconds: () => number;
|
1215
|
+
getUTCMilliseconds: () => number;
|
1216
|
+
getTimezoneOffset: () => number;
|
1217
|
+
setTime: (time: number) => number;
|
1218
|
+
setMilliseconds: (ms: number) => number;
|
1219
|
+
setUTCMilliseconds: (ms: number) => number;
|
1220
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1221
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1222
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1223
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1224
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1225
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1226
|
+
setDate: (date: number) => number;
|
1227
|
+
setUTCDate: (date: number) => number;
|
1228
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
1229
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1230
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1231
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1232
|
+
toUTCString: () => string;
|
1233
|
+
toISOString: () => string;
|
1234
|
+
toJSON: (key?: any) => string;
|
1235
|
+
[Symbol.toPrimitive]: {
|
1236
|
+
(hint: "default"): string;
|
1237
|
+
(hint: "string"): string;
|
1238
|
+
(hint: "number"): number;
|
1239
|
+
(hint: string): string | number;
|
1240
|
+
};
|
1241
|
+
};
|
865
1242
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
866
1243
|
setAdminPermisssions: (permissions: {
|
867
1244
|
fields?: string[] | undefined;
|
@@ -890,11 +1267,8 @@ export declare const useCoreStore: () => {
|
|
890
1267
|
actions: string | string[];
|
891
1268
|
subject: string | string[];
|
892
1269
|
}[];
|
893
|
-
getIdToken: () => Promise<string>;
|
894
1270
|
} | null>;
|
895
1271
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
896
|
-
signIn: () => Promise<void>;
|
897
|
-
signOut: () => void;
|
898
1272
|
fetchUserAdminPermissions: () => Promise<void>;
|
899
1273
|
fetchUserPermissions: () => Promise<void>;
|
900
1274
|
namespace: import("vue").Ref<"dev" | "prod">;
|
@@ -1042,6 +1416,70 @@ export declare const useCoreStore: () => {
|
|
1042
1416
|
photoURL?: string | null | undefined;
|
1043
1417
|
displayName?: string | null | undefined;
|
1044
1418
|
phoneNumber?: string | null | undefined;
|
1419
|
+
token: string;
|
1420
|
+
tokenExpiredAt: {
|
1421
|
+
toString: () => string;
|
1422
|
+
toDateString: () => string;
|
1423
|
+
toTimeString: () => string;
|
1424
|
+
toLocaleString: {
|
1425
|
+
(): string;
|
1426
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1427
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1428
|
+
};
|
1429
|
+
toLocaleDateString: {
|
1430
|
+
(): string;
|
1431
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1432
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1433
|
+
};
|
1434
|
+
toLocaleTimeString: {
|
1435
|
+
(): string;
|
1436
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1437
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1438
|
+
};
|
1439
|
+
valueOf: () => number;
|
1440
|
+
getTime: () => number;
|
1441
|
+
getFullYear: () => number;
|
1442
|
+
getUTCFullYear: () => number;
|
1443
|
+
getMonth: () => number;
|
1444
|
+
getUTCMonth: () => number;
|
1445
|
+
getDate: () => number;
|
1446
|
+
getUTCDate: () => number;
|
1447
|
+
getDay: () => number;
|
1448
|
+
getUTCDay: () => number;
|
1449
|
+
getHours: () => number;
|
1450
|
+
getUTCHours: () => number;
|
1451
|
+
getMinutes: () => number;
|
1452
|
+
getUTCMinutes: () => number;
|
1453
|
+
getSeconds: () => number;
|
1454
|
+
getUTCSeconds: () => number;
|
1455
|
+
getMilliseconds: () => number;
|
1456
|
+
getUTCMilliseconds: () => number;
|
1457
|
+
getTimezoneOffset: () => number;
|
1458
|
+
setTime: (time: number) => number;
|
1459
|
+
setMilliseconds: (ms: number) => number;
|
1460
|
+
setUTCMilliseconds: (ms: number) => number;
|
1461
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1462
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1463
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1464
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1465
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1466
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1467
|
+
setDate: (date: number) => number;
|
1468
|
+
setUTCDate: (date: number) => number;
|
1469
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
1470
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1471
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1472
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1473
|
+
toUTCString: () => string;
|
1474
|
+
toISOString: () => string;
|
1475
|
+
toJSON: (key?: any) => string;
|
1476
|
+
[Symbol.toPrimitive]: {
|
1477
|
+
(hint: "default"): string;
|
1478
|
+
(hint: "string"): string;
|
1479
|
+
(hint: "number"): number;
|
1480
|
+
(hint: string): string | number;
|
1481
|
+
};
|
1482
|
+
};
|
1045
1483
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
1046
1484
|
setAdminPermisssions: (permissions: {
|
1047
1485
|
fields?: string[] | undefined;
|
@@ -1070,11 +1508,8 @@ export declare const useCoreStore: () => {
|
|
1070
1508
|
actions: string | string[];
|
1071
1509
|
subject: string | string[];
|
1072
1510
|
}[];
|
1073
|
-
getIdToken: () => Promise<string>;
|
1074
1511
|
} | null>;
|
1075
1512
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
1076
|
-
signIn: () => Promise<void>;
|
1077
|
-
signOut: () => void;
|
1078
1513
|
fetchUserAdminPermissions: () => Promise<void>;
|
1079
1514
|
fetchUserPermissions: () => Promise<void>;
|
1080
1515
|
namespace: import("vue").Ref<"dev" | "prod">;
|
@@ -1219,6 +1654,70 @@ export declare const useCoreStore: () => {
|
|
1219
1654
|
photoURL?: string | null | undefined;
|
1220
1655
|
displayName?: string | null | undefined;
|
1221
1656
|
phoneNumber?: string | null | undefined;
|
1657
|
+
token: string;
|
1658
|
+
tokenExpiredAt: {
|
1659
|
+
toString: () => string;
|
1660
|
+
toDateString: () => string;
|
1661
|
+
toTimeString: () => string;
|
1662
|
+
toLocaleString: {
|
1663
|
+
(): string;
|
1664
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1665
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1666
|
+
};
|
1667
|
+
toLocaleDateString: {
|
1668
|
+
(): string;
|
1669
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1670
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1671
|
+
};
|
1672
|
+
toLocaleTimeString: {
|
1673
|
+
(): string;
|
1674
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1675
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1676
|
+
};
|
1677
|
+
valueOf: () => number;
|
1678
|
+
getTime: () => number;
|
1679
|
+
getFullYear: () => number;
|
1680
|
+
getUTCFullYear: () => number;
|
1681
|
+
getMonth: () => number;
|
1682
|
+
getUTCMonth: () => number;
|
1683
|
+
getDate: () => number;
|
1684
|
+
getUTCDate: () => number;
|
1685
|
+
getDay: () => number;
|
1686
|
+
getUTCDay: () => number;
|
1687
|
+
getHours: () => number;
|
1688
|
+
getUTCHours: () => number;
|
1689
|
+
getMinutes: () => number;
|
1690
|
+
getUTCMinutes: () => number;
|
1691
|
+
getSeconds: () => number;
|
1692
|
+
getUTCSeconds: () => number;
|
1693
|
+
getMilliseconds: () => number;
|
1694
|
+
getUTCMilliseconds: () => number;
|
1695
|
+
getTimezoneOffset: () => number;
|
1696
|
+
setTime: (time: number) => number;
|
1697
|
+
setMilliseconds: (ms: number) => number;
|
1698
|
+
setUTCMilliseconds: (ms: number) => number;
|
1699
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1700
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1701
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1702
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1703
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1704
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1705
|
+
setDate: (date: number) => number;
|
1706
|
+
setUTCDate: (date: number) => number;
|
1707
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
1708
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1709
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1710
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1711
|
+
toUTCString: () => string;
|
1712
|
+
toISOString: () => string;
|
1713
|
+
toJSON: (key?: any) => string;
|
1714
|
+
[Symbol.toPrimitive]: {
|
1715
|
+
(hint: "default"): string;
|
1716
|
+
(hint: "string"): string;
|
1717
|
+
(hint: "number"): number;
|
1718
|
+
(hint: string): string | number;
|
1719
|
+
};
|
1720
|
+
};
|
1222
1721
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
1223
1722
|
setAdminPermisssions: (permissions: {
|
1224
1723
|
fields?: string[] | undefined;
|
@@ -1247,11 +1746,8 @@ export declare const useCoreStore: () => {
|
|
1247
1746
|
actions: string | string[];
|
1248
1747
|
subject: string | string[];
|
1249
1748
|
}[];
|
1250
|
-
getIdToken: () => Promise<string>;
|
1251
1749
|
} | null>;
|
1252
1750
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
1253
|
-
signIn: () => Promise<void>;
|
1254
|
-
signOut: () => void;
|
1255
1751
|
fetchUserAdminPermissions: () => Promise<void>;
|
1256
1752
|
fetchUserPermissions: () => Promise<void>;
|
1257
1753
|
namespace: import("vue").Ref<"dev" | "prod">;
|
@@ -1396,6 +1892,70 @@ export declare const useCoreStore: () => {
|
|
1396
1892
|
photoURL?: string | null | undefined;
|
1397
1893
|
displayName?: string | null | undefined;
|
1398
1894
|
phoneNumber?: string | null | undefined;
|
1895
|
+
token: string;
|
1896
|
+
tokenExpiredAt: {
|
1897
|
+
toString: () => string;
|
1898
|
+
toDateString: () => string;
|
1899
|
+
toTimeString: () => string;
|
1900
|
+
toLocaleString: {
|
1901
|
+
(): string;
|
1902
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1903
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1904
|
+
};
|
1905
|
+
toLocaleDateString: {
|
1906
|
+
(): string;
|
1907
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1908
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1909
|
+
};
|
1910
|
+
toLocaleTimeString: {
|
1911
|
+
(): string;
|
1912
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1913
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1914
|
+
};
|
1915
|
+
valueOf: () => number;
|
1916
|
+
getTime: () => number;
|
1917
|
+
getFullYear: () => number;
|
1918
|
+
getUTCFullYear: () => number;
|
1919
|
+
getMonth: () => number;
|
1920
|
+
getUTCMonth: () => number;
|
1921
|
+
getDate: () => number;
|
1922
|
+
getUTCDate: () => number;
|
1923
|
+
getDay: () => number;
|
1924
|
+
getUTCDay: () => number;
|
1925
|
+
getHours: () => number;
|
1926
|
+
getUTCHours: () => number;
|
1927
|
+
getMinutes: () => number;
|
1928
|
+
getUTCMinutes: () => number;
|
1929
|
+
getSeconds: () => number;
|
1930
|
+
getUTCSeconds: () => number;
|
1931
|
+
getMilliseconds: () => number;
|
1932
|
+
getUTCMilliseconds: () => number;
|
1933
|
+
getTimezoneOffset: () => number;
|
1934
|
+
setTime: (time: number) => number;
|
1935
|
+
setMilliseconds: (ms: number) => number;
|
1936
|
+
setUTCMilliseconds: (ms: number) => number;
|
1937
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1938
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1939
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1940
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1941
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1942
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1943
|
+
setDate: (date: number) => number;
|
1944
|
+
setUTCDate: (date: number) => number;
|
1945
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
1946
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1947
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1948
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1949
|
+
toUTCString: () => string;
|
1950
|
+
toISOString: () => string;
|
1951
|
+
toJSON: (key?: any) => string;
|
1952
|
+
[Symbol.toPrimitive]: {
|
1953
|
+
(hint: "default"): string;
|
1954
|
+
(hint: "string"): string;
|
1955
|
+
(hint: "number"): number;
|
1956
|
+
(hint: string): string | number;
|
1957
|
+
};
|
1958
|
+
};
|
1399
1959
|
setToken: (token: string, tokenExpiredAt: Date) => void;
|
1400
1960
|
setAdminPermisssions: (permissions: {
|
1401
1961
|
fields?: string[] | undefined;
|
@@ -1424,11 +1984,8 @@ export declare const useCoreStore: () => {
|
|
1424
1984
|
actions: string | string[];
|
1425
1985
|
subject: string | string[];
|
1426
1986
|
}[];
|
1427
|
-
getIdToken: () => Promise<string>;
|
1428
1987
|
} | null>;
|
1429
1988
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
1430
|
-
signIn: () => Promise<void>;
|
1431
|
-
signOut: () => void;
|
1432
1989
|
fetchUserAdminPermissions: () => Promise<void>;
|
1433
1990
|
fetchUserPermissions: () => Promise<void>;
|
1434
1991
|
namespace: import("vue").Ref<"dev" | "prod">;
|
@@ -1566,13 +2123,11 @@ export declare const useCoreStore: () => {
|
|
1566
2123
|
readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
|
1567
2124
|
changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
|
1568
2125
|
setCurrentApp: (app: string) => void;
|
1569
|
-
}, "setUser" | "
|
2126
|
+
}, "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "readRestaurants" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "setCurrentApp">>, detached?: boolean | undefined): () => void;
|
1570
2127
|
$dispose(): void;
|
1571
2128
|
$id: "portal-core";
|
1572
2129
|
_customProperties: Set<string>;
|
1573
2130
|
setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
|
1574
|
-
signIn: () => Promise<void>;
|
1575
|
-
signOut: () => void;
|
1576
2131
|
fetchUserAdminPermissions: () => Promise<void>;
|
1577
2132
|
fetchUserPermissions: () => Promise<void>;
|
1578
2133
|
readRestaurants: () => Promise<void>;
|