Variable MJFileStorageAccountPermissionSchemaConst
MJFileStorageAccountPermissionSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CanRead: ZodBoolean;
CanWrite: ZodBoolean;
FileStorageAccount: ZodString;
FileStorageAccountID: ZodString;
ID: ZodString;
Role: ZodNullable<ZodString>;
RoleID: ZodNullable<ZodString>;
Type: ZodUnion<
[ZodLiteral<"Everyone">, ZodLiteral<"Role">, ZodLiteral<"User">],
>;
User: ZodNullable<ZodString>;
UserID: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CanRead?: boolean;
CanWrite?: boolean;
FileStorageAccount?: string;
FileStorageAccountID?: string;
ID?: string;
Role?: string;
RoleID?: string;
Type?: "Everyone"
| "Role"
| "User";
User?: string;
UserID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CanRead?: boolean;
CanWrite?: boolean;
FileStorageAccount?: string;
FileStorageAccountID?: string;
ID?: string;
Role?: string;
RoleID?: string;
Type?: "Everyone"
| "Role"
| "User";
User?: string;
UserID?: string;
},
> = ...
zod schema definition for the entity MJ: File Storage Account Permissions