mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
55 lines (54 loc) • 2.11 kB
JavaScript
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SiteAccountInputSchema = void 0;
const z = __importStar(require("zod"));
const _common_1 = require("./_common");
// import { jsonSchema } from "./core"
// import { SiteAccountModel } from "@/prisma/zod/siteaccount"
exports.SiteAccountInputSchema = z.object({
// id: z.string(),
createdAt: z.date(),
updatedAt: z.date(),
title: z.string().nullish(),
ownerId: z.string().nullish(),
domainName: z.string(),
user: z.string(),
password: z.string(),
email: z.string().nullish(),
mobile: z.string().nullish(),
ip_country: z.string().nullish(),
ip_city: z.string().nullish(),
ip_provider: z.string().nullish(),
ip_type: z.string().nullish(),
userAgent: z.string().nullish(),
driver: z.string().nullish(),
browserId: z.string().nullish(),
extends: _common_1.jsonSchema.nullish(),
});
// export const SiteAccountOutputSchema = SiteAccountModel.extend({
// extends: z.any()
// // extends: jsonSchema.nullish().optional()
// })
;