@the-inkwell/shared 0.1.164 → 0.2.1
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/package.json +9 -4
- package/src/constants.d.ts +770 -0
- package/src/constants.d.ts.map +1 -0
- package/src/constants.js +277 -0
- package/src/constants.js.map +1 -0
- package/src/constants.ts +299 -0
- package/src/index.d.ts +4 -0
- package/src/index.d.ts.map +1 -0
- package/{dist/src/types → src}/index.js +3 -1
- package/src/index.js.map +1 -0
- package/src/index.ts +3 -0
- package/src/schema/admin/actions/index.d.ts +797 -0
- package/src/schema/admin/actions/index.d.ts.map +1 -0
- package/src/schema/admin/actions/index.js +33 -0
- package/src/schema/admin/actions/index.js.map +1 -0
- package/src/schema/admin/actions/index.ts +65 -0
- package/src/schema/admin/campaigns/index.d.ts +491 -0
- package/src/schema/admin/campaigns/index.d.ts.map +1 -0
- package/src/schema/admin/campaigns/index.js +69 -0
- package/src/schema/admin/campaigns/index.js.map +1 -0
- package/src/schema/admin/campaigns/index.ts +111 -0
- package/src/schema/admin/candidacies/index.d.ts +766 -0
- package/src/schema/admin/candidacies/index.d.ts.map +1 -0
- package/src/schema/admin/candidacies/index.js +84 -0
- package/src/schema/admin/candidacies/index.js.map +1 -0
- package/src/schema/admin/candidacies/index.ts +138 -0
- package/src/schema/admin/clients/index.d.ts +340 -0
- package/src/schema/admin/clients/index.d.ts.map +1 -0
- package/src/schema/admin/clients/index.js +31 -0
- package/src/schema/admin/clients/index.js.map +1 -0
- package/src/schema/admin/clients/index.ts +65 -0
- package/src/schema/admin/dashboard/index.d.ts +11 -0
- package/src/schema/admin/dashboard/index.d.ts.map +1 -0
- package/{dist/src/types/admin/candidacies → src/schema/admin/dashboard}/index.js +1 -0
- package/src/schema/admin/dashboard/index.js.map +1 -0
- package/src/schema/admin/dashboard/index.ts +10 -0
- package/src/schema/admin/educations/index.d.ts +361 -0
- package/src/schema/admin/educations/index.d.ts.map +1 -0
- package/src/schema/admin/educations/index.js +24 -0
- package/src/schema/admin/educations/index.js.map +1 -0
- package/src/schema/admin/educations/index.ts +71 -0
- package/src/schema/admin/experiences/index.d.ts +467 -0
- package/src/schema/admin/experiences/index.d.ts.map +1 -0
- package/src/schema/admin/experiences/index.js +38 -0
- package/src/schema/admin/experiences/index.js.map +1 -0
- package/src/schema/admin/experiences/index.ts +87 -0
- package/src/schema/admin/files/index.d.ts +9 -0
- package/src/schema/admin/files/index.d.ts.map +1 -0
- package/src/schema/admin/files/index.js +8 -0
- package/src/schema/admin/files/index.js.map +1 -0
- package/src/schema/admin/files/index.ts +10 -0
- package/src/schema/admin/index.d.ts +30 -0
- package/src/schema/admin/index.d.ts.map +1 -0
- package/{dist/src/types/models → src/schema}/admin/index.js +19 -1
- package/src/schema/admin/index.js.map +1 -0
- package/src/schema/admin/index.ts +29 -0
- package/src/schema/admin/jobFunctions/index.d.ts +363 -0
- package/src/schema/admin/jobFunctions/index.d.ts.map +1 -0
- package/src/schema/admin/jobFunctions/index.js +33 -0
- package/src/schema/admin/jobFunctions/index.js.map +1 -0
- package/src/schema/admin/jobFunctions/index.ts +79 -0
- package/src/schema/admin/listViews/index.d.ts +576 -0
- package/src/schema/admin/listViews/index.d.ts.map +1 -0
- package/src/schema/admin/listViews/index.js +23 -0
- package/src/schema/admin/listViews/index.js.map +1 -0
- package/src/schema/admin/listViews/index.ts +58 -0
- package/src/schema/admin/locations/index.d.ts +28 -0
- package/src/schema/admin/locations/index.d.ts.map +1 -0
- package/src/schema/admin/locations/index.js +17 -0
- package/src/schema/admin/locations/index.js.map +1 -0
- package/src/schema/admin/locations/index.ts +42 -0
- package/src/schema/admin/messages/index.d.ts +801 -0
- package/src/schema/admin/messages/index.d.ts.map +1 -0
- package/src/schema/admin/messages/index.js +52 -0
- package/src/schema/admin/messages/index.js.map +1 -0
- package/src/schema/admin/messages/index.ts +88 -0
- package/src/schema/admin/notes/index.d.ts +559 -0
- package/src/schema/admin/notes/index.d.ts.map +1 -0
- package/src/schema/admin/notes/index.js +28 -0
- package/src/schema/admin/notes/index.js.map +1 -0
- package/src/schema/admin/notes/index.ts +56 -0
- package/src/schema/admin/partners/index.d.ts +335 -0
- package/src/schema/admin/partners/index.d.ts.map +1 -0
- package/src/schema/admin/partners/index.js +26 -0
- package/src/schema/admin/partners/index.js.map +1 -0
- package/src/schema/admin/partners/index.ts +60 -0
- package/src/schema/admin/persons/index.d.ts +890 -0
- package/src/schema/admin/persons/index.d.ts.map +1 -0
- package/src/schema/admin/persons/index.js +195 -0
- package/src/schema/admin/persons/index.js.map +1 -0
- package/src/schema/admin/persons/index.ts +294 -0
- package/src/schema/admin/personsToBestPersons/index.d.ts +199 -0
- package/src/schema/admin/personsToBestPersons/index.d.ts.map +1 -0
- package/src/schema/admin/personsToBestPersons/index.js +19 -0
- package/src/schema/admin/personsToBestPersons/index.js.map +1 -0
- package/src/schema/admin/personsToBestPersons/index.ts +67 -0
- package/src/schema/admin/personsToSkills/index.d.ts +199 -0
- package/src/schema/admin/personsToSkills/index.d.ts.map +1 -0
- package/src/schema/admin/personsToSkills/index.js +19 -0
- package/src/schema/admin/personsToSkills/index.js.map +1 -0
- package/src/schema/admin/personsToSkills/index.ts +61 -0
- package/src/schema/admin/personsToTags/index.d.ts +199 -0
- package/src/schema/admin/personsToTags/index.d.ts.map +1 -0
- package/src/schema/admin/personsToTags/index.js +19 -0
- package/src/schema/admin/personsToTags/index.js.map +1 -0
- package/src/schema/admin/personsToTags/index.ts +61 -0
- package/src/schema/admin/positions/index.d.ts +1329 -0
- package/src/schema/admin/positions/index.d.ts.map +1 -0
- package/src/schema/admin/positions/index.js +59 -0
- package/src/schema/admin/positions/index.js.map +1 -0
- package/src/schema/admin/positions/index.ts +97 -0
- package/src/schema/admin/positionsToSkills/index.d.ts +199 -0
- package/src/schema/admin/positionsToSkills/index.d.ts.map +1 -0
- package/src/schema/admin/positionsToSkills/index.js +19 -0
- package/src/schema/admin/positionsToSkills/index.js.map +1 -0
- package/src/schema/admin/positionsToSkills/index.ts +64 -0
- package/src/schema/admin/positionsToTags/index.d.ts +199 -0
- package/src/schema/admin/positionsToTags/index.d.ts.map +1 -0
- package/src/schema/admin/positionsToTags/index.js +19 -0
- package/src/schema/admin/positionsToTags/index.js.map +1 -0
- package/src/schema/admin/positionsToTags/index.ts +61 -0
- package/src/schema/admin/referrals/index.d.ts +478 -0
- package/src/schema/admin/referrals/index.d.ts.map +1 -0
- package/src/schema/admin/referrals/index.js +65 -0
- package/src/schema/admin/referrals/index.js.map +1 -0
- package/src/schema/admin/referrals/index.ts +100 -0
- package/src/schema/admin/referralsToMessages/index.d.ts +244 -0
- package/src/schema/admin/referralsToMessages/index.d.ts.map +1 -0
- package/src/schema/admin/referralsToMessages/index.js +56 -0
- package/src/schema/admin/referralsToMessages/index.js.map +1 -0
- package/src/schema/admin/referralsToMessages/index.ts +121 -0
- package/src/schema/admin/senders/index.d.ts +452 -0
- package/src/schema/admin/senders/index.d.ts.map +1 -0
- package/src/schema/admin/senders/index.js +17 -0
- package/src/schema/admin/senders/index.js.map +1 -0
- package/src/schema/admin/senders/index.ts +50 -0
- package/src/schema/admin/sendgrid/index.d.ts +10 -0
- package/src/schema/admin/sendgrid/index.d.ts.map +1 -0
- package/src/schema/admin/sendgrid/index.js +11 -0
- package/src/schema/admin/sendgrid/index.js.map +1 -0
- package/src/schema/admin/sendgrid/index.ts +16 -0
- package/src/schema/admin/settings/index.d.ts +31 -0
- package/src/schema/admin/settings/index.d.ts.map +1 -0
- package/src/schema/admin/settings/index.js +22 -0
- package/src/schema/admin/settings/index.js.map +1 -0
- package/src/schema/admin/settings/index.ts +34 -0
- package/src/schema/admin/skills/index.d.ts +363 -0
- package/src/schema/admin/skills/index.d.ts.map +1 -0
- package/src/schema/admin/skills/index.js +33 -0
- package/src/schema/admin/skills/index.js.map +1 -0
- package/src/schema/admin/skills/index.ts +64 -0
- package/src/schema/admin/tags/index.d.ts +356 -0
- package/src/schema/admin/tags/index.d.ts.map +1 -0
- package/src/schema/admin/tags/index.js +30 -0
- package/src/schema/admin/tags/index.js.map +1 -0
- package/src/schema/admin/tags/index.ts +56 -0
- package/src/schema/admin/websiteLandingPages/index.d.ts +563 -0
- package/src/schema/admin/websiteLandingPages/index.d.ts.map +1 -0
- package/src/schema/admin/websiteLandingPages/index.js +17 -0
- package/src/schema/admin/websiteLandingPages/index.js.map +1 -0
- package/src/schema/admin/websiteLandingPages/index.ts +69 -0
- package/src/schema/admin/websiteStaticPages/index.d.ts +386 -0
- package/src/schema/admin/websiteStaticPages/index.d.ts.map +1 -0
- package/src/schema/admin/websiteStaticPages/index.js +17 -0
- package/src/schema/admin/websiteStaticPages/index.js.map +1 -0
- package/src/schema/admin/websiteStaticPages/index.ts +67 -0
- package/src/schema/auth/index.d.ts +16 -0
- package/src/schema/auth/index.d.ts.map +1 -0
- package/src/schema/auth/index.js +12 -0
- package/src/schema/auth/index.js.map +1 -0
- package/src/schema/auth/index.ts +14 -0
- package/src/schema/core.d.ts +6336 -0
- package/src/schema/core.d.ts.map +1 -0
- package/src/schema/core.js +1470 -0
- package/src/schema/core.js.map +1 -0
- package/src/schema/core.ts +1906 -0
- package/src/schema/index.d.ts +4 -0
- package/src/schema/index.d.ts.map +1 -0
- package/{dist/src/types/http → src/schema}/index.js +2 -1
- package/src/schema/index.js.map +1 -0
- package/src/{types/models → schema}/index.ts +1 -1
- package/src/utils.d.ts +24 -0
- package/src/utils.d.ts.map +1 -0
- package/src/utils.js +18 -0
- package/src/utils.js.map +1 -0
- package/src/utils.ts +42 -0
- package/tsconfig.json +14 -107
- package/README.md +0 -9
- package/dist/index.js +0 -18
- package/dist/src/constants/enums.js +0 -209
- package/dist/src/constants/index.js +0 -17
- package/dist/src/types/_schema/Action.js +0 -4
- package/dist/src/types/_schema/ActionNames.js +0 -4
- package/dist/src/types/_schema/Actions.js +0 -4
- package/dist/src/types/_schema/Admin.js +0 -4
- package/dist/src/types/_schema/Admins.js +0 -4
- package/dist/src/types/_schema/Campaign.js +0 -4
- package/dist/src/types/_schema/CampaignStatuses.js +0 -4
- package/dist/src/types/_schema/CampaignToPosition.js +0 -4
- package/dist/src/types/_schema/Campaigns.js +0 -4
- package/dist/src/types/_schema/CampaignsToPositions.js +0 -4
- package/dist/src/types/_schema/Candidacies.js +0 -4
- package/dist/src/types/_schema/Candidacy.js +0 -4
- package/dist/src/types/_schema/CandidacyFeedback.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingCategories.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingReasons.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingToTag.js +0 -4
- package/dist/src/types/_schema/CandidacyRatings.js +0 -4
- package/dist/src/types/_schema/CandidacyRatingsToTags.js +0 -4
- package/dist/src/types/_schema/CandidacySources.js +0 -4
- package/dist/src/types/_schema/CandidacyStages.js +0 -4
- package/dist/src/types/_schema/CandidacyStatuses.js +0 -4
- package/dist/src/types/_schema/Certifications.js +0 -4
- package/dist/src/types/_schema/Client.js +0 -4
- package/dist/src/types/_schema/ClientStages.js +0 -4
- package/dist/src/types/_schema/ClientStatuses.js +0 -4
- package/dist/src/types/_schema/Clients.js +0 -4
- package/dist/src/types/_schema/Clubs.js +0 -4
- package/dist/src/types/_schema/Contract.js +0 -4
- package/dist/src/types/_schema/Contracts.js +0 -4
- package/dist/src/types/_schema/Conversation.js +0 -4
- package/dist/src/types/_schema/Conversations.js +0 -4
- package/dist/src/types/_schema/EducationDegrees.js +0 -4
- package/dist/src/types/_schema/EducationFields.js +0 -4
- package/dist/src/types/_schema/Educations.js +0 -4
- package/dist/src/types/_schema/EnrichmentSources.js +0 -4
- package/dist/src/types/_schema/Enrichments.js +0 -4
- package/dist/src/types/_schema/Experiences.js +0 -4
- package/dist/src/types/_schema/Genders.js +0 -4
- package/dist/src/types/_schema/Industries.js +0 -4
- package/dist/src/types/_schema/JobFunctions.js +0 -4
- package/dist/src/types/_schema/JobLevels.js +0 -4
- package/dist/src/types/_schema/Jwt.js +0 -4
- package/dist/src/types/_schema/Jwts.js +0 -4
- package/dist/src/types/_schema/ListView.js +0 -4
- package/dist/src/types/_schema/ListViewModels.js +0 -4
- package/dist/src/types/_schema/ListViews.js +0 -4
- package/dist/src/types/_schema/Message.js +0 -4
- package/dist/src/types/_schema/MessageChannels.js +0 -4
- package/dist/src/types/_schema/MessageTemplate.js +0 -4
- package/dist/src/types/_schema/MessageTemplates.js +0 -4
- package/dist/src/types/_schema/Messages.js +0 -4
- package/dist/src/types/_schema/Networks.js +0 -4
- package/dist/src/types/_schema/Note.js +0 -4
- package/dist/src/types/_schema/Notes.js +0 -4
- package/dist/src/types/_schema/Otp.js +0 -4
- package/dist/src/types/_schema/Otps.js +0 -4
- package/dist/src/types/_schema/Partners.js +0 -4
- package/dist/src/types/_schema/Person.js +0 -4
- package/dist/src/types/_schema/PersonCareerLevels.js +0 -4
- package/dist/src/types/_schema/PersonClub.js +0 -4
- package/dist/src/types/_schema/PersonClubs.js +0 -4
- package/dist/src/types/_schema/PersonDegrees.js +0 -4
- package/dist/src/types/_schema/PersonEnrichment.js +0 -4
- package/dist/src/types/_schema/PersonEnrichments.js +0 -4
- package/dist/src/types/_schema/PersonGenders.js +0 -4
- package/dist/src/types/_schema/PersonNetwork.js +0 -4
- package/dist/src/types/_schema/PersonNetworks.js +0 -4
- package/dist/src/types/_schema/PersonSkill.js +0 -4
- package/dist/src/types/_schema/PersonSkills.js +0 -4
- package/dist/src/types/_schema/PersonSources.js +0 -4
- package/dist/src/types/_schema/PersonToBestPerson.js +0 -4
- package/dist/src/types/_schema/PersonToPersonClub.js +0 -4
- package/dist/src/types/_schema/PersonToPersonNetwork.js +0 -4
- package/dist/src/types/_schema/PersonToPersonSkill.js +0 -4
- package/dist/src/types/_schema/PersonToTag.js +0 -4
- package/dist/src/types/_schema/Persons.js +0 -4
- package/dist/src/types/_schema/PersonsToBestPersons.js +0 -4
- package/dist/src/types/_schema/PersonsToCertifications.js +0 -4
- package/dist/src/types/_schema/PersonsToClubs.js +0 -4
- package/dist/src/types/_schema/PersonsToIndustries.js +0 -4
- package/dist/src/types/_schema/PersonsToNetworks.js +0 -4
- package/dist/src/types/_schema/PersonsToPersonClubs.js +0 -4
- package/dist/src/types/_schema/PersonsToPersonNetworks.js +0 -4
- package/dist/src/types/_schema/PersonsToPersonSkills.js +0 -4
- package/dist/src/types/_schema/PersonsToSkills.js +0 -4
- package/dist/src/types/_schema/PersonsToTags.js +0 -4
- package/dist/src/types/_schema/Position.js +0 -4
- package/dist/src/types/_schema/PositionRatingCategories.js +0 -4
- package/dist/src/types/_schema/PositionRatings.js +0 -4
- package/dist/src/types/_schema/PositionStages.js +0 -4
- package/dist/src/types/_schema/PositionStatuses.js +0 -4
- package/dist/src/types/_schema/Positions.js +0 -4
- package/dist/src/types/_schema/PositionsToIndustries.js +0 -4
- package/dist/src/types/_schema/PositionsToPersonSkills.js +0 -4
- package/dist/src/types/_schema/PositionsToSkills.js +0 -4
- package/dist/src/types/_schema/PositionsToTags.js +0 -4
- package/dist/src/types/_schema/PublicSchema.js +0 -4
- package/dist/src/types/_schema/Referral.js +0 -4
- package/dist/src/types/_schema/ReferralPayout.js +0 -4
- package/dist/src/types/_schema/ReferralPayouts.js +0 -4
- package/dist/src/types/_schema/ReferralSources.js +0 -4
- package/dist/src/types/_schema/ReferralToIntroMessage.js +0 -4
- package/dist/src/types/_schema/Referrals.js +0 -4
- package/dist/src/types/_schema/ReferralsToIntroMessages.js +0 -4
- package/dist/src/types/_schema/ReferralsToMessages.js +0 -4
- package/dist/src/types/_schema/Sender.js +0 -4
- package/dist/src/types/_schema/Senders.js +0 -4
- package/dist/src/types/_schema/Skills.js +0 -4
- package/dist/src/types/_schema/Tag.js +0 -4
- package/dist/src/types/_schema/Tags.js +0 -4
- package/dist/src/types/_schema/WebsiteBlock.js +0 -4
- package/dist/src/types/_schema/WebsiteBlocks.js +0 -4
- package/dist/src/types/_schema/WebsiteLandingPage.js +0 -4
- package/dist/src/types/_schema/WebsiteLandingPages.js +0 -4
- package/dist/src/types/_schema/WebsiteStaticPage.js +0 -4
- package/dist/src/types/_schema/WebsiteStaticPages.js +0 -4
- package/dist/src/types/admin/index.js +0 -19
- package/dist/src/types/admin/persons/index.js +0 -2
- package/dist/src/types/admin/website/index.js +0 -2
- package/dist/src/types/auth/index.js +0 -2
- package/dist/src/types/db.js +0 -6
- package/dist/src/types/http/admin/candidacies/index.js +0 -2
- package/dist/src/types/http/admin/index.js +0 -19
- package/dist/src/types/http/admin/persons/index.js +0 -2
- package/dist/src/types/http/admin/website/index.js +0 -2
- package/dist/src/types/http/auth/index.js +0 -2
- package/dist/src/types/http/utils/index.js +0 -2
- package/dist/src/types/models/admin/campaigns/index.js +0 -2
- package/dist/src/types/models/admin/candidacies/index.js +0 -2
- package/dist/src/types/models/admin/clients/index.js +0 -2
- package/dist/src/types/models/admin/conversations/index.js +0 -2
- package/dist/src/types/models/admin/listViews/index.js +0 -2
- package/dist/src/types/models/admin/locations/index.js +0 -2
- package/dist/src/types/models/admin/messages/index.js +0 -2
- package/dist/src/types/models/admin/partners/index.js +0 -2
- package/dist/src/types/models/admin/persons/index.js +0 -2
- package/dist/src/types/models/admin/positions/index.js +0 -23
- package/dist/src/types/models/admin/referrals/index.js +0 -2
- package/dist/src/types/models/admin/settings/index.js +0 -2
- package/dist/src/types/models/admin/website/_shared.js +0 -2
- package/dist/src/types/models/admin/website/home.js +0 -2
- package/dist/src/types/models/admin/website/index.js +0 -18
- package/dist/src/types/models/admin/website/shared.js +0 -2
- package/dist/src/types/models/auth/index.js +0 -2
- package/dist/src/types/models/index.js +0 -19
- package/dist/src/types/schemas/Database.js +0 -4
- package/dist/src/types/schemas/index.js +0 -23
- package/dist/src/types/schemas/public/Action.js +0 -4
- package/dist/src/types/schemas/public/ActionNames.js +0 -4
- package/dist/src/types/schemas/public/Admin.js +0 -4
- package/dist/src/types/schemas/public/Campaign.js +0 -4
- package/dist/src/types/schemas/public/CampaignStatuses.js +0 -4
- package/dist/src/types/schemas/public/CampaignToPosition.js +0 -4
- package/dist/src/types/schemas/public/Candidacy.js +0 -4
- package/dist/src/types/schemas/public/CandidacyFeedback.js +0 -4
- package/dist/src/types/schemas/public/CandidacyRatingToTag.js +0 -4
- package/dist/src/types/schemas/public/CandidacySources.js +0 -4
- package/dist/src/types/schemas/public/CandidacyStatuses.js +0 -4
- package/dist/src/types/schemas/public/Client.js +0 -4
- package/dist/src/types/schemas/public/ClientStatuses.js +0 -4
- package/dist/src/types/schemas/public/Contract.js +0 -4
- package/dist/src/types/schemas/public/Conversation.js +0 -4
- package/dist/src/types/schemas/public/EnrichmentSources.js +0 -4
- package/dist/src/types/schemas/public/Jwt.js +0 -4
- package/dist/src/types/schemas/public/ListView.js +0 -4
- package/dist/src/types/schemas/public/ListViewModels.js +0 -4
- package/dist/src/types/schemas/public/Message.js +0 -4
- package/dist/src/types/schemas/public/MessageChannels.js +0 -4
- package/dist/src/types/schemas/public/MessageSender.js +0 -4
- package/dist/src/types/schemas/public/MessageTemplate.js +0 -4
- package/dist/src/types/schemas/public/Note.js +0 -4
- package/dist/src/types/schemas/public/Otp.js +0 -4
- package/dist/src/types/schemas/public/Person.js +0 -4
- package/dist/src/types/schemas/public/PersonCareerLevels.js +0 -4
- package/dist/src/types/schemas/public/PersonClub.js +0 -4
- package/dist/src/types/schemas/public/PersonDegrees.js +0 -4
- package/dist/src/types/schemas/public/PersonEnrichment.js +0 -4
- package/dist/src/types/schemas/public/PersonGenders.js +0 -4
- package/dist/src/types/schemas/public/PersonNetwork.js +0 -4
- package/dist/src/types/schemas/public/PersonSkill.js +0 -4
- package/dist/src/types/schemas/public/PersonSources.js +0 -4
- package/dist/src/types/schemas/public/PersonToBestPerson.js +0 -4
- package/dist/src/types/schemas/public/PersonToPersonClub.js +0 -4
- package/dist/src/types/schemas/public/PersonToPersonNetwork.js +0 -4
- package/dist/src/types/schemas/public/PersonToPersonSkill.js +0 -4
- package/dist/src/types/schemas/public/PersonToTag.js +0 -4
- package/dist/src/types/schemas/public/Position.js +0 -4
- package/dist/src/types/schemas/public/PositionStatuses.js +0 -4
- package/dist/src/types/schemas/public/PrismaMigrations.js +0 -4
- package/dist/src/types/schemas/public/PublicSchema.js +0 -4
- package/dist/src/types/schemas/public/Referral.js +0 -4
- package/dist/src/types/schemas/public/ReferralPayout.js +0 -4
- package/dist/src/types/schemas/public/ReferralSources.js +0 -4
- package/dist/src/types/schemas/public/ReferralToIntroMessage.js +0 -4
- package/dist/src/types/schemas/public/Sender.js +0 -4
- package/dist/src/types/schemas/public/Tag.js +0 -4
- package/dist/src/types/schemas/public/WebsiteBlock.js +0 -4
- package/dist/src/types/schemas/public/WebsiteLandingPage.js +0 -4
- package/dist/src/types/schemas/public/WebsiteStaticPage.js +0 -4
- package/dist/src/types/shared/index.js +0 -2
- package/dist/src/types/utils/index.js +0 -2
- package/dist/types/admin/index.js +0 -17
- package/dist/types/admin/website/index.js +0 -2
- package/dist/types/index.js +0 -17
- package/index.ts +0 -2
- package/src/constants/enums.ts +0 -251
- package/src/constants/index.ts +0 -1
- package/src/types/_schema/ActionNames.ts +0 -11
- package/src/types/_schema/Actions.ts +0 -104
- package/src/types/_schema/Admins.ts +0 -49
- package/src/types/_schema/CampaignStatuses.ts +0 -10
- package/src/types/_schema/Campaigns.ts +0 -76
- package/src/types/_schema/CampaignsToPositions.ts +0 -33
- package/src/types/_schema/Candidacies.ts +0 -77
- package/src/types/_schema/CandidacyFeedback.ts +0 -55
- package/src/types/_schema/CandidacyRatingCategories.ts +0 -12
- package/src/types/_schema/CandidacyRatings.ts +0 -42
- package/src/types/_schema/CandidacySources.ts +0 -11
- package/src/types/_schema/CandidacyStages.ts +0 -14
- package/src/types/_schema/CandidacyStatuses.ts +0 -9
- package/src/types/_schema/Certifications.ts +0 -59
- package/src/types/_schema/ClientStages.ts +0 -12
- package/src/types/_schema/ClientStatuses.ts +0 -9
- package/src/types/_schema/Clients.ts +0 -69
- package/src/types/_schema/Contracts.ts +0 -68
- package/src/types/_schema/EducationDegrees.ts +0 -12
- package/src/types/_schema/EducationFields.ts +0 -18
- package/src/types/_schema/Educations.ts +0 -55
- package/src/types/_schema/EnrichmentSources.ts +0 -8
- package/src/types/_schema/Enrichments.ts +0 -68
- package/src/types/_schema/Experiences.ts +0 -87
- package/src/types/_schema/Genders.ts +0 -11
- package/src/types/_schema/Industries.ts +0 -53
- package/src/types/_schema/JobFunctions.ts +0 -53
- package/src/types/_schema/JobLevels.ts +0 -13
- package/src/types/_schema/Jwts.ts +0 -61
- package/src/types/_schema/ListViewModels.ts +0 -11
- package/src/types/_schema/ListViews.ts +0 -74
- package/src/types/_schema/MessageChannels.ts +0 -9
- package/src/types/_schema/MessageTemplates.ts +0 -53
- package/src/types/_schema/Messages.ts +0 -109
- package/src/types/_schema/Networks.ts +0 -59
- package/src/types/_schema/Notes.ts +0 -76
- package/src/types/_schema/Otps.ts +0 -67
- package/src/types/_schema/Partners.ts +0 -65
- package/src/types/_schema/PersonSources.ts +0 -11
- package/src/types/_schema/Persons.ts +0 -237
- package/src/types/_schema/PersonsToBestPersons.ts +0 -32
- package/src/types/_schema/PersonsToCertifications.ts +0 -26
- package/src/types/_schema/PersonsToNetworks.ts +0 -33
- package/src/types/_schema/PersonsToSkills.ts +0 -33
- package/src/types/_schema/PersonsToTags.ts +0 -33
- package/src/types/_schema/PositionRatingCategories.ts +0 -9
- package/src/types/_schema/PositionRatings.ts +0 -42
- package/src/types/_schema/PositionStages.ts +0 -12
- package/src/types/_schema/PositionStatuses.ts +0 -9
- package/src/types/_schema/Positions.ts +0 -119
- package/src/types/_schema/PositionsToIndustries.ts +0 -33
- package/src/types/_schema/PositionsToSkills.ts +0 -33
- package/src/types/_schema/PositionsToTags.ts +0 -33
- package/src/types/_schema/ReferralPayouts.ts +0 -29
- package/src/types/_schema/ReferralSources.ts +0 -11
- package/src/types/_schema/Referrals.ts +0 -83
- package/src/types/_schema/ReferralsToMessages.ts +0 -40
- package/src/types/_schema/Senders.ts +0 -65
- package/src/types/_schema/Skills.ts +0 -53
- package/src/types/_schema/Tags.ts +0 -53
- package/src/types/_schema/WebsiteBlocks.ts +0 -45
- package/src/types/_schema/WebsiteLandingPages.ts +0 -47
- package/src/types/_schema/WebsiteStaticPages.ts +0 -53
- package/src/types/index.ts +0 -2
- package/src/types/models/admin/campaigns/index.ts +0 -28
- package/src/types/models/admin/candidacies/index.ts +0 -69
- package/src/types/models/admin/clients/index.ts +0 -49
- package/src/types/models/admin/index.ts +0 -12
- package/src/types/models/admin/listViews/index.ts +0 -48
- package/src/types/models/admin/locations/index.ts +0 -28
- package/src/types/models/admin/messages/index.ts +0 -14
- package/src/types/models/admin/partners/index.ts +0 -36
- package/src/types/models/admin/persons/index.ts +0 -90
- package/src/types/models/admin/positions/index.ts +0 -72
- package/src/types/models/admin/referrals/index.ts +0 -67
- package/src/types/models/admin/settings/index.ts +0 -24
- package/src/types/models/admin/website/home.ts +0 -42
- package/src/types/models/admin/website/index.ts +0 -2
- package/src/types/models/admin/website/shared.ts +0 -40
- package/src/types/models/auth/index.ts +0 -6
- package/src/types/utils/index.ts +0 -15
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { type ListResponse } from '../../../utils';
|
|
2
|
+
import { z } from 'zod/v4';
|
|
3
|
+
export declare const AdminTagCreateSchema: import("drizzle-zod").BuildSchema<"insert", {
|
|
4
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
5
|
+
name: "id";
|
|
6
|
+
tableName: "tags";
|
|
7
|
+
dataType: "string";
|
|
8
|
+
columnType: "PgUUID";
|
|
9
|
+
data: string;
|
|
10
|
+
driverParam: string;
|
|
11
|
+
notNull: true;
|
|
12
|
+
hasDefault: true;
|
|
13
|
+
isPrimaryKey: true;
|
|
14
|
+
isAutoincrement: false;
|
|
15
|
+
hasRuntimeDefault: false;
|
|
16
|
+
enumValues: undefined;
|
|
17
|
+
baseColumn: never;
|
|
18
|
+
identity: undefined;
|
|
19
|
+
generated: undefined;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
22
|
+
name: "slug";
|
|
23
|
+
tableName: "tags";
|
|
24
|
+
dataType: "string";
|
|
25
|
+
columnType: "PgText";
|
|
26
|
+
data: string;
|
|
27
|
+
driverParam: string;
|
|
28
|
+
notNull: true;
|
|
29
|
+
hasDefault: false;
|
|
30
|
+
isPrimaryKey: false;
|
|
31
|
+
isAutoincrement: false;
|
|
32
|
+
hasRuntimeDefault: false;
|
|
33
|
+
enumValues: [string, ...string[]];
|
|
34
|
+
baseColumn: never;
|
|
35
|
+
identity: undefined;
|
|
36
|
+
generated: undefined;
|
|
37
|
+
}, {}, {}>;
|
|
38
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
39
|
+
name: "name";
|
|
40
|
+
tableName: "tags";
|
|
41
|
+
dataType: "string";
|
|
42
|
+
columnType: "PgText";
|
|
43
|
+
data: string;
|
|
44
|
+
driverParam: string;
|
|
45
|
+
notNull: true;
|
|
46
|
+
hasDefault: false;
|
|
47
|
+
isPrimaryKey: false;
|
|
48
|
+
isAutoincrement: false;
|
|
49
|
+
hasRuntimeDefault: false;
|
|
50
|
+
enumValues: [string, ...string[]];
|
|
51
|
+
baseColumn: never;
|
|
52
|
+
identity: undefined;
|
|
53
|
+
generated: undefined;
|
|
54
|
+
}, {}, {}>;
|
|
55
|
+
deletedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
56
|
+
name: "deletedAt";
|
|
57
|
+
tableName: "tags";
|
|
58
|
+
dataType: "date";
|
|
59
|
+
columnType: "PgTimestamp";
|
|
60
|
+
data: Date;
|
|
61
|
+
driverParam: string;
|
|
62
|
+
notNull: false;
|
|
63
|
+
hasDefault: false;
|
|
64
|
+
isPrimaryKey: false;
|
|
65
|
+
isAutoincrement: false;
|
|
66
|
+
hasRuntimeDefault: false;
|
|
67
|
+
enumValues: undefined;
|
|
68
|
+
baseColumn: never;
|
|
69
|
+
identity: undefined;
|
|
70
|
+
generated: undefined;
|
|
71
|
+
}, {}, {}>;
|
|
72
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
73
|
+
name: "createdAt";
|
|
74
|
+
tableName: "tags";
|
|
75
|
+
dataType: "date";
|
|
76
|
+
columnType: "PgTimestamp";
|
|
77
|
+
data: Date;
|
|
78
|
+
driverParam: string;
|
|
79
|
+
notNull: true;
|
|
80
|
+
hasDefault: true;
|
|
81
|
+
isPrimaryKey: false;
|
|
82
|
+
isAutoincrement: false;
|
|
83
|
+
hasRuntimeDefault: false;
|
|
84
|
+
enumValues: undefined;
|
|
85
|
+
baseColumn: never;
|
|
86
|
+
identity: undefined;
|
|
87
|
+
generated: undefined;
|
|
88
|
+
}, {}, {}>;
|
|
89
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
90
|
+
name: "updatedAt";
|
|
91
|
+
tableName: "tags";
|
|
92
|
+
dataType: "date";
|
|
93
|
+
columnType: "PgTimestamp";
|
|
94
|
+
data: Date;
|
|
95
|
+
driverParam: string;
|
|
96
|
+
notNull: true;
|
|
97
|
+
hasDefault: true;
|
|
98
|
+
isPrimaryKey: false;
|
|
99
|
+
isAutoincrement: false;
|
|
100
|
+
hasRuntimeDefault: false;
|
|
101
|
+
enumValues: undefined;
|
|
102
|
+
baseColumn: never;
|
|
103
|
+
identity: undefined;
|
|
104
|
+
generated: undefined;
|
|
105
|
+
}, {}, {}>;
|
|
106
|
+
}, {
|
|
107
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
108
|
+
slug: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
109
|
+
}, undefined>;
|
|
110
|
+
export declare const AdminTagSelectSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
111
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
112
|
+
name: "id";
|
|
113
|
+
tableName: "tags";
|
|
114
|
+
dataType: "string";
|
|
115
|
+
columnType: "PgUUID";
|
|
116
|
+
data: string;
|
|
117
|
+
driverParam: string;
|
|
118
|
+
notNull: true;
|
|
119
|
+
hasDefault: true;
|
|
120
|
+
isPrimaryKey: true;
|
|
121
|
+
isAutoincrement: false;
|
|
122
|
+
hasRuntimeDefault: false;
|
|
123
|
+
enumValues: undefined;
|
|
124
|
+
baseColumn: never;
|
|
125
|
+
identity: undefined;
|
|
126
|
+
generated: undefined;
|
|
127
|
+
}, {}, {}>;
|
|
128
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
129
|
+
name: "slug";
|
|
130
|
+
tableName: "tags";
|
|
131
|
+
dataType: "string";
|
|
132
|
+
columnType: "PgText";
|
|
133
|
+
data: string;
|
|
134
|
+
driverParam: string;
|
|
135
|
+
notNull: true;
|
|
136
|
+
hasDefault: false;
|
|
137
|
+
isPrimaryKey: false;
|
|
138
|
+
isAutoincrement: false;
|
|
139
|
+
hasRuntimeDefault: false;
|
|
140
|
+
enumValues: [string, ...string[]];
|
|
141
|
+
baseColumn: never;
|
|
142
|
+
identity: undefined;
|
|
143
|
+
generated: undefined;
|
|
144
|
+
}, {}, {}>;
|
|
145
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
146
|
+
name: "name";
|
|
147
|
+
tableName: "tags";
|
|
148
|
+
dataType: "string";
|
|
149
|
+
columnType: "PgText";
|
|
150
|
+
data: string;
|
|
151
|
+
driverParam: string;
|
|
152
|
+
notNull: true;
|
|
153
|
+
hasDefault: false;
|
|
154
|
+
isPrimaryKey: false;
|
|
155
|
+
isAutoincrement: false;
|
|
156
|
+
hasRuntimeDefault: false;
|
|
157
|
+
enumValues: [string, ...string[]];
|
|
158
|
+
baseColumn: never;
|
|
159
|
+
identity: undefined;
|
|
160
|
+
generated: undefined;
|
|
161
|
+
}, {}, {}>;
|
|
162
|
+
deletedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
163
|
+
name: "deletedAt";
|
|
164
|
+
tableName: "tags";
|
|
165
|
+
dataType: "date";
|
|
166
|
+
columnType: "PgTimestamp";
|
|
167
|
+
data: Date;
|
|
168
|
+
driverParam: string;
|
|
169
|
+
notNull: false;
|
|
170
|
+
hasDefault: false;
|
|
171
|
+
isPrimaryKey: false;
|
|
172
|
+
isAutoincrement: false;
|
|
173
|
+
hasRuntimeDefault: false;
|
|
174
|
+
enumValues: undefined;
|
|
175
|
+
baseColumn: never;
|
|
176
|
+
identity: undefined;
|
|
177
|
+
generated: undefined;
|
|
178
|
+
}, {}, {}>;
|
|
179
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
180
|
+
name: "createdAt";
|
|
181
|
+
tableName: "tags";
|
|
182
|
+
dataType: "date";
|
|
183
|
+
columnType: "PgTimestamp";
|
|
184
|
+
data: Date;
|
|
185
|
+
driverParam: string;
|
|
186
|
+
notNull: true;
|
|
187
|
+
hasDefault: true;
|
|
188
|
+
isPrimaryKey: false;
|
|
189
|
+
isAutoincrement: false;
|
|
190
|
+
hasRuntimeDefault: false;
|
|
191
|
+
enumValues: undefined;
|
|
192
|
+
baseColumn: never;
|
|
193
|
+
identity: undefined;
|
|
194
|
+
generated: undefined;
|
|
195
|
+
}, {}, {}>;
|
|
196
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
197
|
+
name: "updatedAt";
|
|
198
|
+
tableName: "tags";
|
|
199
|
+
dataType: "date";
|
|
200
|
+
columnType: "PgTimestamp";
|
|
201
|
+
data: Date;
|
|
202
|
+
driverParam: string;
|
|
203
|
+
notNull: true;
|
|
204
|
+
hasDefault: true;
|
|
205
|
+
isPrimaryKey: false;
|
|
206
|
+
isAutoincrement: false;
|
|
207
|
+
hasRuntimeDefault: false;
|
|
208
|
+
enumValues: undefined;
|
|
209
|
+
baseColumn: never;
|
|
210
|
+
identity: undefined;
|
|
211
|
+
generated: undefined;
|
|
212
|
+
}, {}, {}>;
|
|
213
|
+
}, undefined, undefined>;
|
|
214
|
+
export declare const AdminTagUpdateSchema: import("drizzle-zod").BuildSchema<"update", {
|
|
215
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
216
|
+
name: "id";
|
|
217
|
+
tableName: "tags";
|
|
218
|
+
dataType: "string";
|
|
219
|
+
columnType: "PgUUID";
|
|
220
|
+
data: string;
|
|
221
|
+
driverParam: string;
|
|
222
|
+
notNull: true;
|
|
223
|
+
hasDefault: true;
|
|
224
|
+
isPrimaryKey: true;
|
|
225
|
+
isAutoincrement: false;
|
|
226
|
+
hasRuntimeDefault: false;
|
|
227
|
+
enumValues: undefined;
|
|
228
|
+
baseColumn: never;
|
|
229
|
+
identity: undefined;
|
|
230
|
+
generated: undefined;
|
|
231
|
+
}, {}, {}>;
|
|
232
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
233
|
+
name: "slug";
|
|
234
|
+
tableName: "tags";
|
|
235
|
+
dataType: "string";
|
|
236
|
+
columnType: "PgText";
|
|
237
|
+
data: string;
|
|
238
|
+
driverParam: string;
|
|
239
|
+
notNull: true;
|
|
240
|
+
hasDefault: false;
|
|
241
|
+
isPrimaryKey: false;
|
|
242
|
+
isAutoincrement: false;
|
|
243
|
+
hasRuntimeDefault: false;
|
|
244
|
+
enumValues: [string, ...string[]];
|
|
245
|
+
baseColumn: never;
|
|
246
|
+
identity: undefined;
|
|
247
|
+
generated: undefined;
|
|
248
|
+
}, {}, {}>;
|
|
249
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
250
|
+
name: "name";
|
|
251
|
+
tableName: "tags";
|
|
252
|
+
dataType: "string";
|
|
253
|
+
columnType: "PgText";
|
|
254
|
+
data: string;
|
|
255
|
+
driverParam: string;
|
|
256
|
+
notNull: true;
|
|
257
|
+
hasDefault: false;
|
|
258
|
+
isPrimaryKey: false;
|
|
259
|
+
isAutoincrement: false;
|
|
260
|
+
hasRuntimeDefault: false;
|
|
261
|
+
enumValues: [string, ...string[]];
|
|
262
|
+
baseColumn: never;
|
|
263
|
+
identity: undefined;
|
|
264
|
+
generated: undefined;
|
|
265
|
+
}, {}, {}>;
|
|
266
|
+
deletedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
267
|
+
name: "deletedAt";
|
|
268
|
+
tableName: "tags";
|
|
269
|
+
dataType: "date";
|
|
270
|
+
columnType: "PgTimestamp";
|
|
271
|
+
data: Date;
|
|
272
|
+
driverParam: string;
|
|
273
|
+
notNull: false;
|
|
274
|
+
hasDefault: false;
|
|
275
|
+
isPrimaryKey: false;
|
|
276
|
+
isAutoincrement: false;
|
|
277
|
+
hasRuntimeDefault: false;
|
|
278
|
+
enumValues: undefined;
|
|
279
|
+
baseColumn: never;
|
|
280
|
+
identity: undefined;
|
|
281
|
+
generated: undefined;
|
|
282
|
+
}, {}, {}>;
|
|
283
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
284
|
+
name: "createdAt";
|
|
285
|
+
tableName: "tags";
|
|
286
|
+
dataType: "date";
|
|
287
|
+
columnType: "PgTimestamp";
|
|
288
|
+
data: Date;
|
|
289
|
+
driverParam: string;
|
|
290
|
+
notNull: true;
|
|
291
|
+
hasDefault: true;
|
|
292
|
+
isPrimaryKey: false;
|
|
293
|
+
isAutoincrement: false;
|
|
294
|
+
hasRuntimeDefault: false;
|
|
295
|
+
enumValues: undefined;
|
|
296
|
+
baseColumn: never;
|
|
297
|
+
identity: undefined;
|
|
298
|
+
generated: undefined;
|
|
299
|
+
}, {}, {}>;
|
|
300
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
301
|
+
name: "updatedAt";
|
|
302
|
+
tableName: "tags";
|
|
303
|
+
dataType: "date";
|
|
304
|
+
columnType: "PgTimestamp";
|
|
305
|
+
data: Date;
|
|
306
|
+
driverParam: string;
|
|
307
|
+
notNull: true;
|
|
308
|
+
hasDefault: true;
|
|
309
|
+
isPrimaryKey: false;
|
|
310
|
+
isAutoincrement: false;
|
|
311
|
+
hasRuntimeDefault: false;
|
|
312
|
+
enumValues: undefined;
|
|
313
|
+
baseColumn: never;
|
|
314
|
+
identity: undefined;
|
|
315
|
+
generated: undefined;
|
|
316
|
+
}, {}, {}>;
|
|
317
|
+
}, {
|
|
318
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
319
|
+
slug: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
320
|
+
}, undefined>;
|
|
321
|
+
export declare const AdminTagParamsSchema: z.ZodObject<{
|
|
322
|
+
id: z.ZodUUID;
|
|
323
|
+
}, {
|
|
324
|
+
out: {};
|
|
325
|
+
in: {};
|
|
326
|
+
}>;
|
|
327
|
+
export declare const AdminTagListQuerySchema: z.ZodObject<{
|
|
328
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
331
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
332
|
+
}, z.core.$strip>;
|
|
333
|
+
export declare const AdminTagUpdateParamsSchema: z.ZodObject<{
|
|
334
|
+
id: z.ZodUUID;
|
|
335
|
+
}, {
|
|
336
|
+
out: {};
|
|
337
|
+
in: {};
|
|
338
|
+
}>;
|
|
339
|
+
export declare const AdminTagDeleteParamsSchema: z.ZodObject<{
|
|
340
|
+
id: z.ZodUUID;
|
|
341
|
+
}, {
|
|
342
|
+
out: {};
|
|
343
|
+
in: {};
|
|
344
|
+
}>;
|
|
345
|
+
type AdminTag = z.infer<typeof AdminTagSelectSchema>;
|
|
346
|
+
export type AdminTagParams = z.infer<typeof AdminTagParamsSchema>;
|
|
347
|
+
export type AdminTagResult = AdminTag;
|
|
348
|
+
export type AdminTagListQuery = z.infer<typeof AdminTagListQuerySchema>;
|
|
349
|
+
export type AdminTagListResult = ListResponse<z.infer<typeof AdminTagSelectSchema>>;
|
|
350
|
+
export type AdminTagCreateInput = z.infer<typeof AdminTagCreateSchema>;
|
|
351
|
+
export type AdminTagCreateResult = Pick<AdminTag, 'id'>;
|
|
352
|
+
export type AdminTagUpdateParams = z.infer<typeof AdminTagUpdateParamsSchema>;
|
|
353
|
+
export type AdminTagUpdateInput = Partial<AdminTag>;
|
|
354
|
+
export type AdminTagDeleteParams = z.infer<typeof AdminTagDeleteParamsSchema>;
|
|
355
|
+
export {};
|
|
356
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAc1B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA0C,CAAA;AAC3E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA0B,CAAA;AAC3D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA0C,CAAA;AAE3E,eAAO,MAAM,oBAAoB;;;;;EAE/B,CAAA;AACF,eAAO,MAAM,uBAAuB;;;;;iBAAkB,CAAA;AACtD,eAAO,MAAM,0BAA0B;;;;;EAAuB,CAAA;AAC9D,eAAO,MAAM,0BAA0B;;;;;EAAuB,CAAA;AAI9D,KAAK,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAGpD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACjE,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAA;AAGrC,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACvE,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CACrC,CAAA;AAGD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACtE,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;AAGvD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAC7E,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGnD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AdminTagDeleteParamsSchema = exports.AdminTagUpdateParamsSchema = exports.AdminTagListQuerySchema = exports.AdminTagParamsSchema = exports.AdminTagUpdateSchema = exports.AdminTagSelectSchema = exports.AdminTagCreateSchema = void 0;
|
|
7
|
+
const drizzle_zod_1 = require("drizzle-zod");
|
|
8
|
+
const core_1 = require("../../core");
|
|
9
|
+
const utils_1 = require("../../../utils");
|
|
10
|
+
const v4_1 = require("zod/v4");
|
|
11
|
+
const slugify_1 = __importDefault(require("slugify"));
|
|
12
|
+
const upsertExtended = {
|
|
13
|
+
name: v4_1.z.string().transform((value) => {
|
|
14
|
+
return value.trim().toLowerCase();
|
|
15
|
+
}),
|
|
16
|
+
slug: v4_1.z.string().transform((value) => {
|
|
17
|
+
return (0, slugify_1.default)(value, { lower: true });
|
|
18
|
+
})
|
|
19
|
+
};
|
|
20
|
+
//// validators
|
|
21
|
+
exports.AdminTagCreateSchema = (0, drizzle_zod_1.createInsertSchema)(core_1.tag, upsertExtended);
|
|
22
|
+
exports.AdminTagSelectSchema = (0, drizzle_zod_1.createSelectSchema)(core_1.tag);
|
|
23
|
+
exports.AdminTagUpdateSchema = (0, drizzle_zod_1.createUpdateSchema)(core_1.tag, upsertExtended);
|
|
24
|
+
exports.AdminTagParamsSchema = exports.AdminTagSelectSchema.pick({
|
|
25
|
+
id: true
|
|
26
|
+
});
|
|
27
|
+
exports.AdminTagListQuerySchema = utils_1.ListQuerySchema;
|
|
28
|
+
exports.AdminTagUpdateParamsSchema = exports.AdminTagParamsSchema;
|
|
29
|
+
exports.AdminTagDeleteParamsSchema = exports.AdminTagParamsSchema;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;AAAA,6CAIoB;AACpB,qCAAgC;AAChC,0CAAmE;AACnE,+BAA0B;AAC1B,sDAA6B;AAE7B,MAAM,cAAc,GAAG;IACrB,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;QACnC,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAA;IACnC,CAAC,CAAC;IACF,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;QACnC,OAAO,IAAA,iBAAO,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;IACxC,CAAC,CAAC;CACH,CAAA;AAED,eAAe;AAEF,QAAA,oBAAoB,GAAG,IAAA,gCAAkB,EAAC,UAAG,EAAE,cAAc,CAAC,CAAA;AAC9D,QAAA,oBAAoB,GAAG,IAAA,gCAAkB,EAAC,UAAG,CAAC,CAAA;AAC9C,QAAA,oBAAoB,GAAG,IAAA,gCAAkB,EAAC,UAAG,EAAE,cAAc,CAAC,CAAA;AAE9D,QAAA,oBAAoB,GAAG,4BAAoB,CAAC,IAAI,CAAC;IAC5D,EAAE,EAAE,IAAI;CACT,CAAC,CAAA;AACW,QAAA,uBAAuB,GAAG,uBAAe,CAAA;AACzC,QAAA,0BAA0B,GAAG,4BAAoB,CAAA;AACjD,QAAA,0BAA0B,GAAG,4BAAoB,CAAA","sourcesContent":["import {\n createInsertSchema,\n createSelectSchema,\n createUpdateSchema\n} from 'drizzle-zod'\nimport { tag } from '../../core'\nimport { ListQuerySchema, type ListResponse } from '../../../utils'\nimport { z } from 'zod/v4'\nimport slugify from 'slugify'\n\nconst upsertExtended = {\n name: z.string().transform((value) => {\n return value.trim().toLowerCase()\n }),\n slug: z.string().transform((value) => {\n return slugify(value, { lower: true })\n })\n}\n\n//// validators\n\nexport const AdminTagCreateSchema = createInsertSchema(tag, upsertExtended)\nexport const AdminTagSelectSchema = createSelectSchema(tag)\nexport const AdminTagUpdateSchema = createUpdateSchema(tag, upsertExtended)\n\nexport const AdminTagParamsSchema = AdminTagSelectSchema.pick({\n id: true\n})\nexport const AdminTagListQuerySchema = ListQuerySchema\nexport const AdminTagUpdateParamsSchema = AdminTagParamsSchema\nexport const AdminTagDeleteParamsSchema = AdminTagParamsSchema\n\n//// types\n\ntype AdminTag = z.infer<typeof AdminTagSelectSchema>\n\n// detail\nexport type AdminTagParams = z.infer<typeof AdminTagParamsSchema>\nexport type AdminTagResult = AdminTag\n\n// list\nexport type AdminTagListQuery = z.infer<typeof AdminTagListQuerySchema>\nexport type AdminTagListResult = ListResponse<\n z.infer<typeof AdminTagSelectSchema>\n>\n\n// create\nexport type AdminTagCreateInput = z.infer<typeof AdminTagCreateSchema>\nexport type AdminTagCreateResult = Pick<AdminTag, 'id'>\n\n// update\nexport type AdminTagUpdateParams = z.infer<typeof AdminTagUpdateParamsSchema>\nexport type AdminTagUpdateInput = Partial<AdminTag>\n\n// delete\nexport type AdminTagDeleteParams = z.infer<typeof AdminTagDeleteParamsSchema>\n"]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createInsertSchema,
|
|
3
|
+
createSelectSchema,
|
|
4
|
+
createUpdateSchema
|
|
5
|
+
} from 'drizzle-zod'
|
|
6
|
+
import { tag } from '../../core'
|
|
7
|
+
import { ListQuerySchema, type ListResponse } from '../../../utils'
|
|
8
|
+
import { z } from 'zod/v4'
|
|
9
|
+
import slugify from 'slugify'
|
|
10
|
+
|
|
11
|
+
const upsertExtended = {
|
|
12
|
+
name: z.string().transform((value) => {
|
|
13
|
+
return value.trim().toLowerCase()
|
|
14
|
+
}),
|
|
15
|
+
slug: z.string().transform((value) => {
|
|
16
|
+
return slugify(value, { lower: true })
|
|
17
|
+
})
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//// validators
|
|
21
|
+
|
|
22
|
+
export const AdminTagCreateSchema = createInsertSchema(tag, upsertExtended)
|
|
23
|
+
export const AdminTagSelectSchema = createSelectSchema(tag)
|
|
24
|
+
export const AdminTagUpdateSchema = createUpdateSchema(tag, upsertExtended)
|
|
25
|
+
|
|
26
|
+
export const AdminTagParamsSchema = AdminTagSelectSchema.pick({
|
|
27
|
+
id: true
|
|
28
|
+
})
|
|
29
|
+
export const AdminTagListQuerySchema = ListQuerySchema
|
|
30
|
+
export const AdminTagUpdateParamsSchema = AdminTagParamsSchema
|
|
31
|
+
export const AdminTagDeleteParamsSchema = AdminTagParamsSchema
|
|
32
|
+
|
|
33
|
+
//// types
|
|
34
|
+
|
|
35
|
+
type AdminTag = z.infer<typeof AdminTagSelectSchema>
|
|
36
|
+
|
|
37
|
+
// detail
|
|
38
|
+
export type AdminTagParams = z.infer<typeof AdminTagParamsSchema>
|
|
39
|
+
export type AdminTagResult = AdminTag
|
|
40
|
+
|
|
41
|
+
// list
|
|
42
|
+
export type AdminTagListQuery = z.infer<typeof AdminTagListQuerySchema>
|
|
43
|
+
export type AdminTagListResult = ListResponse<
|
|
44
|
+
z.infer<typeof AdminTagSelectSchema>
|
|
45
|
+
>
|
|
46
|
+
|
|
47
|
+
// create
|
|
48
|
+
export type AdminTagCreateInput = z.infer<typeof AdminTagCreateSchema>
|
|
49
|
+
export type AdminTagCreateResult = Pick<AdminTag, 'id'>
|
|
50
|
+
|
|
51
|
+
// update
|
|
52
|
+
export type AdminTagUpdateParams = z.infer<typeof AdminTagUpdateParamsSchema>
|
|
53
|
+
export type AdminTagUpdateInput = Partial<AdminTag>
|
|
54
|
+
|
|
55
|
+
// delete
|
|
56
|
+
export type AdminTagDeleteParams = z.infer<typeof AdminTagDeleteParamsSchema>
|