@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.
Files changed (91) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +30 -0
  3. package/config.dist.json +4 -0
  4. package/lib/actions/DeleteWithi18nAction.d.ts +16 -0
  5. package/lib/actions/DuplicateWithi18nAction.d.ts +8 -0
  6. package/lib/actions/PublishWithi18nAction.d.ts +9 -0
  7. package/lib/actions/index.d.ts +8 -0
  8. package/lib/actions/index.js +19549 -0
  9. package/lib/actions/index.js.map +1 -0
  10. package/lib/badges/LanguageBadge.d.ts +5 -0
  11. package/lib/badges/index.d.ts +5 -0
  12. package/lib/badges/index.js +17324 -0
  13. package/lib/badges/index.js.map +1 -0
  14. package/lib/constants/I18nDelimiter.d.ts +1 -0
  15. package/lib/constants/I18nPrefix.d.ts +1 -0
  16. package/lib/constants/IdStructure.d.ts +4 -0
  17. package/lib/constants/LanguageCultures.d.ts +4 -0
  18. package/lib/constants/ReferenceBehavior.d.ts +5 -0
  19. package/lib/constants/UiMessages.d.ts +34 -0
  20. package/lib/constants/index.d.ts +6 -0
  21. package/lib/constants/index.js +736 -0
  22. package/lib/constants/index.js.map +1 -0
  23. package/lib/structure/IDefaultDocumentNodeStructureProps.d.ts +4 -0
  24. package/lib/structure/components/Flag/Flag.d.ts +6 -0
  25. package/lib/structure/components/Flag/allEmojiFlagCodes.d.ts +1 -0
  26. package/lib/structure/components/Flag/index.d.ts +1 -0
  27. package/lib/structure/components/MaintenanceTab/MaintenanceTab.d.ts +2 -0
  28. package/lib/structure/components/MaintenanceTab/index.d.ts +1 -0
  29. package/lib/structure/components/MaintenanceTabResult/MaintenanceTabResult.d.ts +10 -0
  30. package/lib/structure/components/MaintenanceTabResult/index.d.ts +1 -0
  31. package/lib/structure/components/MaintenanceTabTypeSelector/MaintenanceTabTypeSelector.d.ts +8 -0
  32. package/lib/structure/components/MaintenanceTabTypeSelector/index.d.ts +1 -0
  33. package/lib/structure/components/TranslationLink/TranslationLink.d.ts +12 -0
  34. package/lib/structure/components/TranslationLink/index.d.ts +1 -0
  35. package/lib/structure/components/TranslationsComponentFactory/TranslationsComponentFactory.d.ts +5 -0
  36. package/lib/structure/components/TranslationsComponentFactory/index.d.ts +1 -0
  37. package/lib/structure/hooks/index.d.ts +1 -0
  38. package/lib/structure/hooks/useDocumentsInformation.d.ts +20 -0
  39. package/lib/structure/index.d.ts +13 -0
  40. package/lib/structure/index.js +20464 -0
  41. package/lib/structure/index.js.map +1 -0
  42. package/lib/structure/utils/fixBaseDocumentRefs.d.ts +2 -0
  43. package/lib/structure/utils/fixBaseLanguageMismatch.d.ts +2 -0
  44. package/lib/structure/utils/fixIdStructureMismatchDocuments.d.ts +2 -0
  45. package/lib/structure/utils/fixLanguageFields.d.ts +2 -0
  46. package/lib/structure/utils/fixOrphanedDocuments.d.ts +2 -0
  47. package/lib/structure/utils/fixReferenceBehaviorMismatch.d.ts +2 -0
  48. package/lib/structure/utils/fixTranslationRefs.d.ts +2 -0
  49. package/lib/structure/utils/index.d.ts +6 -0
  50. package/lib/types/IEditState.d.ts +5 -0
  51. package/lib/types/ILanguageObject.d.ts +6 -0
  52. package/lib/types/ILanguageQuery.d.ts +10 -0
  53. package/lib/types/IResolverProps.d.ts +9 -0
  54. package/lib/types/ITranslationRef.d.ts +6 -0
  55. package/lib/types/IType.d.ts +38 -0
  56. package/lib/types/IUseDocumentOperationResult.d.ts +11 -0
  57. package/lib/types/TFieldNamesConfig.d.ts +5 -0
  58. package/lib/types/TLanguage.d.ts +2 -0
  59. package/lib/types/TLanguagesOption.d.ts +3 -0
  60. package/lib/types/TSchema.d.ts +6 -0
  61. package/lib/types/Ti18nConfig.d.ts +10 -0
  62. package/lib/types/Ti18nDocument.d.ts +13 -0
  63. package/lib/types/Ti18nSchema.d.ts +5 -0
  64. package/lib/types/index.d.ts +14 -0
  65. package/lib/utils/baseToTop.d.ts +1 -0
  66. package/lib/utils/batch.d.ts +1 -0
  67. package/lib/utils/buildDocId.d.ts +1 -0
  68. package/lib/utils/createSanityReference.d.ts +5 -0
  69. package/lib/utils/getAllSchemas.d.ts +2 -0
  70. package/lib/utils/getBaseIdFromId.d.ts +1 -0
  71. package/lib/utils/getBaseLanguage.d.ts +2 -0
  72. package/lib/utils/getConfig.d.ts +6 -0
  73. package/lib/utils/getFlag.d.ts +2 -0
  74. package/lib/utils/getLanguageFromId.d.ts +1 -0
  75. package/lib/utils/getLanguagesFromOption.d.ts +3 -0
  76. package/lib/utils/getSanityClient.d.ts +1 -0
  77. package/lib/utils/getSchema.d.ts +2 -0
  78. package/lib/utils/getTranslationsForId.d.ts +2 -0
  79. package/lib/utils/index.d.ts +16 -0
  80. package/lib/utils/index.js +18425 -0
  81. package/lib/utils/index.js.map +1 -0
  82. package/lib/utils/makeObjectKey.d.ts +1 -0
  83. package/lib/utils/normalizeLanguageList.d.ts +6 -0
  84. package/lib/utils/serializePath.d.ts +2 -0
  85. package/lib/utils/updateIntlFieldsForDocument.d.ts +2 -0
  86. package/lib/validators/index.d.ts +1 -0
  87. package/lib/validators/index.js +17309 -0
  88. package/lib/validators/index.js.map +1 -0
  89. package/lib/validators/isSlugUnique.d.ts +2 -0
  90. package/package.json +151 -0
  91. 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.