@blackcode_sa/metaestetics-api 1.7.4 → 1.7.5
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/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +1019 -1012
- package/dist/index.mjs +291 -284
- package/package.json +1 -1
- package/src/services/media/media.service.ts +330 -0
- package/src/types/index.ts +7 -7
- package/src/validations/schemas.ts +17 -6
package/dist/index.d.mts
CHANGED
|
@@ -5350,9 +5350,9 @@ interface User {
|
|
|
5350
5350
|
email: string | null;
|
|
5351
5351
|
roles: UserRole[];
|
|
5352
5352
|
isAnonymous: boolean;
|
|
5353
|
-
createdAt: Timestamp | FieldValue;
|
|
5354
|
-
updatedAt: Timestamp | FieldValue;
|
|
5355
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
5353
|
+
createdAt: Timestamp | FieldValue | (() => FieldValue);
|
|
5354
|
+
updatedAt: Timestamp | FieldValue | (() => FieldValue);
|
|
5355
|
+
lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
|
|
5356
5356
|
patientProfile?: string;
|
|
5357
5357
|
practitionerProfile?: string;
|
|
5358
5358
|
adminProfile?: string;
|
|
@@ -5362,9 +5362,9 @@ interface CreateUserData {
|
|
|
5362
5362
|
email: string | null;
|
|
5363
5363
|
roles: UserRole[];
|
|
5364
5364
|
isAnonymous: boolean;
|
|
5365
|
-
createdAt: FieldValue;
|
|
5366
|
-
updatedAt: FieldValue;
|
|
5367
|
-
lastLoginAt: FieldValue;
|
|
5365
|
+
createdAt: FieldValue | Timestamp | (() => FieldValue);
|
|
5366
|
+
updatedAt: FieldValue | Timestamp | (() => FieldValue);
|
|
5367
|
+
lastLoginAt: FieldValue | Timestamp | (() => FieldValue);
|
|
5368
5368
|
}
|
|
5369
5369
|
type FirebaseUser = User$1;
|
|
5370
5370
|
|
|
@@ -7653,7 +7653,7 @@ declare const emailSchema: z.ZodString;
|
|
|
7653
7653
|
declare const passwordSchema: z.ZodString;
|
|
7654
7654
|
declare const userRoleSchema: z.ZodNativeEnum<typeof UserRole>;
|
|
7655
7655
|
declare const userRolesSchema: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
|
|
7656
|
-
declare const timestampSchema: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7656
|
+
declare const timestampSchema: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7657
7657
|
/**
|
|
7658
7658
|
* Validaciona šema za clinic admin opcije pri kreiranju
|
|
7659
7659
|
*/
|
|
@@ -7721,31 +7721,31 @@ declare const userSchema: z.ZodObject<{
|
|
|
7721
7721
|
email: z.ZodNullable<z.ZodString>;
|
|
7722
7722
|
roles: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
|
|
7723
7723
|
isAnonymous: z.ZodBoolean;
|
|
7724
|
-
createdAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7725
|
-
updatedAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7726
|
-
lastLoginAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7724
|
+
createdAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7725
|
+
updatedAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7726
|
+
lastLoginAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7727
7727
|
patientProfile: z.ZodOptional<z.ZodString>;
|
|
7728
7728
|
practitionerProfile: z.ZodOptional<z.ZodString>;
|
|
7729
7729
|
adminProfile: z.ZodOptional<z.ZodString>;
|
|
7730
7730
|
}, "strip", z.ZodTypeAny, {
|
|
7731
|
-
createdAt: Timestamp | FieldValue;
|
|
7732
|
-
updatedAt: Timestamp | FieldValue;
|
|
7731
|
+
createdAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7732
|
+
updatedAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7733
7733
|
email: string | null;
|
|
7734
7734
|
uid: string;
|
|
7735
7735
|
roles: UserRole[];
|
|
7736
7736
|
isAnonymous: boolean;
|
|
7737
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
7737
|
+
lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7738
7738
|
patientProfile?: string | undefined;
|
|
7739
7739
|
practitionerProfile?: string | undefined;
|
|
7740
7740
|
adminProfile?: string | undefined;
|
|
7741
7741
|
}, {
|
|
7742
|
-
createdAt: Timestamp | FieldValue;
|
|
7743
|
-
updatedAt: Timestamp | FieldValue;
|
|
7742
|
+
createdAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7743
|
+
updatedAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7744
7744
|
email: string | null;
|
|
7745
7745
|
uid: string;
|
|
7746
7746
|
roles: UserRole[];
|
|
7747
7747
|
isAnonymous: boolean;
|
|
7748
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
7748
|
+
lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7749
7749
|
patientProfile?: string | undefined;
|
|
7750
7750
|
practitionerProfile?: string | undefined;
|
|
7751
7751
|
adminProfile?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -5350,9 +5350,9 @@ interface User {
|
|
|
5350
5350
|
email: string | null;
|
|
5351
5351
|
roles: UserRole[];
|
|
5352
5352
|
isAnonymous: boolean;
|
|
5353
|
-
createdAt: Timestamp | FieldValue;
|
|
5354
|
-
updatedAt: Timestamp | FieldValue;
|
|
5355
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
5353
|
+
createdAt: Timestamp | FieldValue | (() => FieldValue);
|
|
5354
|
+
updatedAt: Timestamp | FieldValue | (() => FieldValue);
|
|
5355
|
+
lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
|
|
5356
5356
|
patientProfile?: string;
|
|
5357
5357
|
practitionerProfile?: string;
|
|
5358
5358
|
adminProfile?: string;
|
|
@@ -5362,9 +5362,9 @@ interface CreateUserData {
|
|
|
5362
5362
|
email: string | null;
|
|
5363
5363
|
roles: UserRole[];
|
|
5364
5364
|
isAnonymous: boolean;
|
|
5365
|
-
createdAt: FieldValue;
|
|
5366
|
-
updatedAt: FieldValue;
|
|
5367
|
-
lastLoginAt: FieldValue;
|
|
5365
|
+
createdAt: FieldValue | Timestamp | (() => FieldValue);
|
|
5366
|
+
updatedAt: FieldValue | Timestamp | (() => FieldValue);
|
|
5367
|
+
lastLoginAt: FieldValue | Timestamp | (() => FieldValue);
|
|
5368
5368
|
}
|
|
5369
5369
|
type FirebaseUser = User$1;
|
|
5370
5370
|
|
|
@@ -7653,7 +7653,7 @@ declare const emailSchema: z.ZodString;
|
|
|
7653
7653
|
declare const passwordSchema: z.ZodString;
|
|
7654
7654
|
declare const userRoleSchema: z.ZodNativeEnum<typeof UserRole>;
|
|
7655
7655
|
declare const userRolesSchema: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
|
|
7656
|
-
declare const timestampSchema: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7656
|
+
declare const timestampSchema: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7657
7657
|
/**
|
|
7658
7658
|
* Validaciona šema za clinic admin opcije pri kreiranju
|
|
7659
7659
|
*/
|
|
@@ -7721,31 +7721,31 @@ declare const userSchema: z.ZodObject<{
|
|
|
7721
7721
|
email: z.ZodNullable<z.ZodString>;
|
|
7722
7722
|
roles: z.ZodArray<z.ZodNativeEnum<typeof UserRole>, "many">;
|
|
7723
7723
|
isAnonymous: z.ZodBoolean;
|
|
7724
|
-
createdAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7725
|
-
updatedAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7726
|
-
lastLoginAt: z.ZodType<Timestamp | FieldValue, z.ZodTypeDef, Timestamp | FieldValue>;
|
|
7724
|
+
createdAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7725
|
+
updatedAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7726
|
+
lastLoginAt: z.ZodType<Timestamp | FieldValue | (() => FieldValue), z.ZodTypeDef, Timestamp | FieldValue | (() => FieldValue)>;
|
|
7727
7727
|
patientProfile: z.ZodOptional<z.ZodString>;
|
|
7728
7728
|
practitionerProfile: z.ZodOptional<z.ZodString>;
|
|
7729
7729
|
adminProfile: z.ZodOptional<z.ZodString>;
|
|
7730
7730
|
}, "strip", z.ZodTypeAny, {
|
|
7731
|
-
createdAt: Timestamp | FieldValue;
|
|
7732
|
-
updatedAt: Timestamp | FieldValue;
|
|
7731
|
+
createdAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7732
|
+
updatedAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7733
7733
|
email: string | null;
|
|
7734
7734
|
uid: string;
|
|
7735
7735
|
roles: UserRole[];
|
|
7736
7736
|
isAnonymous: boolean;
|
|
7737
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
7737
|
+
lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7738
7738
|
patientProfile?: string | undefined;
|
|
7739
7739
|
practitionerProfile?: string | undefined;
|
|
7740
7740
|
adminProfile?: string | undefined;
|
|
7741
7741
|
}, {
|
|
7742
|
-
createdAt: Timestamp | FieldValue;
|
|
7743
|
-
updatedAt: Timestamp | FieldValue;
|
|
7742
|
+
createdAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7743
|
+
updatedAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7744
7744
|
email: string | null;
|
|
7745
7745
|
uid: string;
|
|
7746
7746
|
roles: UserRole[];
|
|
7747
7747
|
isAnonymous: boolean;
|
|
7748
|
-
lastLoginAt: Timestamp | FieldValue;
|
|
7748
|
+
lastLoginAt: Timestamp | FieldValue | (() => FieldValue);
|
|
7749
7749
|
patientProfile?: string | undefined;
|
|
7750
7750
|
practitionerProfile?: string | undefined;
|
|
7751
7751
|
adminProfile?: string | undefined;
|