@nexo-labs/payload-typesense 1.3.0 → 1.4.2
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 +370 -190
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +504 -587
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -347,10 +347,10 @@ interface LocalizedOptions$1<LocaleFields extends keyof Locale$4> {
|
|
|
347
347
|
locale?: Pick<Locale$4, LocaleFields>;
|
|
348
348
|
}
|
|
349
349
|
//#endregion
|
|
350
|
-
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.
|
|
351
|
-
declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "folder:browseByFolder" | "folder:byFolder" | "folder:deleteFolder" | "folder:folderName" | "folder:folders" | "folder:folderTypeDescription" | "folder:itemHasBeenMoved" | "folder:itemHasBeenMovedToRoot" | "folder:itemsMovedToFolder" | "folder:itemsMovedToRoot" | "folder:moveFolder" | "folder:moveItemsToFolderConfirmation" | "folder:moveItemsToRootConfirmation" | "folder:moveItemToFolderConfirmation" | "folder:moveItemToRootConfirmation" | "folder:movingFromFolder" | "folder:newFolder" | "folder:noFolder" | "folder:renameFolder" | "folder:searchByNameInFolder" | "folder:selectFolderForItem" | "general:items" | "general:of" | "general:language" | "general:error" | "general:username" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:cancel" | "general:changesNotSaved" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNew" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:dashboard" | "general:delete" | "general:deleted" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documents" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:import" | "general:isEditing" | "general:item" | "general:lastModified" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:locale" | "general:locales" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:none" | "general:noOptions" | "general:noResults" | "general:nothingFound" | "general:noTrashResults" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectLocaleToCopy" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
|
|
350
|
+
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.65.0/node_modules/@payloadcms/translations/dist/clientKeys.d.ts
|
|
351
|
+
declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "folder:browseByFolder" | "folder:byFolder" | "folder:deleteFolder" | "folder:folderName" | "folder:folders" | "folder:folderTypeDescription" | "folder:itemHasBeenMoved" | "folder:itemHasBeenMovedToRoot" | "folder:itemsMovedToFolder" | "folder:itemsMovedToRoot" | "folder:moveFolder" | "folder:moveItemsToFolderConfirmation" | "folder:moveItemsToRootConfirmation" | "folder:moveItemToFolderConfirmation" | "folder:moveItemToRootConfirmation" | "folder:movingFromFolder" | "folder:newFolder" | "folder:noFolder" | "folder:renameFolder" | "folder:searchByNameInFolder" | "folder:selectFolderForItem" | "general:items" | "general:of" | "general:language" | "general:error" | "general:username" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:cancel" | "general:changesNotSaved" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNew" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:dashboard" | "general:delete" | "general:deleted" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documents" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:import" | "general:isEditing" | "general:item" | "general:lastModified" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:locale" | "general:locales" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:none" | "general:noOptions" | "general:noResults" | "general:nothingFound" | "general:noTrashResults" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
|
|
352
352
|
//#endregion
|
|
353
|
-
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.
|
|
353
|
+
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.65.0/node_modules/@payloadcms/translations/dist/languages/en.d.ts
|
|
354
354
|
declare const enTranslations: {
|
|
355
355
|
authentication: {
|
|
356
356
|
account: string;
|
|
@@ -775,7 +775,9 @@ declare const enTranslations: {
|
|
|
775
775
|
copyTo: string;
|
|
776
776
|
copyToLocale: string;
|
|
777
777
|
localeToPublish: string;
|
|
778
|
+
selectedLocales: string;
|
|
778
779
|
selectLocaleToCopy: string;
|
|
780
|
+
selectLocaleToDuplicate: string;
|
|
779
781
|
};
|
|
780
782
|
operators: {
|
|
781
783
|
contains: string;
|
|
@@ -877,6 +879,7 @@ declare const enTranslations: {
|
|
|
877
879
|
currentlyViewing: string;
|
|
878
880
|
currentPublishedVersion: string;
|
|
879
881
|
draft: string;
|
|
882
|
+
draftHasPublishedVersion: string;
|
|
880
883
|
draftSavedSuccessfully: string;
|
|
881
884
|
lastSavedAgo: string;
|
|
882
885
|
modifiedOnly: string;
|
|
@@ -928,10 +931,10 @@ declare const enTranslations: {
|
|
|
928
931
|
};
|
|
929
932
|
};
|
|
930
933
|
//#endregion
|
|
931
|
-
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.
|
|
934
|
+
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.65.0/node_modules/@payloadcms/translations/dist/utilities/languages.d.ts
|
|
932
935
|
declare const acceptedLanguages: readonly ["ar", "az", "bg", "bn-BD", "bn-IN", "ca", "cs", "bn-BD", "bn-IN", "da", "de", "en", "es", "et", "fa", "fr", "he", "hr", "hu", "hy", "id", "is", "it", "ja", "ko", "lt", "lv", "my", "nb", "nl", "pl", "pt", "ro", "rs", "rs-latin", "ru", "sk", "sl", "sv", "ta", "th", "tr", "uk", "vi", "zh", "zh-TW"];
|
|
933
936
|
//#endregion
|
|
934
|
-
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.
|
|
937
|
+
//#region ../../node_modules/.pnpm/@payloadcms+translations@3.65.0/node_modules/@payloadcms/translations/dist/types.d.ts
|
|
935
938
|
type DateFNSKeys = 'ar' | 'az' | 'bg' | 'bn-BD' | 'bn-IN' | 'ca' | 'cs' | 'da' | 'de' | 'en-US' | 'es' | 'et' | 'fa-IR' | 'fr' | 'he' | 'hr' | 'hu' | 'hy-AM' | 'id' | 'is' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'rs' | 'rs-Latin' | 'ru' | 'sk' | 'sl-SI' | 'sv' | 'ta' | 'th' | 'tr' | 'uk' | 'vi' | 'zh-CN' | 'zh-TW';
|
|
936
939
|
type Language<TDefaultTranslations = DefaultTranslationsObject> = {
|
|
937
940
|
dateFNSKey: DateFNSKeys;
|
|
@@ -1113,34 +1116,34 @@ type Primitive = string | number | boolean | bigint | symbol | undefined | null;
|
|
|
1113
1116
|
type Builtin = Primitive | Function | Date | Error | RegExp;
|
|
1114
1117
|
//#endregion
|
|
1115
1118
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/is-any/index.d.ts
|
|
1116
|
-
type IsAny<Type> = 0 extends 1 & Type ? true : false;
|
|
1119
|
+
type IsAny<Type$1> = 0 extends 1 & Type$1 ? true : false;
|
|
1117
1120
|
//#endregion
|
|
1118
1121
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/is-unknown/index.d.ts
|
|
1119
|
-
type IsUnknown<Type> = IsAny<Type> extends true ? false : unknown extends Type ? true : false;
|
|
1122
|
+
type IsUnknown<Type$1> = IsAny<Type$1> extends true ? false : unknown extends Type$1 ? true : false;
|
|
1120
1123
|
//#endregion
|
|
1121
1124
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/mark-optional/index.d.ts
|
|
1122
|
-
type MarkOptional<Type, Keys$2 extends keyof Type> = Type extends Type ? Omit<Type, Keys$2> & Partial<Pick<Type, Keys$2>> : never;
|
|
1125
|
+
type MarkOptional<Type$1, Keys$2 extends keyof Type$1> = Type$1 extends Type$1 ? Omit<Type$1, Keys$2> & Partial<Pick<Type$1, Keys$2>> : never;
|
|
1123
1126
|
//#endregion
|
|
1124
1127
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/mark-required/index.d.ts
|
|
1125
|
-
type MarkRequired<Type, Keys$2 extends keyof Type> = Type extends Type ? Type & Required<Pick<Type, Keys$2>> : never;
|
|
1128
|
+
type MarkRequired<Type$1, Keys$2 extends keyof Type$1> = Type$1 extends Type$1 ? Type$1 & Required<Pick<Type$1, Keys$2>> : never;
|
|
1126
1129
|
//#endregion
|
|
1127
1130
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/is-tuple/index.d.ts
|
|
1128
|
-
type IsTuple<Type> = Type extends readonly any[] ? (any[] extends Type ? never : Type) : never;
|
|
1131
|
+
type IsTuple<Type$1> = Type$1 extends readonly any[] ? (any[] extends Type$1 ? never : Type$1) : never;
|
|
1129
1132
|
//#endregion
|
|
1130
1133
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/deep-partial/index.d.ts
|
|
1131
|
-
type DeepPartial<Type> = Type extends Exclude<Builtin, Error> ? Type : Type extends Map<infer Keys, infer Values> ? Map<DeepPartial<Keys>, DeepPartial<Values>> : Type extends ReadonlyMap<infer Keys, infer Values> ? ReadonlyMap<DeepPartial<Keys>, DeepPartial<Values>> : Type extends WeakMap<infer Keys, infer Values> ? WeakMap<DeepPartial<Keys>, DeepPartial<Values>> : Type extends Set<infer Values> ? Set<DeepPartial<Values>> : Type extends ReadonlySet<infer Values> ? ReadonlySet<DeepPartial<Values>> : Type extends WeakSet<infer Values> ? WeakSet<DeepPartial<Values>> : Type extends ReadonlyArray<infer Values> ? Type extends IsTuple<Type> ? { [Key in keyof Type]?: DeepPartial<Type[Key]> } : Type extends Array<Values> ? Array<DeepPartial<Values> | undefined> : ReadonlyArray<DeepPartial<Values> | undefined> : Type extends Promise<infer Value> ? Promise<DeepPartial<Value>> : Type extends {} ? { [Key in keyof Type]?: DeepPartial<Type[Key]> } : IsUnknown<Type> extends true ? unknown : Partial<Type>;
|
|
1134
|
+
type DeepPartial<Type$1> = Type$1 extends Exclude<Builtin, Error> ? Type$1 : Type$1 extends Map<infer Keys, infer Values> ? Map<DeepPartial<Keys>, DeepPartial<Values>> : Type$1 extends ReadonlyMap<infer Keys, infer Values> ? ReadonlyMap<DeepPartial<Keys>, DeepPartial<Values>> : Type$1 extends WeakMap<infer Keys, infer Values> ? WeakMap<DeepPartial<Keys>, DeepPartial<Values>> : Type$1 extends Set<infer Values> ? Set<DeepPartial<Values>> : Type$1 extends ReadonlySet<infer Values> ? ReadonlySet<DeepPartial<Values>> : Type$1 extends WeakSet<infer Values> ? WeakSet<DeepPartial<Values>> : Type$1 extends ReadonlyArray<infer Values> ? Type$1 extends IsTuple<Type$1> ? { [Key in keyof Type$1]?: DeepPartial<Type$1[Key]> } : Type$1 extends Array<Values> ? Array<DeepPartial<Values> | undefined> : ReadonlyArray<DeepPartial<Values> | undefined> : Type$1 extends Promise<infer Value> ? Promise<DeepPartial<Value>> : Type$1 extends {} ? { [Key in keyof Type$1]?: DeepPartial<Type$1[Key]> } : IsUnknown<Type$1> extends true ? unknown : Partial<Type$1>;
|
|
1132
1135
|
//#endregion
|
|
1133
1136
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/deep-required/index.d.ts
|
|
1134
|
-
type DeepRequired<Type> = Type extends Error ? Required<Type> : Type extends Builtin ? Type : Type extends Map<infer Keys, infer Values> ? Map<DeepRequired<Keys>, DeepRequired<Values>> : Type extends ReadonlyMap<infer Keys, infer Values> ? ReadonlyMap<DeepRequired<Keys>, DeepRequired<Values>> : Type extends WeakMap<infer Keys, infer Values> ? WeakMap<DeepRequired<Keys>, DeepRequired<Values>> : Type extends Set<infer Values> ? Set<DeepRequired<Values>> : Type extends ReadonlySet<infer Values> ? ReadonlySet<DeepRequired<Values>> : Type extends WeakSet<infer Values> ? WeakSet<DeepRequired<Values>> : Type extends Promise<infer Value> ? Promise<DeepRequired<Value>> : Type extends ReadonlyArray<infer Values> ? Type extends IsTuple<Type> ? { [Key in keyof Type]-?: DeepRequired<Type[Key]> } : Type extends Array<Values> ? Array<Exclude<DeepRequired<Values>, undefined>> : ReadonlyArray<Exclude<DeepRequired<Values>, undefined>> : Type extends {} ? { [Key in keyof Type]-?: DeepRequired<Type[Key]> } : Required<Type>;
|
|
1137
|
+
type DeepRequired<Type$1> = Type$1 extends Error ? Required<Type$1> : Type$1 extends Builtin ? Type$1 : Type$1 extends Map<infer Keys, infer Values> ? Map<DeepRequired<Keys>, DeepRequired<Values>> : Type$1 extends ReadonlyMap<infer Keys, infer Values> ? ReadonlyMap<DeepRequired<Keys>, DeepRequired<Values>> : Type$1 extends WeakMap<infer Keys, infer Values> ? WeakMap<DeepRequired<Keys>, DeepRequired<Values>> : Type$1 extends Set<infer Values> ? Set<DeepRequired<Values>> : Type$1 extends ReadonlySet<infer Values> ? ReadonlySet<DeepRequired<Values>> : Type$1 extends WeakSet<infer Values> ? WeakSet<DeepRequired<Values>> : Type$1 extends Promise<infer Value> ? Promise<DeepRequired<Value>> : Type$1 extends ReadonlyArray<infer Values> ? Type$1 extends IsTuple<Type$1> ? { [Key in keyof Type$1]-?: DeepRequired<Type$1[Key]> } : Type$1 extends Array<Values> ? Array<Exclude<DeepRequired<Values>, undefined>> : ReadonlyArray<Exclude<DeepRequired<Values>, undefined>> : Type$1 extends {} ? { [Key in keyof Type$1]-?: DeepRequired<Type$1[Key]> } : Required<Type$1>;
|
|
1135
1138
|
//#endregion
|
|
1136
1139
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/deep-undefinable/index.d.ts
|
|
1137
|
-
type DeepUndefinable<Type> = Type extends Builtin ? Type | undefined : Type extends Map<infer Keys, infer Values> ? Map<DeepUndefinable<Keys>, DeepUndefinable<Values>> : Type extends ReadonlyMap<infer Keys, infer Values> ? ReadonlyMap<DeepUndefinable<Keys>, DeepUndefinable<Values>> : Type extends WeakMap<infer Keys, infer Values> ? DeepUndefinable<Keys> extends object ? WeakMap<DeepUndefinable<Keys>, DeepUndefinable<Values>> : never : Type extends Set<infer Values> ? Set<DeepUndefinable<Values>> : Type extends ReadonlySet<infer Values> ? ReadonlySet<DeepUndefinable<Values>> : Type extends WeakSet<infer Values> ? DeepUndefinable<Values> extends object ? WeakSet<DeepUndefinable<Values>> : never : Type extends ReadonlyArray<infer Values> ? Type extends IsTuple<Type> ? { [Key in keyof Type]: DeepUndefinable<Type[Key]> | undefined } : Type extends Array<Values> ? Array<DeepUndefinable<Values>> : ReadonlyArray<DeepUndefinable<Values>> : Type extends Promise<infer Value> ? Promise<DeepUndefinable<Value>> : Type extends {} ? { [Key in keyof Type]: DeepUndefinable<Type[Key]> } : Type | undefined;
|
|
1140
|
+
type DeepUndefinable<Type$1> = Type$1 extends Builtin ? Type$1 | undefined : Type$1 extends Map<infer Keys, infer Values> ? Map<DeepUndefinable<Keys>, DeepUndefinable<Values>> : Type$1 extends ReadonlyMap<infer Keys, infer Values> ? ReadonlyMap<DeepUndefinable<Keys>, DeepUndefinable<Values>> : Type$1 extends WeakMap<infer Keys, infer Values> ? DeepUndefinable<Keys> extends object ? WeakMap<DeepUndefinable<Keys>, DeepUndefinable<Values>> : never : Type$1 extends Set<infer Values> ? Set<DeepUndefinable<Values>> : Type$1 extends ReadonlySet<infer Values> ? ReadonlySet<DeepUndefinable<Values>> : Type$1 extends WeakSet<infer Values> ? DeepUndefinable<Values> extends object ? WeakSet<DeepUndefinable<Values>> : never : Type$1 extends ReadonlyArray<infer Values> ? Type$1 extends IsTuple<Type$1> ? { [Key in keyof Type$1]: DeepUndefinable<Type$1[Key]> | undefined } : Type$1 extends Array<Values> ? Array<DeepUndefinable<Values>> : ReadonlyArray<DeepUndefinable<Values>> : Type$1 extends Promise<infer Value> ? Promise<DeepUndefinable<Value>> : Type$1 extends {} ? { [Key in keyof Type$1]: DeepUndefinable<Type$1[Key]> } : Type$1 | undefined;
|
|
1138
1141
|
//#endregion
|
|
1139
1142
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/optional-keys/index.d.ts
|
|
1140
|
-
type OptionalKeys<Type> = Type extends object ? keyof { [Key in keyof Type as Type extends Required<Pick<Type, Key>> ? never : Key]: never } : never;
|
|
1143
|
+
type OptionalKeys<Type$1> = Type$1 extends object ? keyof { [Key in keyof Type$1 as Type$1 extends Required<Pick<Type$1, Key>> ? never : Key]: never } : never;
|
|
1141
1144
|
//#endregion
|
|
1142
1145
|
//#region ../../node_modules/.pnpm/ts-essentials@10.0.3_typescript@5.7.3/node_modules/ts-essentials/dist/required-keys/index.d.ts
|
|
1143
|
-
type RequiredKeys<Type> = Type extends unknown ? Exclude<keyof Type, OptionalKeys<Type>> : never;
|
|
1146
|
+
type RequiredKeys<Type$1> = Type$1 extends unknown ? Exclude<keyof Type$1, OptionalKeys<Type$1>> : never;
|
|
1144
1147
|
//#endregion
|
|
1145
1148
|
//#region ../../node_modules/.pnpm/next@15.4.4_@babel+core@7.27.7_@opentelemetry+api@1.9.0_@playwright+test@1.56.1_babel-p_218d3984ca3237d756d5d1093eea370c/node_modules/next/dist/lib/load-custom-routes.d.ts
|
|
1146
1149
|
type RouteHas = {
|
|
@@ -3915,7 +3918,7 @@ declare namespace sharp {
|
|
|
3915
3918
|
type Matrix4x4 = [[number, number, number, number], [number, number, number, number], [number, number, number, number], [number, number, number, number]];
|
|
3916
3919
|
}
|
|
3917
3920
|
//#endregion
|
|
3918
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
3921
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/errors/ValidationError.d.ts
|
|
3919
3922
|
type ValidationFieldError = {
|
|
3920
3923
|
label?: LabelFunction | StaticLabel;
|
|
3921
3924
|
message: string;
|
|
@@ -13179,7 +13182,7 @@ type EditorProps = {
|
|
|
13179
13182
|
type Monaco = typeof editor_api_d_exports;
|
|
13180
13183
|
type Theme = 'vs-dark' | 'light';
|
|
13181
13184
|
//#endregion
|
|
13182
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13185
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/types.d.ts
|
|
13183
13186
|
type SanitizedBlockPermissions = {
|
|
13184
13187
|
fields: SanitizedFieldsPermissions;
|
|
13185
13188
|
} | true;
|
|
@@ -13202,6 +13205,7 @@ type SanitizedCollectionPermission = {
|
|
|
13202
13205
|
fields: SanitizedFieldsPermissions;
|
|
13203
13206
|
read?: true;
|
|
13204
13207
|
readVersions?: true;
|
|
13208
|
+
unlock?: true;
|
|
13205
13209
|
update?: true;
|
|
13206
13210
|
};
|
|
13207
13211
|
type SanitizedGlobalPermission = {
|
|
@@ -13399,7 +13403,7 @@ interface Auth extends Omit<DeepRequired<IncomingAuthType>, 'forgotPassword' | '
|
|
|
13399
13403
|
verify?: boolean | VerifyConfig;
|
|
13400
13404
|
}
|
|
13401
13405
|
//#endregion
|
|
13402
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13406
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/preferences/types.d.ts
|
|
13403
13407
|
type CollapsedPreferences = string[];
|
|
13404
13408
|
type InsideFieldsPreferences = {
|
|
13405
13409
|
collapsed: CollapsedPreferences;
|
|
@@ -13425,7 +13429,7 @@ type CollectionPreferences = {
|
|
|
13425
13429
|
sort?: string;
|
|
13426
13430
|
};
|
|
13427
13431
|
//#endregion
|
|
13428
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13432
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/Field.d.ts
|
|
13429
13433
|
type ClientFieldWithOptionalType = MarkOptional<ClientField, 'type'>;
|
|
13430
13434
|
type ClientComponentProps = {
|
|
13431
13435
|
customComponents?: FieldState['customComponents'];
|
|
@@ -13520,7 +13524,7 @@ type ServerFieldBase<TFieldServer extends Field = Field, TFieldClient extends Cl
|
|
|
13520
13524
|
type FieldClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType, AdditionalProps extends Record<string, unknown> = Record<string, unknown>> = React.ComponentType<AdditionalProps & ClientFieldBase<TFieldClient>>;
|
|
13521
13525
|
type FieldServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType, AdditionalProps extends Record<string, unknown> = Record<string, unknown>> = React.ComponentType<AdditionalProps & ServerFieldBase<TFieldServer, TFieldClient>>;
|
|
13522
13526
|
//#endregion
|
|
13523
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13527
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/Error.d.ts
|
|
13524
13528
|
type GenericErrorProps = {
|
|
13525
13529
|
readonly alignCaret?: 'center' | 'left' | 'right';
|
|
13526
13530
|
readonly message?: string;
|
|
@@ -13537,14 +13541,14 @@ type FieldErrorServerProps<TFieldServer extends Field, TFieldClient extends Clie
|
|
|
13537
13541
|
type FieldErrorClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldErrorClientProps<TFieldClient>>;
|
|
13538
13542
|
type FieldErrorServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldErrorServerProps<TFieldServer, TFieldClient>>;
|
|
13539
13543
|
//#endregion
|
|
13540
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13544
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Join.d.ts
|
|
13541
13545
|
type JoinFieldClientWithoutType = MarkOptional<JoinFieldClient, 'type'>;
|
|
13542
13546
|
type JoinFieldLabelServerComponent = FieldLabelServerComponent<JoinField>;
|
|
13543
13547
|
type JoinFieldLabelClientComponent = FieldLabelClientComponent<JoinFieldClientWithoutType>;
|
|
13544
13548
|
type JoinFieldErrorServerComponent = FieldErrorServerComponent<JoinField, JoinFieldClientWithoutType>;
|
|
13545
13549
|
type JoinFieldErrorClientComponent = FieldErrorClientComponent<JoinFieldClientWithoutType>;
|
|
13546
13550
|
//#endregion
|
|
13547
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13551
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/versions/types.d.ts
|
|
13548
13552
|
type Autosave = {
|
|
13549
13553
|
/**
|
|
13550
13554
|
* Define an `interval` in milliseconds to automatically save progress while documents are edited.
|
|
@@ -13661,6 +13665,7 @@ type SanitizedGlobalVersions = {
|
|
|
13661
13665
|
type TypeWithVersion<T> = {
|
|
13662
13666
|
createdAt: string;
|
|
13663
13667
|
id: string;
|
|
13668
|
+
latest?: boolean;
|
|
13664
13669
|
parent: number | string;
|
|
13665
13670
|
publishedLocale?: string;
|
|
13666
13671
|
snapshot?: boolean;
|
|
@@ -13668,7 +13673,7 @@ type TypeWithVersion<T> = {
|
|
|
13668
13673
|
version: T;
|
|
13669
13674
|
};
|
|
13670
13675
|
//#endregion
|
|
13671
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
13676
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/database/types.d.ts
|
|
13672
13677
|
interface BaseDatabaseAdapter {
|
|
13673
13678
|
allowIDOnCreate?: boolean;
|
|
13674
13679
|
/**
|
|
@@ -14251,7 +14256,7 @@ type GenerateSchemaArgs = {
|
|
|
14251
14256
|
};
|
|
14252
14257
|
type GenerateSchema = (args?: GenerateSchemaArgs) => Promise<void>;
|
|
14253
14258
|
//#endregion
|
|
14254
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
14259
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/config/types.d.ts
|
|
14255
14260
|
type DataFromGlobalSlug<TSlug extends GlobalSlug> = TypedGlobal[TSlug];
|
|
14256
14261
|
type SelectFromGlobalSlug<TSlug extends GlobalSlug> = TypedGlobalSelect[TSlug];
|
|
14257
14262
|
type BeforeValidateHook$1 = (args: {
|
|
@@ -14350,7 +14355,7 @@ type GlobalAdminOptions = {
|
|
|
14350
14355
|
};
|
|
14351
14356
|
};
|
|
14352
14357
|
/** Extension point to add your custom data. Available in server and client. */
|
|
14353
|
-
custom?:
|
|
14358
|
+
custom?: GlobalAdminCustom;
|
|
14354
14359
|
/**
|
|
14355
14360
|
* Custom description for collection
|
|
14356
14361
|
*/
|
|
@@ -14396,7 +14401,7 @@ type GlobalConfig<TSlug extends GlobalSlug = any> = {
|
|
|
14396
14401
|
};
|
|
14397
14402
|
admin?: GlobalAdminOptions;
|
|
14398
14403
|
/** Extension point to add your custom data. Server only. */
|
|
14399
|
-
custom?:
|
|
14404
|
+
custom?: GlobalCustom;
|
|
14400
14405
|
/**
|
|
14401
14406
|
* Customize the SQL table name
|
|
14402
14407
|
*/
|
|
@@ -14462,7 +14467,7 @@ type Globals = {
|
|
|
14462
14467
|
} | false;
|
|
14463
14468
|
};
|
|
14464
14469
|
//#endregion
|
|
14465
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
14470
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/fields/validations.d.ts
|
|
14466
14471
|
type TextFieldManyValidation = Validate<string[], unknown, unknown, TextField>;
|
|
14467
14472
|
type TextFieldSingleValidation = Validate<string, unknown, unknown, TextField>;
|
|
14468
14473
|
type EmailFieldValidation = Validate<string, unknown, {
|
|
@@ -14489,7 +14494,7 @@ type SelectFieldSingleValidation = Validate<string, unknown, unknown, SelectFiel
|
|
|
14489
14494
|
type RadioFieldValidation = Validate<unknown, unknown, unknown, RadioField>;
|
|
14490
14495
|
type PointFieldValidation = Validate<[number | string, number | string], unknown, unknown, PointField>;
|
|
14491
14496
|
//#endregion
|
|
14492
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
14497
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/fields/config/types.d.ts
|
|
14493
14498
|
type FieldHookArgs<TData extends TypeWithID = any, TValue = any, TSiblingData = any> = {
|
|
14494
14499
|
/**
|
|
14495
14500
|
* The data of the nearest parent block. If the field is not within a block, `blockData` will be equal to `undefined`.
|
|
@@ -14531,7 +14536,7 @@ type FieldHookArgs<TData extends TypeWithID = any, TValue = any, TSiblingData =
|
|
|
14531
14536
|
/** The document before changes were applied, only in `afterChange` hooks. */
|
|
14532
14537
|
previousDoc?: TData;
|
|
14533
14538
|
/** The sibling data of the document before changes being applied, only in `beforeChange`, `beforeValidate`, `beforeDuplicate` and `afterChange` field hooks. */
|
|
14534
|
-
previousSiblingDoc?:
|
|
14539
|
+
previousSiblingDoc?: TSiblingData;
|
|
14535
14540
|
/** The previous value of the field, before changes, only in `beforeChange`, `afterChange`, `beforeDuplicate` and `beforeValidate` field hooks. */
|
|
14536
14541
|
previousValue?: TValue;
|
|
14537
14542
|
/** The Express request object. It is mocked for Local API operations. */
|
|
@@ -14980,6 +14985,13 @@ type CheckboxField = {
|
|
|
14980
14985
|
type CheckboxFieldClient = {
|
|
14981
14986
|
admin?: AdminClient;
|
|
14982
14987
|
} & FieldBaseClient & Pick<CheckboxField, 'type'>;
|
|
14988
|
+
type DateFieldTimezoneConfig = {
|
|
14989
|
+
/**
|
|
14990
|
+
* Make only the timezone required in the admin interface. This means a timezone is always required to be selected.
|
|
14991
|
+
*/
|
|
14992
|
+
required?: boolean;
|
|
14993
|
+
supportedTimezones?: Timezone[];
|
|
14994
|
+
} & Pick<TimezonesConfig, 'defaultTimezone'>;
|
|
14983
14995
|
type DateField = {
|
|
14984
14996
|
admin?: {
|
|
14985
14997
|
components?: {
|
|
@@ -14994,7 +15006,7 @@ type DateField = {
|
|
|
14994
15006
|
/**
|
|
14995
15007
|
* Enable timezone selection in the admin interface.
|
|
14996
15008
|
*/
|
|
14997
|
-
timezone?: true;
|
|
15009
|
+
timezone?: DateFieldTimezoneConfig | true;
|
|
14998
15010
|
type: 'date';
|
|
14999
15011
|
validate?: DateFieldValidation;
|
|
15000
15012
|
} & Omit<FieldBase, 'validate'>;
|
|
@@ -15213,6 +15225,17 @@ type UploadAdmin = {
|
|
|
15213
15225
|
isSortable?: boolean;
|
|
15214
15226
|
} & FieldAdmin;
|
|
15215
15227
|
type UploadAdminClient = AdminClient & Pick<UploadAdmin, 'allowCreate' | 'isSortable'>;
|
|
15228
|
+
type PolymorphicUploadField = {
|
|
15229
|
+
admin?: {
|
|
15230
|
+
sortOptions?: Partial<Record<CollectionSlug, string>>;
|
|
15231
|
+
} & UploadAdmin;
|
|
15232
|
+
relationTo: CollectionSlug[];
|
|
15233
|
+
} & SharedUploadProperties;
|
|
15234
|
+
type PolymorphicUploadFieldClient = {
|
|
15235
|
+
admin?: {
|
|
15236
|
+
sortOptions?: Pick<PolymorphicUploadField['admin'], 'sortOptions'>;
|
|
15237
|
+
} & UploadAdminClient;
|
|
15238
|
+
} & Pick<PolymorphicUploadField, 'displayPreview' | 'maxDepth' | 'relationTo' | 'type'> & SharedUploadPropertiesClient;
|
|
15216
15239
|
type SingleUploadField = {
|
|
15217
15240
|
admin?: {
|
|
15218
15241
|
sortOptions?: string;
|
|
@@ -15222,8 +15245,8 @@ type SingleUploadField = {
|
|
|
15222
15245
|
type SingleUploadFieldClient = {
|
|
15223
15246
|
admin?: Pick<SingleUploadField['admin'], 'sortOptions'> & UploadAdminClient;
|
|
15224
15247
|
} & Pick<SingleUploadField, 'displayPreview' | 'maxDepth' | 'relationTo' | 'type'> & SharedUploadPropertiesClient;
|
|
15225
|
-
type UploadField = SingleUploadField;
|
|
15226
|
-
type UploadFieldClient = SingleUploadFieldClient;
|
|
15248
|
+
type UploadField = PolymorphicUploadField | SingleUploadField;
|
|
15249
|
+
type UploadFieldClient = PolymorphicUploadFieldClient | SingleUploadFieldClient;
|
|
15227
15250
|
type CodeField = {
|
|
15228
15251
|
admin?: {
|
|
15229
15252
|
components?: {
|
|
@@ -15797,7 +15820,7 @@ type ExtractFieldTypes<T> = T extends {
|
|
|
15797
15820
|
type FieldTypes = ExtractFieldTypes<Field>;
|
|
15798
15821
|
type FieldAffectingData = ArrayField | BlocksField | CheckboxField | CodeField | DateField | EmailField | JoinField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | TabAsField | TextareaField | TextField | UploadField;
|
|
15799
15822
|
//#endregion
|
|
15800
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
15823
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/RichText.d.ts
|
|
15801
15824
|
type RichTextFieldClientWithoutType<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = MarkOptional<RichTextFieldClient<TValue, TAdapterProps, TExtraProperties>, 'type'>;
|
|
15802
15825
|
type RichTextFieldBaseClientProps<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = {
|
|
15803
15826
|
readonly path: string;
|
|
@@ -15807,12 +15830,12 @@ type RichTextFieldBaseServerProps = Pick<FieldPaths, 'path'>;
|
|
|
15807
15830
|
type RichTextFieldClientProps<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = ClientFieldBase<RichTextFieldClientWithoutType<TValue, TAdapterProps, TExtraProperties>> & RichTextFieldBaseClientProps<TValue, TAdapterProps, TExtraProperties>;
|
|
15808
15831
|
type RichTextFieldServerProps = RichTextFieldBaseServerProps & ServerFieldBase<RichTextField, RichTextFieldClientWithoutType>;
|
|
15809
15832
|
//#endregion
|
|
15810
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
15833
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/RichText.d.ts
|
|
15811
15834
|
type AfterReadRichTextHookArgs<TData extends TypeWithID = any, TValue = any, TSiblingData = any> = {
|
|
15812
15835
|
currentDepth?: number;
|
|
15813
15836
|
depth?: number;
|
|
15814
15837
|
draft?: boolean;
|
|
15815
|
-
fallbackLocale?:
|
|
15838
|
+
fallbackLocale?: TypedFallbackLocale;
|
|
15816
15839
|
fieldPromises?: Promise<void>[];
|
|
15817
15840
|
/** Boolean to denote if this hook is running against finding one, or finding many within the afterRead hook. */
|
|
15818
15841
|
findMany?: boolean;
|
|
@@ -15833,7 +15856,7 @@ type AfterChangeRichTextHookArgs<TData extends TypeWithID = any, TValue = any, T
|
|
|
15833
15856
|
/** The document before changes were applied. */
|
|
15834
15857
|
previousDoc?: TData;
|
|
15835
15858
|
/** The sibling data of the document before changes being applied. */
|
|
15836
|
-
previousSiblingDoc?:
|
|
15859
|
+
previousSiblingDoc?: TSiblingData;
|
|
15837
15860
|
/** The previous value of the field, before changes */
|
|
15838
15861
|
previousValue?: TValue;
|
|
15839
15862
|
};
|
|
@@ -15842,7 +15865,7 @@ type BeforeValidateRichTextHookArgs<TData extends TypeWithID = any, TValue = any
|
|
|
15842
15865
|
operation: 'create' | 'update';
|
|
15843
15866
|
overrideAccess?: boolean;
|
|
15844
15867
|
/** The sibling data of the document before changes being applied. */
|
|
15845
|
-
previousSiblingDoc?:
|
|
15868
|
+
previousSiblingDoc?: TSiblingData;
|
|
15846
15869
|
/** The previous value of the field, before changes */
|
|
15847
15870
|
previousValue?: TValue;
|
|
15848
15871
|
};
|
|
@@ -15865,7 +15888,7 @@ type BeforeChangeRichTextHookArgs<TData extends TypeWithID = any, TValue = any,
|
|
|
15865
15888
|
operation?: 'create' | 'delete' | 'read' | 'update';
|
|
15866
15889
|
overrideAccess: boolean;
|
|
15867
15890
|
/** The sibling data of the document before changes being applied. */
|
|
15868
|
-
previousSiblingDoc?:
|
|
15891
|
+
previousSiblingDoc?: TSiblingData;
|
|
15869
15892
|
/** The previous value of the field, before changes */
|
|
15870
15893
|
previousValue?: TValue;
|
|
15871
15894
|
/**
|
|
@@ -16017,13 +16040,13 @@ type RichTextAdapterProvider<Value$1 extends object = object, AdapterProps = any
|
|
|
16017
16040
|
parentIsLocalized: boolean;
|
|
16018
16041
|
}) => Promise<RichTextAdapter<Value$1, AdapterProps, ExtraFieldProperties>> | RichTextAdapter<Value$1, AdapterProps, ExtraFieldProperties>;
|
|
16019
16042
|
//#endregion
|
|
16020
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16043
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/LanguageOptions.d.ts
|
|
16021
16044
|
type LanguageOptions = {
|
|
16022
16045
|
label: string;
|
|
16023
16046
|
value: AcceptedLanguages;
|
|
16024
16047
|
}[];
|
|
16025
16048
|
//#endregion
|
|
16026
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16049
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/views/document.d.ts
|
|
16027
16050
|
/**
|
|
16028
16051
|
* Properties specific to the versions view
|
|
16029
16052
|
*/
|
|
@@ -16096,7 +16119,7 @@ type DocumentTabComponent = PayloadComponent<{
|
|
|
16096
16119
|
path: string;
|
|
16097
16120
|
}>;
|
|
16098
16121
|
//#endregion
|
|
16099
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16122
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/views/index.d.ts
|
|
16100
16123
|
type AdminViewConfig = {
|
|
16101
16124
|
Component: PayloadComponent;
|
|
16102
16125
|
/** Whether the path should be matched exactly or as a prefix */
|
|
@@ -16131,7 +16154,7 @@ type InitPageResult = {
|
|
|
16131
16154
|
*/
|
|
16132
16155
|
type ViewTypes = 'account' | 'collection-folders' | 'createFirstUser' | 'dashboard' | 'document' | 'folders' | 'list' | 'reset' | 'trash' | 'verify' | 'version';
|
|
16133
16156
|
//#endregion
|
|
16134
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16157
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/email/types.d.ts
|
|
16135
16158
|
type Prettify$5<T> = { [K in keyof T]: T[K] } & NonNullable<unknown>;
|
|
16136
16159
|
/**
|
|
16137
16160
|
* Options for sending an email. Allows access to the PayloadRequest object
|
|
@@ -16157,13 +16180,13 @@ type EmailAdapter<TSendEmailResponse = unknown> = ({
|
|
|
16157
16180
|
sendEmail: (message: SendEmailOptions) => Promise<TSendEmailResponse>;
|
|
16158
16181
|
};
|
|
16159
16182
|
//#endregion
|
|
16160
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16183
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/errors/types.d.ts
|
|
16161
16184
|
/**
|
|
16162
16185
|
* Error names that can be thrown by Payload during runtime
|
|
16163
16186
|
*/
|
|
16164
16187
|
type ErrorName = 'APIError' | 'AuthenticationError' | 'ErrorDeletingFile' | 'FileRetrievalError' | 'FileUploadError' | 'Forbidden' | 'Locked' | 'LockedAuth' | 'MissingFile' | 'NotFound' | 'QueryError' | 'UnverifiedEmail' | 'ValidationError';
|
|
16165
16188
|
//#endregion
|
|
16166
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16189
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/folders/types.d.ts
|
|
16167
16190
|
type RootFoldersConfiguration = {
|
|
16168
16191
|
/**
|
|
16169
16192
|
* If true, the browse by folder view will be enabled
|
|
@@ -16214,7 +16237,7 @@ type CollectionFoldersConfiguration = {
|
|
|
16214
16237
|
browseByFolder?: boolean;
|
|
16215
16238
|
};
|
|
16216
16239
|
//#endregion
|
|
16217
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16240
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/query-presets/types.d.ts
|
|
16218
16241
|
declare const operations: readonly ["read", "update", "delete"];
|
|
16219
16242
|
type ConstraintOperation = (typeof operations)[number];
|
|
16220
16243
|
type DefaultConstraint = 'everyone' | 'onlyMe' | 'specificUsers';
|
|
@@ -16238,7 +16261,7 @@ type QueryPresetConstraint = {
|
|
|
16238
16261
|
};
|
|
16239
16262
|
type QueryPresetConstraints = QueryPresetConstraint[];
|
|
16240
16263
|
//#endregion
|
|
16241
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16264
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/config/types/taskTypes.d.ts
|
|
16242
16265
|
type TaskInputOutput = {
|
|
16243
16266
|
input: object;
|
|
16244
16267
|
output: object;
|
|
@@ -16432,13 +16455,13 @@ type TaskConfig<TTaskSlugOrInputOutput extends keyof TypedJobs['tasks'] | TaskIn
|
|
|
16432
16455
|
slug: TTaskSlugOrInputOutput extends keyof TypedJobs['tasks'] ? TTaskSlugOrInputOutput : string;
|
|
16433
16456
|
};
|
|
16434
16457
|
//#endregion
|
|
16435
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16458
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/operations/runJobs/runJob/getRunTaskFunction.d.ts
|
|
16436
16459
|
type TaskParent = {
|
|
16437
16460
|
taskID: string;
|
|
16438
16461
|
taskSlug: string;
|
|
16439
16462
|
};
|
|
16440
16463
|
//#endregion
|
|
16441
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16464
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/config/types/workflowJSONTypes.d.ts
|
|
16442
16465
|
type WorkflowStep<TTaskSlug$1 extends keyof TypedJobs['tasks'], TWorkflowSlug extends false | keyof TypedJobs['workflows'] = false> = {
|
|
16443
16466
|
/**
|
|
16444
16467
|
* If this step is completed, the workflow will be marked as completed
|
|
@@ -16468,7 +16491,7 @@ type WorkflowStep<TTaskSlug$1 extends keyof TypedJobs['tasks'], TWorkflowSlug ex
|
|
|
16468
16491
|
type AllWorkflowSteps<TWorkflowSlug extends false | keyof TypedJobs['workflows'] = false> = { [TTaskSlug in keyof TypedJobs['tasks']]: WorkflowStep<TTaskSlug, TWorkflowSlug> }[keyof TypedJobs['tasks']];
|
|
16469
16492
|
type WorkflowJSON<TWorkflowSlug extends false | keyof TypedJobs['workflows'] = false> = Array<AllWorkflowSteps<TWorkflowSlug>>;
|
|
16470
16493
|
//#endregion
|
|
16471
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16494
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/config/types/workflowTypes.d.ts
|
|
16472
16495
|
type JobLog = {
|
|
16473
16496
|
completedAt: string;
|
|
16474
16497
|
error?: unknown;
|
|
@@ -16586,7 +16609,7 @@ type WorkflowConfig<TWorkflowSlugOrInput extends false | keyof TypedJobs['workfl
|
|
|
16586
16609
|
slug: TWorkflowSlugOrInput extends keyof TypedJobs['workflows'] ? TWorkflowSlugOrInput : string;
|
|
16587
16610
|
};
|
|
16588
16611
|
//#endregion
|
|
16589
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16612
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/config/global.d.ts
|
|
16590
16613
|
/**
|
|
16591
16614
|
* Type for data stored in the payload-jobs-stats global.
|
|
16592
16615
|
*/
|
|
@@ -16611,20 +16634,20 @@ type JobStats = {
|
|
|
16611
16634
|
};
|
|
16612
16635
|
};
|
|
16613
16636
|
//#endregion
|
|
16614
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16637
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/operations/handleSchedules/index.d.ts
|
|
16615
16638
|
type HandleSchedulesResult = {
|
|
16616
16639
|
errored: Queueable[];
|
|
16617
16640
|
queued: Queueable[];
|
|
16618
16641
|
skipped: Queueable[];
|
|
16619
16642
|
};
|
|
16620
16643
|
//#endregion
|
|
16621
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16644
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/operations/runJobs/runJob/index.d.ts
|
|
16622
16645
|
type JobRunStatus = 'error' | 'error-reached-max-retries' | 'success';
|
|
16623
16646
|
type RunJobResult = {
|
|
16624
16647
|
status: JobRunStatus;
|
|
16625
16648
|
};
|
|
16626
16649
|
//#endregion
|
|
16627
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16650
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/operations/runJobs/index.d.ts
|
|
16628
16651
|
type RunJobsArgs = {
|
|
16629
16652
|
/**
|
|
16630
16653
|
* If you want to run jobs from all queues, set this to true.
|
|
@@ -16688,13 +16711,13 @@ type RunJobsResult = {
|
|
|
16688
16711
|
};
|
|
16689
16712
|
declare const runJobs: (args: RunJobsArgs) => Promise<RunJobsResult>;
|
|
16690
16713
|
//#endregion
|
|
16691
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16714
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/localAPI.d.ts
|
|
16692
16715
|
type RunJobsSilent = {
|
|
16693
16716
|
error?: boolean;
|
|
16694
16717
|
info?: boolean;
|
|
16695
16718
|
} | boolean;
|
|
16696
16719
|
//#endregion
|
|
16697
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16720
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/queues/config/types/index.d.ts
|
|
16698
16721
|
type AutorunCronConfig = {
|
|
16699
16722
|
/**
|
|
16700
16723
|
* If you want to autoRUn jobs from all queues, set this to true.
|
|
@@ -16757,6 +16780,14 @@ type RunJobAccessArgs = {
|
|
|
16757
16780
|
req: PayloadRequest;
|
|
16758
16781
|
};
|
|
16759
16782
|
type RunJobAccess = (args: RunJobAccessArgs) => boolean | Promise<boolean>;
|
|
16783
|
+
type QueueJobAccessArgs = {
|
|
16784
|
+
req: PayloadRequest;
|
|
16785
|
+
};
|
|
16786
|
+
type CancelJobAccessArgs = {
|
|
16787
|
+
req: PayloadRequest;
|
|
16788
|
+
};
|
|
16789
|
+
type CancelJobAccess = (args: CancelJobAccessArgs) => boolean | Promise<boolean>;
|
|
16790
|
+
type QueueJobAccess = (args: QueueJobAccessArgs) => boolean | Promise<boolean>;
|
|
16760
16791
|
type SanitizedJobsConfig = {
|
|
16761
16792
|
/**
|
|
16762
16793
|
* If set to `true`, the job system is enabled and a payload-jobs collection exists.
|
|
@@ -16780,7 +16811,15 @@ type JobsConfig = {
|
|
|
16780
16811
|
*/
|
|
16781
16812
|
access?: {
|
|
16782
16813
|
/**
|
|
16783
|
-
* By default, all logged-in users can
|
|
16814
|
+
* By default, all logged-in users can cancel jobs.
|
|
16815
|
+
*/
|
|
16816
|
+
cancel?: CancelJobAccess;
|
|
16817
|
+
/**
|
|
16818
|
+
* By default, all logged-in users can queue jobs.
|
|
16819
|
+
*/
|
|
16820
|
+
queue?: QueueJobAccess;
|
|
16821
|
+
/**
|
|
16822
|
+
* By default, all logged-in users can run jobs.
|
|
16784
16823
|
*/
|
|
16785
16824
|
run?: RunJobAccess;
|
|
16786
16825
|
};
|
|
@@ -16811,6 +16850,7 @@ type JobsConfig = {
|
|
|
16811
16850
|
* queries will be used.
|
|
16812
16851
|
*
|
|
16813
16852
|
* @default 0
|
|
16853
|
+
* @deprecated - this will be removed in 4.0
|
|
16814
16854
|
*/
|
|
16815
16855
|
depth?: number;
|
|
16816
16856
|
/**
|
|
@@ -16950,14 +16990,14 @@ type ScheduleConfig = {
|
|
|
16950
16990
|
queue: string;
|
|
16951
16991
|
};
|
|
16952
16992
|
//#endregion
|
|
16953
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
16993
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/utilities/logger.d.ts
|
|
16954
16994
|
/**
|
|
16955
16995
|
* Payload internal logger. Uses Pino.
|
|
16956
16996
|
* This allows you to bring your own logger instance and let payload use it
|
|
16957
16997
|
*/
|
|
16958
16998
|
type PayloadLogger = Logger$3;
|
|
16959
16999
|
//#endregion
|
|
16960
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
17000
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/config/types.d.ts
|
|
16961
17001
|
/**
|
|
16962
17002
|
* The string path pointing to the React component. If one of the generics is `never`, you effectively mark it as a server-only or client-only component.
|
|
16963
17003
|
*
|
|
@@ -17119,7 +17159,7 @@ type AccessArgs<TData = any> = {
|
|
|
17119
17159
|
*/
|
|
17120
17160
|
data?: TData;
|
|
17121
17161
|
/** ID of the resource being accessed */
|
|
17122
|
-
id?:
|
|
17162
|
+
id?: DefaultDocumentIDType;
|
|
17123
17163
|
/** If true, the request is for a static file */
|
|
17124
17164
|
isReadingStaticFile?: boolean;
|
|
17125
17165
|
/** The original request that requires an access check */
|
|
@@ -17702,6 +17742,11 @@ type Config = {
|
|
|
17702
17742
|
* @default 5
|
|
17703
17743
|
*/
|
|
17704
17744
|
limit?: number;
|
|
17745
|
+
/**
|
|
17746
|
+
* The position of the toast on the screen.
|
|
17747
|
+
* @default 'bottom-right'
|
|
17748
|
+
*/
|
|
17749
|
+
position?: 'bottom-center' | 'bottom-left' | 'bottom-right' | 'top-center' | 'top-left' | 'top-right';
|
|
17705
17750
|
};
|
|
17706
17751
|
/** The slug of a Collection that you want to be used to log in to the Admin dashboard. */
|
|
17707
17752
|
user?: string;
|
|
@@ -17860,6 +17905,15 @@ type Config = {
|
|
|
17860
17905
|
* @experimental There may be frequent breaking changes to this API
|
|
17861
17906
|
*/
|
|
17862
17907
|
jobs?: JobsConfig;
|
|
17908
|
+
/**
|
|
17909
|
+
* Pass in a KV adapter for use on this project.
|
|
17910
|
+
* @default `DatabaseKVAdapter` from:
|
|
17911
|
+
* ```ts
|
|
17912
|
+
* import { createDatabaseKVAdapter } from 'payload'
|
|
17913
|
+
* createDatabaseKVAdapter()
|
|
17914
|
+
* ```
|
|
17915
|
+
*/
|
|
17916
|
+
kv?: KVAdapterResult;
|
|
17863
17917
|
/**
|
|
17864
17918
|
* Translate your content to different languages/locales.
|
|
17865
17919
|
*
|
|
@@ -18111,7 +18165,7 @@ type EntityDescriptionFunction = ({
|
|
|
18111
18165
|
}) => string;
|
|
18112
18166
|
type EntityDescription = EntityDescriptionFunction | Record<string, string> | string;
|
|
18113
18167
|
//#endregion
|
|
18114
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
18168
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/bin/generateImportMap/index.d.ts
|
|
18115
18169
|
type ImportIdentifier = string;
|
|
18116
18170
|
type ImportSpecifier = string;
|
|
18117
18171
|
type ImportPath = string;
|
|
@@ -18139,7 +18193,7 @@ type ImportMap = {
|
|
|
18139
18193
|
};
|
|
18140
18194
|
type AddToImportMap = (payloadComponent?: PayloadComponent | PayloadComponent[]) => void;
|
|
18141
18195
|
//#endregion
|
|
18142
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
18196
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Tabs.d.ts
|
|
18143
18197
|
type ClientTab = ({
|
|
18144
18198
|
fields: ClientField[];
|
|
18145
18199
|
passesCondition?: boolean;
|
|
@@ -18149,7 +18203,7 @@ type ClientTab = ({
|
|
|
18149
18203
|
passesCondition?: boolean;
|
|
18150
18204
|
} & Omit<UnnamedTab, 'fields'>);
|
|
18151
18205
|
//#endregion
|
|
18152
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
18206
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/Form.d.ts
|
|
18153
18207
|
type Data = {
|
|
18154
18208
|
[key: string]: any;
|
|
18155
18209
|
};
|
|
@@ -18234,7 +18288,7 @@ type FormState = {
|
|
|
18234
18288
|
[path: string]: FieldState;
|
|
18235
18289
|
};
|
|
18236
18290
|
//#endregion
|
|
18237
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
18291
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/elements/Cell.d.ts
|
|
18238
18292
|
type RowData = Record<string, any>;
|
|
18239
18293
|
type DefaultCellComponentProps<TField extends ClientField = ClientField, TCellData = undefined> = {
|
|
18240
18294
|
readonly cellData: TCellData extends undefined ? TField extends RelationshipFieldClient ? number | Record<string, any> | string : TField extends NumberFieldClient ? TField['hasMany'] extends true ? number[] : number : TField extends TextFieldClient ? TField['hasMany'] extends true ? string[] : string : TField extends CodeFieldClient | EmailFieldClient | JSONFieldClient | RadioFieldClient | TextareaFieldClient ? string : TField extends BlocksFieldClient ? {
|
|
@@ -20065,7 +20119,7 @@ type DatePickerProps = OmitUnion<CalendarProps, "setOpen" | "dateFormat" | "preS
|
|
|
20065
20119
|
onChange?: (date: Date[] | null, event?: React$1.MouseEvent<HTMLElement> | React$1.KeyboardEvent<HTMLElement>) => void;
|
|
20066
20120
|
});
|
|
20067
20121
|
//#endregion
|
|
20068
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20122
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/elements/DatePicker.d.ts
|
|
20069
20123
|
type SharedProps = {
|
|
20070
20124
|
displayFormat?: string;
|
|
20071
20125
|
overrides?: DatePickerProps;
|
|
@@ -20098,118 +20152,118 @@ type ConditionalDateProps = ({
|
|
|
20098
20152
|
pickerAppearance?: 'default';
|
|
20099
20153
|
} & SharedProps);
|
|
20100
20154
|
//#endregion
|
|
20101
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20155
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/elements/Upload.d.ts
|
|
20102
20156
|
type CustomUpload = CustomComponent;
|
|
20103
20157
|
//#endregion
|
|
20104
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20158
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Array.d.ts
|
|
20105
20159
|
type ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>;
|
|
20106
20160
|
type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField, ArrayFieldClientWithoutType>;
|
|
20107
20161
|
type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>;
|
|
20108
20162
|
type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField, ArrayFieldClientWithoutType>;
|
|
20109
20163
|
type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>;
|
|
20110
20164
|
//#endregion
|
|
20111
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20165
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Blocks.d.ts
|
|
20112
20166
|
type BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>;
|
|
20113
20167
|
type BlocksFieldLabelServerComponent = FieldLabelServerComponent<BlocksField, BlocksFieldClientWithoutType>;
|
|
20114
20168
|
type BlocksFieldLabelClientComponent = FieldLabelClientComponent<BlocksFieldClientWithoutType>;
|
|
20115
20169
|
type BlocksFieldErrorServerComponent = FieldErrorServerComponent<BlocksField, BlocksFieldClientWithoutType>;
|
|
20116
20170
|
type BlocksFieldErrorClientComponent = FieldErrorClientComponent<BlocksFieldClientWithoutType>;
|
|
20117
20171
|
//#endregion
|
|
20118
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20172
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Checkbox.d.ts
|
|
20119
20173
|
type CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>;
|
|
20120
20174
|
type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
|
|
20121
20175
|
type CheckboxFieldLabelClientComponent = FieldLabelClientComponent<CheckboxFieldClientWithoutType>;
|
|
20122
20176
|
type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
|
|
20123
20177
|
type CheckboxFieldErrorClientComponent = FieldErrorClientComponent<CheckboxFieldClientWithoutType>;
|
|
20124
20178
|
//#endregion
|
|
20125
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20179
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Code.d.ts
|
|
20126
20180
|
type CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>;
|
|
20127
20181
|
type CodeFieldLabelServerComponent = FieldLabelServerComponent<CodeField, CodeFieldClientWithoutType>;
|
|
20128
20182
|
type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>;
|
|
20129
20183
|
type CodeFieldErrorServerComponent = FieldErrorServerComponent<CodeField, CodeFieldClientWithoutType>;
|
|
20130
20184
|
type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>;
|
|
20131
20185
|
//#endregion
|
|
20132
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20186
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Collapsible.d.ts
|
|
20133
20187
|
type CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>;
|
|
20134
20188
|
type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
|
|
20135
20189
|
type CollapsibleFieldLabelClientComponent = FieldLabelClientComponent<CollapsibleFieldClientWithoutType>;
|
|
20136
20190
|
//#endregion
|
|
20137
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20191
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Date.d.ts
|
|
20138
20192
|
type DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>;
|
|
20139
20193
|
type DateFieldLabelServerComponent = FieldLabelServerComponent<DateField, DateFieldClientWithoutType>;
|
|
20140
20194
|
type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>;
|
|
20141
20195
|
type DateFieldErrorServerComponent = FieldErrorServerComponent<DateField, DateFieldClientWithoutType>;
|
|
20142
20196
|
type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>;
|
|
20143
20197
|
//#endregion
|
|
20144
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20198
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Email.d.ts
|
|
20145
20199
|
type EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>;
|
|
20146
20200
|
type EmailFieldLabelServerComponent = FieldLabelServerComponent<EmailField, EmailFieldClientWithoutType>;
|
|
20147
20201
|
type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>;
|
|
20148
20202
|
type EmailFieldErrorServerComponent = FieldErrorServerComponent<EmailField, EmailFieldClientWithoutType>;
|
|
20149
20203
|
type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>;
|
|
20150
20204
|
//#endregion
|
|
20151
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20205
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Group.d.ts
|
|
20152
20206
|
type GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>;
|
|
20153
20207
|
type GroupFieldLabelServerComponent = FieldLabelServerComponent<GroupField, GroupFieldClientWithoutType>;
|
|
20154
20208
|
type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>;
|
|
20155
20209
|
//#endregion
|
|
20156
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20210
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/JSON.d.ts
|
|
20157
20211
|
type JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>;
|
|
20158
20212
|
type JSONFieldLabelServerComponent = FieldLabelServerComponent<JSONField, JSONFieldClientWithoutType>;
|
|
20159
20213
|
type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>;
|
|
20160
20214
|
type JSONFieldErrorServerComponent = FieldErrorServerComponent<JSONField, JSONFieldClientWithoutType>;
|
|
20161
20215
|
type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>;
|
|
20162
20216
|
//#endregion
|
|
20163
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20217
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Number.d.ts
|
|
20164
20218
|
type NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>;
|
|
20165
20219
|
type NumberFieldLabelServerComponent = FieldLabelServerComponent<NumberField, NumberFieldClientWithoutType>;
|
|
20166
20220
|
type NumberFieldLabelClientComponent = FieldLabelClientComponent<NumberFieldClientWithoutType>;
|
|
20167
20221
|
type NumberFieldErrorServerComponent = FieldErrorServerComponent<NumberField, NumberFieldClientWithoutType>;
|
|
20168
20222
|
type NumberFieldErrorClientComponent = FieldErrorClientComponent<NumberFieldClientWithoutType>;
|
|
20169
20223
|
//#endregion
|
|
20170
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20224
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Point.d.ts
|
|
20171
20225
|
type PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>;
|
|
20172
20226
|
type PointFieldLabelServerComponent = FieldLabelServerComponent<PointField, PointFieldClientWithoutType>;
|
|
20173
20227
|
type PointFieldLabelClientComponent = FieldLabelClientComponent<PointFieldClientWithoutType>;
|
|
20174
20228
|
type PointFieldErrorServerComponent = FieldErrorServerComponent<PointField, PointFieldClientWithoutType>;
|
|
20175
20229
|
type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>;
|
|
20176
20230
|
//#endregion
|
|
20177
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20231
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Radio.d.ts
|
|
20178
20232
|
type RadioFieldClientWithoutType = MarkOptional<RadioFieldClient, 'type'>;
|
|
20179
20233
|
type RadioFieldLabelServerComponent = FieldLabelServerComponent<RadioField, RadioFieldClientWithoutType>;
|
|
20180
20234
|
type RadioFieldLabelClientComponent = FieldLabelClientComponent<RadioFieldClientWithoutType>;
|
|
20181
20235
|
type RadioFieldErrorServerComponent = FieldErrorServerComponent<RadioField, RadioFieldClientWithoutType>;
|
|
20182
20236
|
type RadioFieldErrorClientComponent = FieldErrorClientComponent<RadioFieldClientWithoutType>;
|
|
20183
20237
|
//#endregion
|
|
20184
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20238
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Relationship.d.ts
|
|
20185
20239
|
type RelationshipFieldClientWithoutType = MarkOptional<RelationshipFieldClient, 'type'>;
|
|
20186
20240
|
type RelationshipFieldLabelServerComponent = FieldLabelServerComponent<RelationshipField, RelationshipFieldClientWithoutType>;
|
|
20187
20241
|
type RelationshipFieldLabelClientComponent = FieldLabelClientComponent<RelationshipFieldClientWithoutType>;
|
|
20188
20242
|
type RelationshipFieldErrorServerComponent = FieldErrorServerComponent<RelationshipField, RelationshipFieldClientWithoutType>;
|
|
20189
20243
|
type RelationshipFieldErrorClientComponent = FieldErrorClientComponent<RelationshipFieldClientWithoutType>;
|
|
20190
20244
|
//#endregion
|
|
20191
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20245
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Select.d.ts
|
|
20192
20246
|
type SelectFieldClientWithoutType = MarkOptional<SelectFieldClient, 'type'>;
|
|
20193
20247
|
type SelectFieldLabelServerComponent = FieldLabelServerComponent<SelectField, SelectFieldClientWithoutType>;
|
|
20194
20248
|
type SelectFieldLabelClientComponent = FieldLabelClientComponent<SelectFieldClientWithoutType>;
|
|
20195
20249
|
type SelectFieldErrorServerComponent = FieldErrorServerComponent<SelectField, SelectFieldClientWithoutType>;
|
|
20196
20250
|
type SelectFieldErrorClientComponent = FieldErrorClientComponent<SelectFieldClientWithoutType>;
|
|
20197
20251
|
//#endregion
|
|
20198
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20252
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Text.d.ts
|
|
20199
20253
|
type TextFieldClientWithoutType = MarkOptional<TextFieldClient, 'type'>;
|
|
20200
20254
|
type TextFieldLabelServerComponent = FieldLabelServerComponent<TextField, TextFieldClientWithoutType>;
|
|
20201
20255
|
type TextFieldLabelClientComponent = FieldLabelClientComponent<TextFieldClientWithoutType>;
|
|
20202
20256
|
type TextFieldErrorServerComponent = FieldErrorServerComponent<TextField, TextFieldClientWithoutType>;
|
|
20203
20257
|
type TextFieldErrorClientComponent = FieldErrorClientComponent<TextFieldClientWithoutType>;
|
|
20204
20258
|
//#endregion
|
|
20205
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20259
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/fields/Textarea.d.ts
|
|
20206
20260
|
type TextareaFieldClientWithoutType = MarkOptional<TextareaFieldClient, 'type'>;
|
|
20207
20261
|
type TextareaFieldLabelServerComponent = FieldLabelServerComponent<TextareaField, TextareaFieldClientWithoutType>;
|
|
20208
20262
|
type TextareaFieldLabelClientComponent = FieldLabelClientComponent<TextareaFieldClientWithoutType>;
|
|
20209
20263
|
type TextareaFieldErrorServerComponent = FieldErrorServerComponent<TextareaField, TextareaFieldClientWithoutType>;
|
|
20210
20264
|
type TextareaFieldErrorClientComponent = FieldErrorClientComponent<TextareaFieldClientWithoutType>;
|
|
20211
20265
|
//#endregion
|
|
20212
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20266
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/Description.d.ts
|
|
20213
20267
|
type DescriptionFunction = (args: {
|
|
20214
20268
|
i18n: I18nClient;
|
|
20215
20269
|
t: TFunction;
|
|
@@ -20230,7 +20284,7 @@ type FieldDescriptionClientProps<TFieldClient extends ClientFieldWithOptionalTyp
|
|
|
20230
20284
|
field: TFieldClient;
|
|
20231
20285
|
} & GenericDescriptionProps;
|
|
20232
20286
|
//#endregion
|
|
20233
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20287
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/Diff.d.ts
|
|
20234
20288
|
type VersionTab = {
|
|
20235
20289
|
fields: VersionField[];
|
|
20236
20290
|
name?: string;
|
|
@@ -20283,7 +20337,7 @@ type FieldDiffServerProps<TField extends Field = Field, TClientField extends Cli
|
|
|
20283
20337
|
selectedLocales: string[];
|
|
20284
20338
|
} & Omit<FieldDiffClientProps, 'field'>;
|
|
20285
20339
|
//#endregion
|
|
20286
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20340
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/Label.d.ts
|
|
20287
20341
|
type GenericLabelProps = {
|
|
20288
20342
|
readonly as?: 'h3' | 'label' | 'span';
|
|
20289
20343
|
readonly hideLocale?: boolean;
|
|
@@ -20304,10 +20358,10 @@ type FieldLabelServerProps<TFieldServer extends Field, TFieldClient extends Clie
|
|
|
20304
20358
|
type FieldLabelClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldLabelClientProps<TFieldClient>>;
|
|
20305
20359
|
type FieldLabelServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldLabelServerProps<TFieldServer, TFieldClient>>;
|
|
20306
20360
|
//#endregion
|
|
20307
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20361
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/forms/RowLabel.d.ts
|
|
20308
20362
|
type RowLabelComponent = CustomComponent;
|
|
20309
20363
|
//#endregion
|
|
20310
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20364
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/admin/types.d.ts
|
|
20311
20365
|
type RenderedField = {
|
|
20312
20366
|
Field: React$1.ReactNode;
|
|
20313
20367
|
indexPath?: string;
|
|
@@ -20343,7 +20397,7 @@ type ClientFieldSchemaMap = Map<SchemaPath, {
|
|
|
20343
20397
|
fields: ClientField[];
|
|
20344
20398
|
} | ClientBlock | ClientField | ClientTab>;
|
|
20345
20399
|
//#endregion
|
|
20346
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20400
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/me.d.ts
|
|
20347
20401
|
type Arguments$1 = {
|
|
20348
20402
|
collection: Collection$1;
|
|
20349
20403
|
currentToken?: string;
|
|
@@ -20355,7 +20409,7 @@ type Arguments$1 = {
|
|
|
20355
20409
|
select?: SelectType;
|
|
20356
20410
|
};
|
|
20357
20411
|
//#endregion
|
|
20358
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20412
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/refresh.d.ts
|
|
20359
20413
|
type Result$3 = {
|
|
20360
20414
|
exp: number;
|
|
20361
20415
|
refreshedToken: string;
|
|
@@ -20375,13 +20429,13 @@ type Arguments$2 = {
|
|
|
20375
20429
|
};
|
|
20376
20430
|
declare const refreshOperation: (incomingArgs: Arguments$2) => Promise<Result$3>;
|
|
20377
20431
|
//#endregion
|
|
20378
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20432
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/uploads/optionallyAppendMetadata.d.ts
|
|
20379
20433
|
type WithMetadata = ((options: {
|
|
20380
20434
|
metadata: SharpMetadata;
|
|
20381
20435
|
req: PayloadRequest;
|
|
20382
20436
|
}) => Promise<boolean>) | boolean;
|
|
20383
20437
|
//#endregion
|
|
20384
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20438
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/uploads/types.d.ts
|
|
20385
20439
|
/**
|
|
20386
20440
|
* Params sent to the sharp `toFormat()` function
|
|
20387
20441
|
* @link https://sharp.pixelplumbing.com/api-output#toformat
|
|
@@ -20660,7 +20714,7 @@ type File$2 = {
|
|
|
20660
20714
|
size: number;
|
|
20661
20715
|
};
|
|
20662
20716
|
//#endregion
|
|
20663
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20717
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/forgotPassword.d.ts
|
|
20664
20718
|
type Arguments$14<TSlug extends CollectionSlug> = {
|
|
20665
20719
|
collection: Collection$1;
|
|
20666
20720
|
data: {
|
|
@@ -20673,7 +20727,7 @@ type Arguments$14<TSlug extends CollectionSlug> = {
|
|
|
20673
20727
|
type Result = string;
|
|
20674
20728
|
declare const forgotPasswordOperation: <TSlug extends CollectionSlug>(incomingArgs: Arguments$14<TSlug>) => Promise<null | string>;
|
|
20675
20729
|
//#endregion
|
|
20676
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20730
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/login.d.ts
|
|
20677
20731
|
type Result$1 = {
|
|
20678
20732
|
exp?: number;
|
|
20679
20733
|
token?: string;
|
|
@@ -20691,7 +20745,7 @@ declare const loginOperation: <TSlug extends CollectionSlug>(incomingArgs: Argum
|
|
|
20691
20745
|
user: DataFromCollectionSlug<TSlug>;
|
|
20692
20746
|
} & Result$1>;
|
|
20693
20747
|
//#endregion
|
|
20694
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20748
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/resetPassword.d.ts
|
|
20695
20749
|
type Result$2 = {
|
|
20696
20750
|
token?: string;
|
|
20697
20751
|
user: Record<string, unknown>;
|
|
@@ -20708,7 +20762,7 @@ type Arguments$12 = {
|
|
|
20708
20762
|
};
|
|
20709
20763
|
declare const resetPasswordOperation: <TSlug extends CollectionSlug>(args: Arguments$12) => Promise<Result$2>;
|
|
20710
20764
|
//#endregion
|
|
20711
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20765
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/count.d.ts
|
|
20712
20766
|
type Arguments$11 = {
|
|
20713
20767
|
collection: Collection$1;
|
|
20714
20768
|
disableErrors?: boolean;
|
|
@@ -20721,7 +20775,7 @@ declare const countOperation: <TSlug extends CollectionSlug>(incomingArgs: Argum
|
|
|
20721
20775
|
totalDocs: number;
|
|
20722
20776
|
}>;
|
|
20723
20777
|
//#endregion
|
|
20724
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20778
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/countVersions.d.ts
|
|
20725
20779
|
type Arguments$10 = {
|
|
20726
20780
|
collection: Collection$1;
|
|
20727
20781
|
disableErrors?: boolean;
|
|
@@ -20733,7 +20787,7 @@ declare const countVersionsOperation: <TSlug extends CollectionSlug>(incomingArg
|
|
|
20733
20787
|
totalDocs: number;
|
|
20734
20788
|
}>;
|
|
20735
20789
|
//#endregion
|
|
20736
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20790
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/create.d.ts
|
|
20737
20791
|
type Arguments$9<TSlug extends CollectionSlug> = {
|
|
20738
20792
|
autosave?: boolean;
|
|
20739
20793
|
collection: Collection$1;
|
|
@@ -20749,11 +20803,12 @@ type Arguments$9<TSlug extends CollectionSlug> = {
|
|
|
20749
20803
|
publishSpecificLocale?: string;
|
|
20750
20804
|
req: PayloadRequest;
|
|
20751
20805
|
select?: SelectType;
|
|
20806
|
+
selectedLocales?: string[];
|
|
20752
20807
|
showHiddenFields?: boolean;
|
|
20753
20808
|
};
|
|
20754
20809
|
declare const createOperation: <TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>>(incomingArgs: Arguments$9<TSlug>) => Promise<TransformCollectionWithSelect<TSlug, TSelect>>;
|
|
20755
20810
|
//#endregion
|
|
20756
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20811
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/delete.d.ts
|
|
20757
20812
|
type Arguments$8 = {
|
|
20758
20813
|
collection: Collection$1;
|
|
20759
20814
|
depth?: number;
|
|
@@ -20769,7 +20824,7 @@ type Arguments$8 = {
|
|
|
20769
20824
|
};
|
|
20770
20825
|
declare const deleteOperation: <TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>>(incomingArgs: Arguments$8) => Promise<BulkOperationResult<TSlug, TSelect>>;
|
|
20771
20826
|
//#endregion
|
|
20772
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20827
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/deleteByID.d.ts
|
|
20773
20828
|
type Arguments$7 = {
|
|
20774
20829
|
collection: Collection$1;
|
|
20775
20830
|
depth?: number;
|
|
@@ -20785,7 +20840,7 @@ type Arguments$7 = {
|
|
|
20785
20840
|
};
|
|
20786
20841
|
declare const deleteByIDOperation: <TSlug extends CollectionSlug, TSelect extends SelectType>(incomingArgs: Arguments$7) => Promise<TransformCollectionWithSelect<TSlug, TSelect>>;
|
|
20787
20842
|
//#endregion
|
|
20788
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20843
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/find.d.ts
|
|
20789
20844
|
type Arguments$6 = {
|
|
20790
20845
|
collection: Collection$1;
|
|
20791
20846
|
currentDepth?: number;
|
|
@@ -20808,7 +20863,7 @@ type Arguments$6 = {
|
|
|
20808
20863
|
};
|
|
20809
20864
|
declare const findOperation: <TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>>(incomingArgs: Arguments$6) => Promise<PaginatedDocs<TransformCollectionWithSelect<TSlug, TSelect>>>;
|
|
20810
20865
|
//#endregion
|
|
20811
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20866
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/fields/hooks/afterRead/index.d.ts
|
|
20812
20867
|
type AfterReadArgs<T extends JsonObject> = {
|
|
20813
20868
|
collection: null | SanitizedCollectionConfig;
|
|
20814
20869
|
context: RequestContext;
|
|
@@ -20816,7 +20871,7 @@ type AfterReadArgs<T extends JsonObject> = {
|
|
|
20816
20871
|
depth: number;
|
|
20817
20872
|
doc: T;
|
|
20818
20873
|
draft: boolean;
|
|
20819
|
-
fallbackLocale:
|
|
20874
|
+
fallbackLocale: TypedFallbackLocale;
|
|
20820
20875
|
findMany?: boolean;
|
|
20821
20876
|
/**
|
|
20822
20877
|
* Controls whether locales should be flattened into the requested locale.
|
|
@@ -20834,7 +20889,7 @@ type AfterReadArgs<T extends JsonObject> = {
|
|
|
20834
20889
|
showHiddenFields: boolean;
|
|
20835
20890
|
};
|
|
20836
20891
|
//#endregion
|
|
20837
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20892
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/findByID.d.ts
|
|
20838
20893
|
type FindByIDArgs = {
|
|
20839
20894
|
collection: Collection$1;
|
|
20840
20895
|
currentDepth?: number;
|
|
@@ -20858,7 +20913,7 @@ type FindByIDArgs = {
|
|
|
20858
20913
|
} & Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>;
|
|
20859
20914
|
declare const findByIDOperation: <TSlug extends CollectionSlug, TDisableErrors extends boolean, TSelect extends SelectFromCollectionSlug<TSlug>>(incomingArgs: FindByIDArgs) => Promise<ApplyDisableErrors<TransformCollectionWithSelect<TSlug, TSelect>, TDisableErrors>>;
|
|
20860
20915
|
//#endregion
|
|
20861
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20916
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/findDistinct.d.ts
|
|
20862
20917
|
type Arguments$5 = {
|
|
20863
20918
|
collection: Collection$1;
|
|
20864
20919
|
depth?: number;
|
|
@@ -20877,7 +20932,7 @@ type Arguments$5 = {
|
|
|
20877
20932
|
};
|
|
20878
20933
|
declare const findDistinctOperation: (incomingArgs: Arguments$5) => Promise<PaginatedDistinctDocs<Record<string, unknown>>>;
|
|
20879
20934
|
//#endregion
|
|
20880
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20935
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/update.d.ts
|
|
20881
20936
|
type Arguments$4<TSlug extends CollectionSlug> = {
|
|
20882
20937
|
autosave?: boolean;
|
|
20883
20938
|
collection: Collection$1;
|
|
@@ -20906,7 +20961,7 @@ type Arguments$4<TSlug extends CollectionSlug> = {
|
|
|
20906
20961
|
};
|
|
20907
20962
|
declare const updateOperation: <TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>>(incomingArgs: Arguments$4<TSlug>) => Promise<BulkOperationResult<TSlug, TSelect>>;
|
|
20908
20963
|
//#endregion
|
|
20909
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20964
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/updateByID.d.ts
|
|
20910
20965
|
type Arguments$3<TSlug extends CollectionSlug> = {
|
|
20911
20966
|
autosave?: boolean;
|
|
20912
20967
|
collection: Collection$1;
|
|
@@ -20928,7 +20983,7 @@ type Arguments$3<TSlug extends CollectionSlug> = {
|
|
|
20928
20983
|
};
|
|
20929
20984
|
declare const updateByIDOperation: <TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug> = SelectType>(incomingArgs: Arguments$3<TSlug>) => Promise<TransformCollectionWithSelect<TSlug, TSelect>>;
|
|
20930
20985
|
//#endregion
|
|
20931
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
20986
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/utils.d.ts
|
|
20932
20987
|
type AfterOperationMap<TOperationGeneric extends CollectionSlug> = {
|
|
20933
20988
|
count: typeof countOperation<TOperationGeneric>;
|
|
20934
20989
|
countVersions: typeof countVersionsOperation<TOperationGeneric>;
|
|
@@ -21012,7 +21067,7 @@ type AfterOperationArg<TOperationGeneric extends CollectionSlug> = {
|
|
|
21012
21067
|
result: Awaited<ReturnType<AfterOperationMap<TOperationGeneric>['updateByID']>>;
|
|
21013
21068
|
});
|
|
21014
21069
|
//#endregion
|
|
21015
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21070
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/config/types.d.ts
|
|
21016
21071
|
type DataFromCollectionSlug<TSlug extends CollectionSlug> = TypedCollection[TSlug];
|
|
21017
21072
|
type SelectFromCollectionSlug<TSlug extends CollectionSlug> = TypedCollectionSelect[TSlug];
|
|
21018
21073
|
type AuthOperationsFromCollectionSlug<TSlug extends CollectionSlug> = TypedAuthOperations[TSlug];
|
|
@@ -21279,7 +21334,7 @@ type CollectionAdminOptions = {
|
|
|
21279
21334
|
};
|
|
21280
21335
|
};
|
|
21281
21336
|
/** Extension point to add your custom data. Available in server and client. */
|
|
21282
|
-
custom?:
|
|
21337
|
+
custom?: CollectionAdminCustom;
|
|
21283
21338
|
/**
|
|
21284
21339
|
* Default columns to show in list view
|
|
21285
21340
|
*/
|
|
@@ -21407,7 +21462,7 @@ type CollectionConfig$1<TSlug extends CollectionSlug = any> = {
|
|
|
21407
21462
|
*/
|
|
21408
21463
|
auth?: boolean | IncomingAuthType;
|
|
21409
21464
|
/** Extension point to add your custom data. Server only. */
|
|
21410
|
-
custom?:
|
|
21465
|
+
custom?: CollectionCustom;
|
|
21411
21466
|
/**
|
|
21412
21467
|
* Used to override the default naming of the database table or collection with your using a function or string
|
|
21413
21468
|
* @WARNING: If you change this property with existing data, you will need to handle the renaming of the table in your database or by using migrations
|
|
@@ -21632,6 +21687,7 @@ type BulkOperationResult<TSlug extends CollectionSlug, TSelect extends SelectTyp
|
|
|
21632
21687
|
docs: TransformCollectionWithSelect<TSlug, TSelect>[];
|
|
21633
21688
|
errors: {
|
|
21634
21689
|
id: DataFromCollectionSlug<TSlug>['id'];
|
|
21690
|
+
isPublic: boolean;
|
|
21635
21691
|
message: string;
|
|
21636
21692
|
}[];
|
|
21637
21693
|
};
|
|
@@ -21652,15 +21708,15 @@ type SanitizedCompoundIndex = {
|
|
|
21652
21708
|
unique: boolean;
|
|
21653
21709
|
};
|
|
21654
21710
|
//#endregion
|
|
21655
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21711
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/types/constants.d.ts
|
|
21656
21712
|
declare const validOperators: readonly ["equals", "contains", "not_equals", "in", "all", "not_in", "exists", "greater_than", "greater_than_equal", "less_than", "less_than_equal", "like", "not_like", "within", "intersects", "near"];
|
|
21657
21713
|
type Operator = (typeof validOperators)[number];
|
|
21658
21714
|
//#endregion
|
|
21659
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21715
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/types/index.d.ts
|
|
21660
21716
|
type CustomPayloadRequestProperties = {
|
|
21661
21717
|
context: RequestContext;
|
|
21662
21718
|
/** The locale that should be used for a field when it is not translated to the requested locale */
|
|
21663
|
-
fallbackLocale?:
|
|
21719
|
+
fallbackLocale?: TypedFallbackLocale;
|
|
21664
21720
|
i18n: I18n;
|
|
21665
21721
|
/**
|
|
21666
21722
|
* The requested locale if specified
|
|
@@ -21729,6 +21785,8 @@ type PayloadRequestData = {
|
|
|
21729
21785
|
*
|
|
21730
21786
|
* 2. import { addDataAndFileToRequest } from 'payload'
|
|
21731
21787
|
* `await addDataAndFileToRequest(req)`
|
|
21788
|
+
*
|
|
21789
|
+
* You should not expect this object to be the document data. It is the request data.
|
|
21732
21790
|
* */
|
|
21733
21791
|
data?: JsonObject;
|
|
21734
21792
|
/** The file on the request, same rules apply as the `data` property */
|
|
@@ -21744,7 +21802,9 @@ type PayloadRequestData = {
|
|
|
21744
21802
|
tempFilePath?: string;
|
|
21745
21803
|
};
|
|
21746
21804
|
};
|
|
21747
|
-
|
|
21805
|
+
interface PayloadRequest extends CustomPayloadRequestProperties, Partial<Request>, PayloadRequestData {
|
|
21806
|
+
headers: Request['headers'];
|
|
21807
|
+
}
|
|
21748
21808
|
type JsonValue = JsonArray | JsonObject | unknown;
|
|
21749
21809
|
type JsonArray = Array<JsonValue>;
|
|
21750
21810
|
interface JsonObject {
|
|
@@ -21789,7 +21849,7 @@ type TransformGlobalWithSelect<TSlug extends GlobalSlug, TSelect extends SelectT
|
|
|
21789
21849
|
type PopulateType = Partial<TypedCollectionSelect>;
|
|
21790
21850
|
type PickPreserveOptional<T, K$1 extends keyof T> = Partial<Pick<T, Extract<K$1, OptionalKeys<T>>>> & Pick<T, Extract<K$1, RequiredKeys<T>>>;
|
|
21791
21851
|
//#endregion
|
|
21792
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21852
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/auth.d.ts
|
|
21793
21853
|
type AuthArgs = {
|
|
21794
21854
|
/**
|
|
21795
21855
|
* Specify if it's possible for auth strategies to set headers within this operation.
|
|
@@ -21865,7 +21925,7 @@ type OperationArgs<Context extends OperationContext = undefined> = ExecutionArgs
|
|
|
21865
21925
|
contextValue?: Context;
|
|
21866
21926
|
};
|
|
21867
21927
|
//#endregion
|
|
21868
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21928
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/local/forgotPassword.d.ts
|
|
21869
21929
|
type Options$1<T extends CollectionSlug> = {
|
|
21870
21930
|
collection: T;
|
|
21871
21931
|
context?: RequestContext;
|
|
@@ -21877,7 +21937,7 @@ type Options$1<T extends CollectionSlug> = {
|
|
|
21877
21937
|
req?: Partial<PayloadRequest>;
|
|
21878
21938
|
};
|
|
21879
21939
|
//#endregion
|
|
21880
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21940
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/local/login.d.ts
|
|
21881
21941
|
type Options$2<TSlug extends CollectionSlug> = {
|
|
21882
21942
|
collection: TSlug;
|
|
21883
21943
|
context?: RequestContext;
|
|
@@ -21891,7 +21951,7 @@ type Options$2<TSlug extends CollectionSlug> = {
|
|
|
21891
21951
|
trash?: boolean;
|
|
21892
21952
|
};
|
|
21893
21953
|
//#endregion
|
|
21894
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21954
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/local/resetPassword.d.ts
|
|
21895
21955
|
type Options$3<T extends CollectionSlug> = {
|
|
21896
21956
|
collection: T;
|
|
21897
21957
|
context?: RequestContext;
|
|
@@ -21903,7 +21963,7 @@ type Options$3<T extends CollectionSlug> = {
|
|
|
21903
21963
|
req?: Partial<PayloadRequest>;
|
|
21904
21964
|
};
|
|
21905
21965
|
//#endregion
|
|
21906
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21966
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/local/unlock.d.ts
|
|
21907
21967
|
type Options$4<TSlug extends CollectionSlug> = {
|
|
21908
21968
|
collection: TSlug;
|
|
21909
21969
|
context?: RequestContext;
|
|
@@ -21912,7 +21972,7 @@ type Options$4<TSlug extends CollectionSlug> = {
|
|
|
21912
21972
|
req?: Partial<PayloadRequest>;
|
|
21913
21973
|
};
|
|
21914
21974
|
//#endregion
|
|
21915
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21975
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/operations/local/verifyEmail.d.ts
|
|
21916
21976
|
type Options$5<T extends CollectionSlug> = {
|
|
21917
21977
|
collection: T;
|
|
21918
21978
|
context?: RequestContext;
|
|
@@ -21920,7 +21980,7 @@ type Options$5<T extends CollectionSlug> = {
|
|
|
21920
21980
|
token: string;
|
|
21921
21981
|
};
|
|
21922
21982
|
//#endregion
|
|
21923
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
21983
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/count.d.ts
|
|
21924
21984
|
type Options$6<TSlug extends CollectionSlug> = {
|
|
21925
21985
|
/**
|
|
21926
21986
|
* the Collection slug to operate against.
|
|
@@ -21975,7 +22035,7 @@ type Options$6<TSlug extends CollectionSlug> = {
|
|
|
21975
22035
|
where?: Where;
|
|
21976
22036
|
};
|
|
21977
22037
|
//#endregion
|
|
21978
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22038
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/create.d.ts
|
|
21979
22039
|
type BaseOptions$2<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
21980
22040
|
/**
|
|
21981
22041
|
* the Collection slug to operate against.
|
|
@@ -22078,7 +22138,7 @@ type Options$7<TSlug extends CollectionSlug, TSelect extends SelectType> = ({
|
|
|
22078
22138
|
draft: true;
|
|
22079
22139
|
} & BaseOptions$2<TSlug, TSelect>);
|
|
22080
22140
|
//#endregion
|
|
22081
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22141
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/delete.d.ts
|
|
22082
22142
|
type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
22083
22143
|
/**
|
|
22084
22144
|
* the Collection slug to operate against.
|
|
@@ -22171,7 +22231,7 @@ type ManyOptions<TSlug extends CollectionSlug, TSelect extends SelectFromCollect
|
|
|
22171
22231
|
where: Where;
|
|
22172
22232
|
} & BaseOptions$1<TSlug, TSelect>;
|
|
22173
22233
|
//#endregion
|
|
22174
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22234
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/duplicate.d.ts
|
|
22175
22235
|
type Options$8<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
22176
22236
|
/**
|
|
22177
22237
|
* the Collection slug to operate against.
|
|
@@ -22232,6 +22292,11 @@ type Options$8<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
|
22232
22292
|
* Specify [select](https://payloadcms.com/docs/queries/select) to control which fields to include to the result.
|
|
22233
22293
|
*/
|
|
22234
22294
|
select?: TSelect;
|
|
22295
|
+
/**
|
|
22296
|
+
* Specifies which locales to include when duplicating localized fields. Non-localized data is always duplicated.
|
|
22297
|
+
* By default, all locales are duplicated.
|
|
22298
|
+
*/
|
|
22299
|
+
selectedLocales?: string[];
|
|
22235
22300
|
/**
|
|
22236
22301
|
* Opt-in to receiving hidden fields. By default, they are hidden from returned documents in accordance to your config.
|
|
22237
22302
|
* @default false
|
|
@@ -22243,7 +22308,7 @@ type Options$8<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
|
22243
22308
|
user?: Document$1;
|
|
22244
22309
|
};
|
|
22245
22310
|
//#endregion
|
|
22246
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22311
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/find.d.ts
|
|
22247
22312
|
type Options$9<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
22248
22313
|
/**
|
|
22249
22314
|
* the Collection slug to operate against.
|
|
@@ -22276,7 +22341,7 @@ type Options$9<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
|
22276
22341
|
/**
|
|
22277
22342
|
* Specify a [fallback locale](https://payloadcms.com/docs/configuration/localization) to use for any returned documents.
|
|
22278
22343
|
*/
|
|
22279
|
-
fallbackLocale?:
|
|
22344
|
+
fallbackLocale?: TypedFallbackLocale;
|
|
22280
22345
|
/**
|
|
22281
22346
|
* Include info about the lock status to the result into all documents with fields: `_isLocked` and `_userEditing`
|
|
22282
22347
|
*/
|
|
@@ -22355,7 +22420,7 @@ type Options$9<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
|
22355
22420
|
where?: Where;
|
|
22356
22421
|
};
|
|
22357
22422
|
//#endregion
|
|
22358
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22423
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/findByID.d.ts
|
|
22359
22424
|
type Options$10<TSlug extends CollectionSlug, TDisableErrors extends boolean, TSelect extends SelectType> = {
|
|
22360
22425
|
/**
|
|
22361
22426
|
* the Collection slug to operate against.
|
|
@@ -22394,7 +22459,7 @@ type Options$10<TSlug extends CollectionSlug, TDisableErrors extends boolean, TS
|
|
|
22394
22459
|
/**
|
|
22395
22460
|
* Specify a [fallback locale](https://payloadcms.com/docs/configuration/localization) to use for any returned documents.
|
|
22396
22461
|
*/
|
|
22397
|
-
fallbackLocale?:
|
|
22462
|
+
fallbackLocale?: TypedFallbackLocale;
|
|
22398
22463
|
/**
|
|
22399
22464
|
* The ID of the document to find.
|
|
22400
22465
|
*/
|
|
@@ -22451,7 +22516,7 @@ type Options$10<TSlug extends CollectionSlug, TDisableErrors extends boolean, TS
|
|
|
22451
22516
|
user?: Document$1;
|
|
22452
22517
|
} & Pick<FindByIDArgs, 'flattenLocales'>;
|
|
22453
22518
|
//#endregion
|
|
22454
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22519
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/findDistinct.d.ts
|
|
22455
22520
|
type Options$11<TSlug extends CollectionSlug, TField extends keyof DataFromCollectionSlug<TSlug>> = {
|
|
22456
22521
|
/**
|
|
22457
22522
|
* the Collection slug to operate against.
|
|
@@ -22535,7 +22600,7 @@ type Options$11<TSlug extends CollectionSlug, TField extends keyof DataFromColle
|
|
|
22535
22600
|
where?: Where;
|
|
22536
22601
|
};
|
|
22537
22602
|
//#endregion
|
|
22538
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22603
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/findVersionByID.d.ts
|
|
22539
22604
|
type Options$12<TSlug extends CollectionSlug> = {
|
|
22540
22605
|
/**
|
|
22541
22606
|
* the Collection slug to operate against.
|
|
@@ -22612,7 +22677,7 @@ type Options$12<TSlug extends CollectionSlug> = {
|
|
|
22612
22677
|
user?: Document$1;
|
|
22613
22678
|
};
|
|
22614
22679
|
//#endregion
|
|
22615
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22680
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/findVersions.d.ts
|
|
22616
22681
|
type Options$13<TSlug extends CollectionSlug> = {
|
|
22617
22682
|
/**
|
|
22618
22683
|
* the Collection slug to operate against.
|
|
@@ -22706,7 +22771,7 @@ type Options$13<TSlug extends CollectionSlug> = {
|
|
|
22706
22771
|
where?: Where;
|
|
22707
22772
|
};
|
|
22708
22773
|
//#endregion
|
|
22709
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22774
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/restoreVersion.d.ts
|
|
22710
22775
|
type Options$14<TSlug extends CollectionSlug> = {
|
|
22711
22776
|
/**
|
|
22712
22777
|
* the Collection slug to operate against.
|
|
@@ -22769,7 +22834,7 @@ type Options$14<TSlug extends CollectionSlug> = {
|
|
|
22769
22834
|
user?: Document$1;
|
|
22770
22835
|
};
|
|
22771
22836
|
//#endregion
|
|
22772
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22837
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/local/update.d.ts
|
|
22773
22838
|
type BaseOptions<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
22774
22839
|
/**
|
|
22775
22840
|
* Whether the current update should be marked as from autosave.
|
|
@@ -22912,7 +22977,7 @@ type ManyOptions$1<TSlug extends CollectionSlug, TSelect extends SelectFromColle
|
|
|
22912
22977
|
where: Where;
|
|
22913
22978
|
} & BaseOptions<TSlug, TSelect>;
|
|
22914
22979
|
//#endregion
|
|
22915
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
22980
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/local/countVersions.d.ts
|
|
22916
22981
|
type CountGlobalVersionsOptions<TSlug extends GlobalSlug> = {
|
|
22917
22982
|
/**
|
|
22918
22983
|
* [Context](https://payloadcms.com/docs/hooks/context), which will then be passed to `context` and `req.context`,
|
|
@@ -22958,7 +23023,7 @@ type CountGlobalVersionsOptions<TSlug extends GlobalSlug> = {
|
|
|
22958
23023
|
where?: Where;
|
|
22959
23024
|
};
|
|
22960
23025
|
//#endregion
|
|
22961
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23026
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/findOne.d.ts
|
|
22962
23027
|
type GlobalFindOneArgs = {
|
|
22963
23028
|
/**
|
|
22964
23029
|
* You may pass the document data directly which will skip the `db.findOne` database query.
|
|
@@ -22977,7 +23042,7 @@ type GlobalFindOneArgs = {
|
|
|
22977
23042
|
slug: string;
|
|
22978
23043
|
} & Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>;
|
|
22979
23044
|
//#endregion
|
|
22980
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23045
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/local/findOne.d.ts
|
|
22981
23046
|
type Options$15<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
22982
23047
|
/**
|
|
22983
23048
|
* [Context](https://payloadcms.com/docs/hooks/context), which will then be passed to `context` and `req.context`,
|
|
@@ -23002,7 +23067,7 @@ type Options$15<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
|
23002
23067
|
/**
|
|
23003
23068
|
* Specify a [fallback locale](https://payloadcms.com/docs/configuration/localization) to use for any returned documents.
|
|
23004
23069
|
*/
|
|
23005
|
-
fallbackLocale?:
|
|
23070
|
+
fallbackLocale?: TypedFallbackLocale;
|
|
23006
23071
|
/**
|
|
23007
23072
|
* Include info about the lock status to the result with fields: `_isLocked` and `_userEditing`
|
|
23008
23073
|
*/
|
|
@@ -23045,7 +23110,7 @@ type Options$15<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
|
23045
23110
|
user?: Document$1;
|
|
23046
23111
|
} & Pick<GlobalFindOneArgs, 'flattenLocales'>;
|
|
23047
23112
|
//#endregion
|
|
23048
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23113
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/local/findVersionByID.d.ts
|
|
23049
23114
|
type Options$16<TSlug extends GlobalSlug> = {
|
|
23050
23115
|
/**
|
|
23051
23116
|
* [Context](https://payloadcms.com/docs/hooks/context), which will then be passed to `context` and `req.context`,
|
|
@@ -23070,7 +23135,7 @@ type Options$16<TSlug extends GlobalSlug> = {
|
|
|
23070
23135
|
/**
|
|
23071
23136
|
* The ID of the version to find.
|
|
23072
23137
|
*/
|
|
23073
|
-
id: string;
|
|
23138
|
+
id: number | string;
|
|
23074
23139
|
/**
|
|
23075
23140
|
* Specify [locale](https://payloadcms.com/docs/configuration/localization) for any returned documents.
|
|
23076
23141
|
*/
|
|
@@ -23109,7 +23174,7 @@ type Options$16<TSlug extends GlobalSlug> = {
|
|
|
23109
23174
|
user?: Document$1;
|
|
23110
23175
|
};
|
|
23111
23176
|
//#endregion
|
|
23112
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23177
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/local/findVersions.d.ts
|
|
23113
23178
|
type Options$17<TSlug extends GlobalSlug> = {
|
|
23114
23179
|
/**
|
|
23115
23180
|
* [Context](https://payloadcms.com/docs/hooks/context), which will then be passed to `context` and `req.context`,
|
|
@@ -23190,7 +23255,7 @@ type Options$17<TSlug extends GlobalSlug> = {
|
|
|
23190
23255
|
where?: Where;
|
|
23191
23256
|
};
|
|
23192
23257
|
//#endregion
|
|
23193
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23258
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/local/restoreVersion.d.ts
|
|
23194
23259
|
type Options$18<TSlug extends GlobalSlug> = {
|
|
23195
23260
|
/**
|
|
23196
23261
|
* [Context](https://payloadcms.com/docs/hooks/context), which will then be passed to `context` and `req.context`,
|
|
@@ -23245,7 +23310,7 @@ type Options$18<TSlug extends GlobalSlug> = {
|
|
|
23245
23310
|
user?: Document$1;
|
|
23246
23311
|
};
|
|
23247
23312
|
//#endregion
|
|
23248
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23313
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/globals/operations/local/update.d.ts
|
|
23249
23314
|
type Options$19<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
23250
23315
|
/**
|
|
23251
23316
|
* [Context](https://payloadcms.com/docs/hooks/context), which will then be passed to `context` and `req.context`,
|
|
@@ -23759,11 +23824,58 @@ declare class Cron {
|
|
|
23759
23824
|
private _calculatePreviousRun;
|
|
23760
23825
|
}
|
|
23761
23826
|
//#endregion
|
|
23762
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23827
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/kv/index.d.ts
|
|
23828
|
+
type KVStoreValue = NonNullable<unknown>;
|
|
23829
|
+
interface KVAdapter {
|
|
23830
|
+
/**
|
|
23831
|
+
* Clears all entries in the store.
|
|
23832
|
+
* @returns A promise that resolves once the store is cleared.
|
|
23833
|
+
*/
|
|
23834
|
+
clear(): Promise<void>;
|
|
23835
|
+
/**
|
|
23836
|
+
* Deletes a value from the store by its key.
|
|
23837
|
+
* @param key - The key to delete.
|
|
23838
|
+
* @returns A promise that resolves once the key is deleted.
|
|
23839
|
+
*/
|
|
23840
|
+
delete(key: string): Promise<void>;
|
|
23841
|
+
/**
|
|
23842
|
+
* Retrieves a value from the store by its key.
|
|
23843
|
+
* @param key - The key to look up.
|
|
23844
|
+
* @returns A promise that resolves to the value, or `null` if not found.
|
|
23845
|
+
*/
|
|
23846
|
+
get<T extends KVStoreValue>(key: string): Promise<null | T>;
|
|
23847
|
+
/**
|
|
23848
|
+
* Checks if a key exists in the store.
|
|
23849
|
+
* @param key - The key to check.
|
|
23850
|
+
* @returns A promise that resolves to `true` if the key exists, otherwise `false`.
|
|
23851
|
+
*/
|
|
23852
|
+
has(key: string): Promise<boolean>;
|
|
23853
|
+
/**
|
|
23854
|
+
* Retrieves all the keys in the store.
|
|
23855
|
+
* @returns A promise that resolves to an array of keys.
|
|
23856
|
+
*/
|
|
23857
|
+
keys(): Promise<string[]>;
|
|
23858
|
+
/**
|
|
23859
|
+
* Sets a value in the store with the given key.
|
|
23860
|
+
* @param key - The key to associate with the value.
|
|
23861
|
+
* @param value - The value to store.
|
|
23862
|
+
* @returns A promise that resolves once the value is stored.
|
|
23863
|
+
*/
|
|
23864
|
+
set(key: string, value: KVStoreValue): Promise<void>;
|
|
23865
|
+
}
|
|
23866
|
+
interface KVAdapterResult {
|
|
23867
|
+
init(args: {
|
|
23868
|
+
payload: Payload;
|
|
23869
|
+
}): KVAdapter;
|
|
23870
|
+
/** Adapter can create additional collection if needed */
|
|
23871
|
+
kvCollection?: CollectionConfig$1;
|
|
23872
|
+
}
|
|
23873
|
+
//#endregion
|
|
23874
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/auth/crypto.d.ts
|
|
23763
23875
|
declare function encrypt(text: string): string;
|
|
23764
23876
|
declare function decrypt(hash: string): string;
|
|
23765
23877
|
//#endregion
|
|
23766
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
23878
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/collections/operations/restoreVersion.d.ts
|
|
23767
23879
|
type Arguments = {
|
|
23768
23880
|
collection: Collection$1;
|
|
23769
23881
|
currentDepth?: number;
|
|
@@ -24605,7 +24717,7 @@ declare namespace MockInterceptor {
|
|
|
24605
24717
|
};
|
|
24606
24718
|
}
|
|
24607
24719
|
//#endregion
|
|
24608
|
-
//#region ../../node_modules/.pnpm/payload@3.
|
|
24720
|
+
//#region ../../node_modules/.pnpm/payload@3.65.0_graphql@16.10.0_typescript@5.7.3/node_modules/payload/dist/index.d.ts
|
|
24609
24721
|
interface GeneratedTypes {
|
|
24610
24722
|
authUntyped: {
|
|
24611
24723
|
[slug: string]: {
|
|
@@ -24642,6 +24754,7 @@ interface GeneratedTypes {
|
|
|
24642
24754
|
dbUntyped: {
|
|
24643
24755
|
defaultIDType: number | string;
|
|
24644
24756
|
};
|
|
24757
|
+
fallbackLocaleUntyped: 'false' | 'none' | 'null' | ({} & string)[] | ({} & string) | false | null;
|
|
24645
24758
|
globalsSelectUntyped: {
|
|
24646
24759
|
[slug: string]: SelectType;
|
|
24647
24760
|
};
|
|
@@ -24683,8 +24796,10 @@ type ResolveDbType<T> = 'db' extends keyof T ? T['db'] : T['dbUntyped'];
|
|
|
24683
24796
|
type DefaultDocumentIDType = ResolveDbType<GeneratedTypes>['defaultIDType'];
|
|
24684
24797
|
type GlobalSlug = StringKeyOf<TypedGlobal>;
|
|
24685
24798
|
type ResolveLocaleType<T> = 'locale' extends keyof T ? T['locale'] : T['localeUntyped'];
|
|
24799
|
+
type ResolveFallbackLocaleType<T> = 'fallbackLocale' extends keyof T ? T['fallbackLocale'] : T['fallbackLocaleUntyped'];
|
|
24686
24800
|
type ResolveUserType<T> = 'user' extends keyof T ? T['user'] : T['userUntyped'];
|
|
24687
24801
|
type TypedLocale = ResolveLocaleType<GeneratedTypes>;
|
|
24802
|
+
type TypedFallbackLocale = ResolveFallbackLocaleType<GeneratedTypes>;
|
|
24688
24803
|
/**
|
|
24689
24804
|
* @todo rename to `User` in 4.0
|
|
24690
24805
|
*/
|
|
@@ -24817,6 +24932,7 @@ declare class BasePayload {
|
|
|
24817
24932
|
queue: <TTaskOrWorkflowSlug extends keyof TypedJobs["tasks"] | keyof TypedJobs["workflows"]>(args: {
|
|
24818
24933
|
input: TypedJobs["tasks"][TTaskOrWorkflowSlug]["input"];
|
|
24819
24934
|
meta?: BaseJob["meta"];
|
|
24935
|
+
overrideAccess?: boolean;
|
|
24820
24936
|
queue?: string;
|
|
24821
24937
|
req?: PayloadRequest;
|
|
24822
24938
|
task: TTaskOrWorkflowSlug extends keyof TypedJobs["tasks"] ? TTaskOrWorkflowSlug : never;
|
|
@@ -24825,6 +24941,7 @@ declare class BasePayload {
|
|
|
24825
24941
|
} | {
|
|
24826
24942
|
input: TypedJobs["workflows"][TTaskOrWorkflowSlug]["input"];
|
|
24827
24943
|
meta?: BaseJob["meta"];
|
|
24944
|
+
overrideAccess?: boolean;
|
|
24828
24945
|
queue?: string;
|
|
24829
24946
|
req?: PayloadRequest;
|
|
24830
24947
|
task?: never;
|
|
@@ -24860,6 +24977,10 @@ declare class BasePayload {
|
|
|
24860
24977
|
req?: PayloadRequest;
|
|
24861
24978
|
}) => Promise<void>;
|
|
24862
24979
|
};
|
|
24980
|
+
/**
|
|
24981
|
+
* Key Value storage
|
|
24982
|
+
*/
|
|
24983
|
+
kv: KVAdapter;
|
|
24863
24984
|
logger: Logger$2;
|
|
24864
24985
|
login: <TSlug extends CollectionSlug>(options: Options$2<TSlug>) => Promise<{
|
|
24865
24986
|
user: DataFromCollectionSlug<TSlug>;
|
|
@@ -24935,6 +25056,10 @@ interface RequestContext {
|
|
|
24935
25056
|
}
|
|
24936
25057
|
interface DatabaseAdapter extends BaseDatabaseAdapter {}
|
|
24937
25058
|
interface FieldCustom extends Record<string, any> {}
|
|
25059
|
+
interface CollectionCustom extends Record<string, any> {}
|
|
25060
|
+
interface CollectionAdminCustom extends Record<string, any> {}
|
|
25061
|
+
interface GlobalCustom extends Record<string, any> {}
|
|
25062
|
+
interface GlobalAdminCustom extends Record<string, any> {}
|
|
24938
25063
|
//#endregion
|
|
24939
25064
|
//#region ../../node_modules/.pnpm/typesense@2.1.0_@babel+runtime@7.27.0/node_modules/typesense/lib/Typesense/Types.d.ts
|
|
24940
25065
|
type DropTokensMode = "right_to_left" | "left_to_right" | "both_sides:3";
|
|
@@ -25462,7 +25587,7 @@ declare class TypesenseError extends Error {
|
|
|
25462
25587
|
}
|
|
25463
25588
|
//#endregion
|
|
25464
25589
|
//#region ../../node_modules/.pnpm/typesense@2.1.0_@babel+runtime@7.27.0/node_modules/typesense/lib/Typesense/ApiCall.d.ts
|
|
25465
|
-
interface Node extends NodeConfiguration {
|
|
25590
|
+
interface Node$1 extends NodeConfiguration {
|
|
25466
25591
|
isHealthy: boolean;
|
|
25467
25592
|
index: string | number;
|
|
25468
25593
|
}
|
|
@@ -25572,7 +25697,7 @@ declare class ApiCall implements HttpClient {
|
|
|
25572
25697
|
private isChunkMessage;
|
|
25573
25698
|
private combineMessageChunks;
|
|
25574
25699
|
private isCompleteSearchResponse;
|
|
25575
|
-
getNextNode(requestNumber?: number): Node;
|
|
25700
|
+
getNextNode(requestNumber?: number): Node$1;
|
|
25576
25701
|
nodeDueForHealthcheck(node: any, requestNumber?: number): boolean;
|
|
25577
25702
|
initializeMetadataForNodes(): void;
|
|
25578
25703
|
setNodeHealthcheck(node: any, isHealthy: any): void;
|
|
@@ -26171,20 +26296,42 @@ interface BaseTableConfig {
|
|
|
26171
26296
|
fields: FieldMapping[];
|
|
26172
26297
|
}
|
|
26173
26298
|
/**
|
|
26174
|
-
* Configuration for
|
|
26299
|
+
* Configuration for Table Mapping
|
|
26175
26300
|
*/
|
|
26176
|
-
interface
|
|
26177
|
-
mode: "document";
|
|
26301
|
+
interface TableConfig extends BaseTableConfig {
|
|
26178
26302
|
/**
|
|
26179
|
-
*
|
|
26180
|
-
*
|
|
26181
|
-
* without chunking (e.g., for semantic search on complete articles)
|
|
26303
|
+
* Embedding configuration
|
|
26304
|
+
* Defines how to generate embeddings for this table
|
|
26182
26305
|
*/
|
|
26183
|
-
|
|
26306
|
+
embedding?: {
|
|
26307
|
+
/**
|
|
26308
|
+
* Source fields to extract and transform for embedding generation
|
|
26309
|
+
* These will be concatenated if multiple are provided
|
|
26310
|
+
*/
|
|
26311
|
+
fields: (string | SourceField)[];
|
|
26312
|
+
/**
|
|
26313
|
+
* Optional chunking configuration
|
|
26314
|
+
* If provided, the content will be chunked before embedding
|
|
26315
|
+
*/
|
|
26316
|
+
chunking?: {
|
|
26317
|
+
strategy: "markdown" | "text";
|
|
26318
|
+
size?: number;
|
|
26319
|
+
overlap?: number;
|
|
26320
|
+
/**
|
|
26321
|
+
* Callback to intercept and modify chunk results
|
|
26322
|
+
* Allows adding extra metadata or modifying the chunk text before embedding
|
|
26323
|
+
*
|
|
26324
|
+
* @param chunkResultsWithMetadata - The generated chunks with their metadata
|
|
26325
|
+
* @param payloadDocument - The original Payload document
|
|
26326
|
+
* @returns The modified chunk text or object
|
|
26327
|
+
*/
|
|
26328
|
+
interceptResult?: (chunkResultsWithMetadata: any, payloadDocument: any) => string;
|
|
26329
|
+
};
|
|
26330
|
+
};
|
|
26184
26331
|
}
|
|
26185
26332
|
/**
|
|
26186
|
-
* Source field configuration for chunking
|
|
26187
|
-
* Defines a field to extract and optionally transform
|
|
26333
|
+
* Source field configuration for embedding/chunking
|
|
26334
|
+
* Defines a field to extract and optionally transform
|
|
26188
26335
|
*/
|
|
26189
26336
|
interface SourceField {
|
|
26190
26337
|
/**
|
|
@@ -26201,29 +26348,12 @@ interface SourceField {
|
|
|
26201
26348
|
transform?: (value: any) => any | Promise<any>;
|
|
26202
26349
|
}
|
|
26203
26350
|
/**
|
|
26204
|
-
*
|
|
26351
|
+
* Collection configuration
|
|
26352
|
+
* Maps a Payload collection to one or more Typesense tables
|
|
26205
26353
|
*/
|
|
26206
|
-
interface
|
|
26207
|
-
|
|
26208
|
-
/**
|
|
26209
|
-
* Source fields from Payload to use for chunking (e.g. 'content', 'description')
|
|
26210
|
-
* These will be concatenated before chunking
|
|
26211
|
-
* Can be either strings (field names) or SourceField objects with transforms
|
|
26212
|
-
*/
|
|
26213
|
-
sourceFields: (string | SourceField)[];
|
|
26214
|
-
/**
|
|
26215
|
-
* Chunking strategy configuration
|
|
26216
|
-
*/
|
|
26217
|
-
chunking: {
|
|
26218
|
-
strategy: "markdown" | "text";
|
|
26219
|
-
size?: number;
|
|
26220
|
-
overlap?: number;
|
|
26221
|
-
};
|
|
26354
|
+
interface CollectionConfig {
|
|
26355
|
+
tables: TableConfig[];
|
|
26222
26356
|
}
|
|
26223
|
-
/**
|
|
26224
|
-
* Union type for table configurations
|
|
26225
|
-
*/
|
|
26226
|
-
type TableConfig = DocumentTableConfig | ChunkedTableConfig;
|
|
26227
26357
|
//#endregion
|
|
26228
26358
|
//#region src/core/config/types.d.ts
|
|
26229
26359
|
type SearchMode = "semantic" | "keyword" | "hybrid";
|
|
@@ -26373,14 +26503,6 @@ interface SuggestResponse<T = TypesenseDocument> {
|
|
|
26373
26503
|
search_cutoff: boolean;
|
|
26374
26504
|
search_time_ms: number;
|
|
26375
26505
|
}
|
|
26376
|
-
interface CollectionConfig<T = unknown> {
|
|
26377
|
-
displayName?: string;
|
|
26378
|
-
enabled?: boolean;
|
|
26379
|
-
facetFields?: Array<keyof T | string>;
|
|
26380
|
-
fieldMapping?: Record<string, string>;
|
|
26381
|
-
icon?: string;
|
|
26382
|
-
searchFields?: Array<keyof T | string>;
|
|
26383
|
-
}
|
|
26384
26506
|
interface SearchParams {
|
|
26385
26507
|
facets?: string[];
|
|
26386
26508
|
filters?: Record<string, unknown>;
|
|
@@ -27460,7 +27582,7 @@ interface ChatMessageWithSources {
|
|
|
27460
27582
|
*/
|
|
27461
27583
|
declare function saveChatSession(payload: Payload, userId: string | number, conversationId: string, userMessage: string, assistantMessage: string, sources: ChunkSource[], spending: SpendingEntry[], collectionName?: CollectionSlug): Promise<void>;
|
|
27462
27584
|
//#endregion
|
|
27463
|
-
//#region src/features/rag/
|
|
27585
|
+
//#region src/features/rag/endpoints/types.d.ts
|
|
27464
27586
|
/**
|
|
27465
27587
|
* Framework-agnostic types for API handlers
|
|
27466
27588
|
* These types provide compatibility with Next.js without requiring it as a direct dependency
|
|
@@ -27471,10 +27593,6 @@ declare function saveChatSession(payload: Payload, userId: string | number, conv
|
|
|
27471
27593
|
type ApiContext<T = Record<string, string>> = {
|
|
27472
27594
|
params: Promise<T>;
|
|
27473
27595
|
};
|
|
27474
|
-
/**
|
|
27475
|
-
* Helper to create a JSON response
|
|
27476
|
-
*/
|
|
27477
|
-
declare function jsonResponse<T = unknown>(data: T, init?: ResponseInit): Response;
|
|
27478
27596
|
type AuthenticateMethod = (options?: {
|
|
27479
27597
|
depth?: number;
|
|
27480
27598
|
}) => Promise<{
|
|
@@ -27485,6 +27603,12 @@ type AuthenticateMethod = (options?: {
|
|
|
27485
27603
|
status: number;
|
|
27486
27604
|
}>;
|
|
27487
27605
|
//#endregion
|
|
27606
|
+
//#region src/features/rag/endpoints/chat/validators/request-validator.d.ts
|
|
27607
|
+
/**
|
|
27608
|
+
* JSON Response helper
|
|
27609
|
+
*/
|
|
27610
|
+
declare const jsonResponse: (data: any, options?: ResponseInit) => Response;
|
|
27611
|
+
//#endregion
|
|
27488
27612
|
//#region src/core/client/typesense-client.d.ts
|
|
27489
27613
|
declare const createTypesenseClient: (typesenseConfig: TypesenseConnectionConfig) => _default.Client;
|
|
27490
27614
|
declare const testTypesenseConnection: (client: Client) => Promise<boolean>;
|
|
@@ -27560,6 +27684,62 @@ declare const extractContentOnly: (chunkText: string) => string;
|
|
|
27560
27684
|
*/
|
|
27561
27685
|
declare const extractHeaderMetadata: (chunkText: string) => ChunkHeaderMetadata | undefined;
|
|
27562
27686
|
//#endregion
|
|
27687
|
+
//#region src/features/sync/services/document-delete.d.ts
|
|
27688
|
+
/**
|
|
27689
|
+
* Deletes a document from Typesense
|
|
27690
|
+
* Handles both direct document deletion and chunk deletion
|
|
27691
|
+
*/
|
|
27692
|
+
declare const deleteDocumentFromTypesense: (typesenseClient: Client, collectionSlug: string, docId: string, tableConfig: TableConfig) => Promise<void>;
|
|
27693
|
+
//#endregion
|
|
27694
|
+
//#region ../../node_modules/.pnpm/lexical@0.35.0/node_modules/lexical/nodes/LexicalElementNode.d.ts
|
|
27695
|
+
type SerializedElementNode<T extends SerializedLexicalNode = SerializedLexicalNode> = Spread<{
|
|
27696
|
+
children: Array<T>;
|
|
27697
|
+
direction: 'ltr' | 'rtl' | null;
|
|
27698
|
+
format: ElementFormatType;
|
|
27699
|
+
indent: number;
|
|
27700
|
+
textFormat?: number;
|
|
27701
|
+
textStyle?: string;
|
|
27702
|
+
}, SerializedLexicalNode>;
|
|
27703
|
+
type ElementFormatType = 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
27704
|
+
//#endregion
|
|
27705
|
+
//#region ../../node_modules/.pnpm/lexical@0.35.0/node_modules/lexical/nodes/LexicalRootNode.d.ts
|
|
27706
|
+
type SerializedRootNode<T extends SerializedLexicalNode = SerializedLexicalNode> = SerializedElementNode<T>;
|
|
27707
|
+
//#endregion
|
|
27708
|
+
//#region ../../node_modules/.pnpm/lexical@0.35.0/node_modules/lexical/LexicalEditorState.d.ts
|
|
27709
|
+
interface SerializedEditorState<T extends SerializedLexicalNode = SerializedLexicalNode> {
|
|
27710
|
+
root: SerializedRootNode<T>;
|
|
27711
|
+
}
|
|
27712
|
+
//#endregion
|
|
27713
|
+
//#region ../../node_modules/.pnpm/lexical@0.35.0/node_modules/lexical/LexicalConstants.d.ts
|
|
27714
|
+
declare const NODE_STATE_KEY = "$";
|
|
27715
|
+
//#endregion
|
|
27716
|
+
//#region ../../node_modules/.pnpm/lexical@0.35.0/node_modules/lexical/LexicalEditor.d.ts
|
|
27717
|
+
type Spread<T1, T2> = Omit<T2, keyof T1> & T1;
|
|
27718
|
+
//#endregion
|
|
27719
|
+
//#region ../../node_modules/.pnpm/lexical@0.35.0/node_modules/lexical/LexicalNode.d.ts
|
|
27720
|
+
/**
|
|
27721
|
+
* The base type for all serialized nodes
|
|
27722
|
+
*/
|
|
27723
|
+
type SerializedLexicalNode = {
|
|
27724
|
+
/** The type string used by the Node class */
|
|
27725
|
+
type: string;
|
|
27726
|
+
/** A numeric version for this schema, defaulting to 1, but not generally recommended for use */
|
|
27727
|
+
version: number;
|
|
27728
|
+
/**
|
|
27729
|
+
* Any state persisted with the NodeState API that is not
|
|
27730
|
+
* configured for flat storage
|
|
27731
|
+
*/
|
|
27732
|
+
[NODE_STATE_KEY]?: Record<string, unknown>;
|
|
27733
|
+
};
|
|
27734
|
+
//#endregion
|
|
27735
|
+
//#region src/core/utils/transforms.d.ts
|
|
27736
|
+
/**
|
|
27737
|
+
* Transforms Lexical editor state to Markdown
|
|
27738
|
+
* @param value - The serialized editor state
|
|
27739
|
+
* @param config - Optional Payload config. If provided, it will be used to generate the editor config.
|
|
27740
|
+
*/
|
|
27741
|
+
declare const transformLexicalToMarkdown: (value?: SerializedEditorState | null, config?: SanitizedConfig) => Promise<string>;
|
|
27742
|
+
//#endregion
|
|
27563
27743
|
//#region src/core/logging/logger.d.ts
|
|
27564
27744
|
/**
|
|
27565
27745
|
* Professional logging system for payload-typesense
|
|
@@ -27712,5 +27892,5 @@ declare const ErrorCodes: {
|
|
|
27712
27892
|
readonly VALIDATION_ERROR: "ERR_9002";
|
|
27713
27893
|
};
|
|
27714
27894
|
//#endregion
|
|
27715
|
-
export { type ApiContext, type ApiResponse, type AuthenticateMethod, type BaseDocument, type BaseSearchInputProps, CHUNK_HEADER_SEPARATOR, type CacheEntry, type CacheOptions$1 as CacheOptions, type ChatMessageWithSources, type ChatSessionData, type ChunkFetchConfig, type ChunkFetchResult, type ChunkHeaderMetadata, type
|
|
27895
|
+
export { type ApiContext, type ApiResponse, type AuthenticateMethod, type BaseDocument, type BaseSearchInputProps, CHUNK_HEADER_SEPARATOR, type CacheEntry, type CacheOptions$1 as CacheOptions, type ChatMessageWithSources, type ChatSessionData, type ChunkFetchConfig, type ChunkFetchResult, type ChunkHeaderMetadata, type CollectionConfig, type ConversationEvent, DEFAULT_CACHE_TTL_MS, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_EMBEDDING_DIMENSIONS, DEFAULT_EMBEDDING_MODEL, DEFAULT_HYBRID_SEARCH_ALPHA, DEFAULT_RAG_CONTEXT_LIMIT, DEFAULT_RAG_LLM_MODEL, DEFAULT_RAG_MAX_TOKENS, DEFAULT_SEARCH_LIMIT, DEFAULT_SESSION_TTL_SEC, ErrorCodes, type ErrorResponse, type FieldMapping, type HealthCheckResponse, type ModularPluginConfig, type ParsedChunk, type PayloadDocument, type RAGChatRequest, type RAGSearchConfig, type RAGSearchResult, type SearchFeatureConfig, type SearchParams, type SearchResponse, type SearchResult, type SessionConfig, type SourceField, type StreamProcessingResult, type SuggestResponse, type SuggestResult, type SyncFeatureConfig, type TableConfig, type TypesenseChunkDocument, type TypesenseConnectionConfig, type TypesenseDocument, buildContextText, buildConversationalUrl, buildHybridSearchParams, buildMultiSearchRequestBody, buildMultiSearchRequests, closeSession, configureLogger, createLogger, createSSEForwardStream, createTypesenseClient, deleteDocumentFromTypesense, ensureConversationCollection, executeRAGSearch, extractContentOnly, extractHeaderMetadata, extractSourcesFromResults, fetchChunkById, formatChunkWithHeaders, formatSSEEvent, generateEmbedding, generateEmbeddingWithUsage, generateEmbeddingsBatchWithUsage, getActiveSession, getDefaultRAGConfig, getSessionByConversationId, jsonResponse, logger, mergeRAGConfigWithDefaults, parseChunkText, parseConversationEvent, processConversationStream, saveChatSession, sendSSEEvent, testTypesenseConnection, transformLexicalToMarkdown, typesenseSearch };
|
|
27716
27896
|
//# sourceMappingURL=index.d.mts.map
|