@sanity/document-internationalization 0.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/README.md +30 -0
- package/config.dist.json +4 -0
- package/lib/actions/DeleteWithi18nAction.d.ts +16 -0
- package/lib/actions/DuplicateWithi18nAction.d.ts +8 -0
- package/lib/actions/PublishWithi18nAction.d.ts +9 -0
- package/lib/actions/index.d.ts +8 -0
- package/lib/actions/index.js +19549 -0
- package/lib/actions/index.js.map +1 -0
- package/lib/badges/LanguageBadge.d.ts +5 -0
- package/lib/badges/index.d.ts +5 -0
- package/lib/badges/index.js +17324 -0
- package/lib/badges/index.js.map +1 -0
- package/lib/constants/I18nDelimiter.d.ts +1 -0
- package/lib/constants/I18nPrefix.d.ts +1 -0
- package/lib/constants/IdStructure.d.ts +4 -0
- package/lib/constants/LanguageCultures.d.ts +4 -0
- package/lib/constants/ReferenceBehavior.d.ts +5 -0
- package/lib/constants/UiMessages.d.ts +34 -0
- package/lib/constants/index.d.ts +6 -0
- package/lib/constants/index.js +736 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/structure/IDefaultDocumentNodeStructureProps.d.ts +4 -0
- package/lib/structure/components/Flag/Flag.d.ts +6 -0
- package/lib/structure/components/Flag/allEmojiFlagCodes.d.ts +1 -0
- package/lib/structure/components/Flag/index.d.ts +1 -0
- package/lib/structure/components/MaintenanceTab/MaintenanceTab.d.ts +2 -0
- package/lib/structure/components/MaintenanceTab/index.d.ts +1 -0
- package/lib/structure/components/MaintenanceTabResult/MaintenanceTabResult.d.ts +10 -0
- package/lib/structure/components/MaintenanceTabResult/index.d.ts +1 -0
- package/lib/structure/components/MaintenanceTabTypeSelector/MaintenanceTabTypeSelector.d.ts +8 -0
- package/lib/structure/components/MaintenanceTabTypeSelector/index.d.ts +1 -0
- package/lib/structure/components/TranslationLink/TranslationLink.d.ts +12 -0
- package/lib/structure/components/TranslationLink/index.d.ts +1 -0
- package/lib/structure/components/TranslationsComponentFactory/TranslationsComponentFactory.d.ts +5 -0
- package/lib/structure/components/TranslationsComponentFactory/index.d.ts +1 -0
- package/lib/structure/hooks/index.d.ts +1 -0
- package/lib/structure/hooks/useDocumentsInformation.d.ts +20 -0
- package/lib/structure/index.d.ts +13 -0
- package/lib/structure/index.js +20464 -0
- package/lib/structure/index.js.map +1 -0
- package/lib/structure/utils/fixBaseDocumentRefs.d.ts +2 -0
- package/lib/structure/utils/fixBaseLanguageMismatch.d.ts +2 -0
- package/lib/structure/utils/fixIdStructureMismatchDocuments.d.ts +2 -0
- package/lib/structure/utils/fixLanguageFields.d.ts +2 -0
- package/lib/structure/utils/fixOrphanedDocuments.d.ts +2 -0
- package/lib/structure/utils/fixReferenceBehaviorMismatch.d.ts +2 -0
- package/lib/structure/utils/fixTranslationRefs.d.ts +2 -0
- package/lib/structure/utils/index.d.ts +6 -0
- package/lib/types/IEditState.d.ts +5 -0
- package/lib/types/ILanguageObject.d.ts +6 -0
- package/lib/types/ILanguageQuery.d.ts +10 -0
- package/lib/types/IResolverProps.d.ts +9 -0
- package/lib/types/ITranslationRef.d.ts +6 -0
- package/lib/types/IType.d.ts +38 -0
- package/lib/types/IUseDocumentOperationResult.d.ts +11 -0
- package/lib/types/TFieldNamesConfig.d.ts +5 -0
- package/lib/types/TLanguage.d.ts +2 -0
- package/lib/types/TLanguagesOption.d.ts +3 -0
- package/lib/types/TSchema.d.ts +6 -0
- package/lib/types/Ti18nConfig.d.ts +10 -0
- package/lib/types/Ti18nDocument.d.ts +13 -0
- package/lib/types/Ti18nSchema.d.ts +5 -0
- package/lib/types/index.d.ts +14 -0
- package/lib/utils/baseToTop.d.ts +1 -0
- package/lib/utils/batch.d.ts +1 -0
- package/lib/utils/buildDocId.d.ts +1 -0
- package/lib/utils/createSanityReference.d.ts +5 -0
- package/lib/utils/getAllSchemas.d.ts +2 -0
- package/lib/utils/getBaseIdFromId.d.ts +1 -0
- package/lib/utils/getBaseLanguage.d.ts +2 -0
- package/lib/utils/getConfig.d.ts +6 -0
- package/lib/utils/getFlag.d.ts +2 -0
- package/lib/utils/getLanguageFromId.d.ts +1 -0
- package/lib/utils/getLanguagesFromOption.d.ts +3 -0
- package/lib/utils/getSanityClient.d.ts +1 -0
- package/lib/utils/getSchema.d.ts +2 -0
- package/lib/utils/getTranslationsForId.d.ts +2 -0
- package/lib/utils/index.d.ts +16 -0
- package/lib/utils/index.js +18425 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/makeObjectKey.d.ts +1 -0
- package/lib/utils/normalizeLanguageList.d.ts +6 -0
- package/lib/utils/serializePath.d.ts +2 -0
- package/lib/utils/updateIntlFieldsForDocument.d.ts +2 -0
- package/lib/validators/index.d.ts +1 -0
- package/lib/validators/index.js +17309 -0
- package/lib/validators/index.js.map +1 -0
- package/lib/validators/isSlugUnique.d.ts +2 -0
- package/package.json +151 -0
- package/sanity.json +28 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the package file manually.