@researchdatabox/redbox-core 0.0.1-beta.10213 → 0.0.1-beta.10760

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 (287) hide show
  1. package/dist/CoreController.d.ts +8 -0
  2. package/dist/CoreController.d.ts.map +1 -1
  3. package/dist/CoreController.js +87 -52
  4. package/dist/RecordsService.d.ts +2 -0
  5. package/dist/RecordsService.d.ts.map +1 -1
  6. package/dist/SearchService.d.ts +1 -1
  7. package/dist/SearchService.d.ts.map +1 -1
  8. package/dist/StorageService.d.ts +2 -0
  9. package/dist/StorageService.d.ts.map +1 -1
  10. package/dist/api-routes/groups/branding.d.ts +1 -0
  11. package/dist/api-routes/groups/branding.d.ts.map +1 -1
  12. package/dist/api-routes/groups/branding.js +19 -2
  13. package/dist/api-routes/groups/export.js +2 -2
  14. package/dist/api-routes/groups/figshare-crosswalks.d.ts +11 -0
  15. package/dist/api-routes/groups/figshare-crosswalks.d.ts.map +1 -0
  16. package/dist/api-routes/groups/figshare-crosswalks.js +171 -0
  17. package/dist/api-routes/groups/figshare-vocabulary.d.ts +12 -0
  18. package/dist/api-routes/groups/figshare-vocabulary.d.ts.map +1 -0
  19. package/dist/api-routes/groups/figshare-vocabulary.js +248 -0
  20. package/dist/api-routes/groups/search.js +4 -4
  21. package/dist/api-routes/groups/users.js +3 -3
  22. package/dist/api-routes/index.d.ts +2 -0
  23. package/dist/api-routes/index.d.ts.map +1 -1
  24. package/dist/api-routes/index.js +3 -1
  25. package/dist/api-routes/route-registry.d.ts.map +1 -1
  26. package/dist/api-routes/route-registry.js +5 -1
  27. package/dist/api-routes/schemas/common.d.ts +1 -0
  28. package/dist/api-routes/schemas/common.d.ts.map +1 -1
  29. package/dist/api-routes/schemas/common.js +3 -2
  30. package/dist/bootstrap.d.ts.map +1 -1
  31. package/dist/bootstrap.js +5 -1
  32. package/dist/config/agendaQueue.config.d.ts +3 -0
  33. package/dist/config/agendaQueue.config.d.ts.map +1 -1
  34. package/dist/config/agendaQueue.config.js +13 -1
  35. package/dist/config/auth.config.d.ts.map +1 -1
  36. package/dist/config/auth.config.js +4 -1
  37. package/dist/config/brandingConfigurationDefaults.config.d.ts +1 -1
  38. package/dist/config/brandingConfigurationDefaults.config.d.ts.map +1 -1
  39. package/dist/config/brandingConfigurationDefaults.config.js +22 -230
  40. package/dist/config/dashboardtype.config.d.ts +7 -0
  41. package/dist/config/dashboardtype.config.d.ts.map +1 -1
  42. package/dist/config/dashboardtype.config.js +9 -89
  43. package/dist/config/dashboardview.config.d.ts +7 -0
  44. package/dist/config/dashboardview.config.d.ts.map +1 -1
  45. package/dist/config/dashboardview.config.js +9 -134
  46. package/dist/config/http.config.d.ts +2 -0
  47. package/dist/config/http.config.d.ts.map +1 -1
  48. package/dist/config/http.config.js +47 -1
  49. package/dist/config/jsonld.config.d.ts.map +1 -1
  50. package/dist/config/jsonld.config.js +2 -21
  51. package/dist/config/record.config.d.ts.map +1 -1
  52. package/dist/config/record.config.js +2 -9
  53. package/dist/config/recordtype.config.d.ts +8 -0
  54. package/dist/config/recordtype.config.d.ts.map +1 -1
  55. package/dist/config/recordtype.config.js +10 -660
  56. package/dist/config/reusableContributorFormDefinitions.config.d.ts.map +1 -1
  57. package/dist/config/reusableContributorFormDefinitions.config.js +1 -2
  58. package/dist/config/reusableViewFormDefinitions.config.d.ts.map +1 -1
  59. package/dist/config/reusableViewFormDefinitions.config.js +12 -1
  60. package/dist/config/routes.config.d.ts.map +1 -1
  61. package/dist/config/routes.config.js +12 -3
  62. package/dist/config/solr.config.d.ts +1 -0
  63. package/dist/config/solr.config.d.ts.map +1 -1
  64. package/dist/config/solr.config.js +3 -2
  65. package/dist/config/static_assets.config.d.ts +2 -0
  66. package/dist/config/static_assets.config.d.ts.map +1 -1
  67. package/dist/config/static_assets.config.js +4 -2
  68. package/dist/config/storage.config.d.ts.map +1 -1
  69. package/dist/config/storage.config.js +7 -1
  70. package/dist/config/views.config.d.ts.map +1 -1
  71. package/dist/config/views.config.js +2 -6
  72. package/dist/config/vocab.config.d.ts +4 -0
  73. package/dist/config/vocab.config.d.ts.map +1 -1
  74. package/dist/config/vocab.config.js +1 -1
  75. package/dist/config/workflow.config.d.ts +7 -0
  76. package/dist/config/workflow.config.d.ts.map +1 -1
  77. package/dist/config/workflow.config.js +9 -194
  78. package/dist/config/workspacetype.config.d.ts +7 -0
  79. package/dist/config/workspacetype.config.d.ts.map +1 -1
  80. package/dist/config/workspacetype.config.js +9 -10
  81. package/dist/configmodels/DoiPublishing.d.ts +1 -1
  82. package/dist/configmodels/DoiPublishing.d.ts.map +1 -1
  83. package/dist/configmodels/FigsharePublishing.d.ts +746 -217
  84. package/dist/configmodels/FigsharePublishing.d.ts.map +1 -1
  85. package/dist/configmodels/FigsharePublishing.js +181 -190
  86. package/dist/constants/export.d.ts +2 -0
  87. package/dist/constants/export.d.ts.map +1 -0
  88. package/dist/constants/export.js +8 -0
  89. package/dist/controllers/AsynchController.d.ts +4 -1
  90. package/dist/controllers/AsynchController.d.ts.map +1 -1
  91. package/dist/controllers/AsynchController.js +118 -9
  92. package/dist/controllers/BrandingAppController.d.ts +2 -0
  93. package/dist/controllers/BrandingAppController.d.ts.map +1 -1
  94. package/dist/controllers/BrandingAppController.js +40 -2
  95. package/dist/controllers/BrandingController.d.ts +8 -0
  96. package/dist/controllers/BrandingController.d.ts.map +1 -1
  97. package/dist/controllers/BrandingController.js +45 -1
  98. package/dist/controllers/ExportController.d.ts.map +1 -1
  99. package/dist/controllers/ExportController.js +4 -3
  100. package/dist/controllers/RecordController.d.ts +1 -1
  101. package/dist/controllers/RecordController.d.ts.map +1 -1
  102. package/dist/controllers/RecordController.js +47 -21
  103. package/dist/controllers/UserController.d.ts.map +1 -1
  104. package/dist/controllers/UserController.js +3 -2
  105. package/dist/controllers/VocabularyController.js +4 -4
  106. package/dist/controllers/index.d.ts.map +1 -1
  107. package/dist/controllers/index.js +7 -1
  108. package/dist/controllers/webservice/BrandingController.d.ts +1 -0
  109. package/dist/controllers/webservice/BrandingController.d.ts.map +1 -1
  110. package/dist/controllers/webservice/BrandingController.js +69 -10
  111. package/dist/controllers/webservice/ExportController.d.ts.map +1 -1
  112. package/dist/controllers/webservice/ExportController.js +4 -3
  113. package/dist/controllers/webservice/FigshareCrosswalkController.d.ts +20 -0
  114. package/dist/controllers/webservice/FigshareCrosswalkController.d.ts.map +1 -0
  115. package/dist/controllers/webservice/FigshareCrosswalkController.js +184 -0
  116. package/dist/controllers/webservice/FigshareVocabularyController.d.ts +21 -0
  117. package/dist/controllers/webservice/FigshareVocabularyController.d.ts.map +1 -0
  118. package/dist/controllers/webservice/FigshareVocabularyController.js +223 -0
  119. package/dist/controllers/webservice/RecordController.d.ts +2 -0
  120. package/dist/controllers/webservice/RecordController.d.ts.map +1 -1
  121. package/dist/controllers/webservice/RecordController.js +60 -12
  122. package/dist/controllers/webservice/UserManagementController.d.ts +5 -3
  123. package/dist/controllers/webservice/UserManagementController.d.ts.map +1 -1
  124. package/dist/controllers/webservice/UserManagementController.js +140 -9
  125. package/dist/controllers/webservice/figshare-vocabulary-errors.d.ts +14 -0
  126. package/dist/controllers/webservice/figshare-vocabulary-errors.d.ts.map +1 -0
  127. package/dist/controllers/webservice/figshare-vocabulary-errors.js +39 -0
  128. package/dist/form-config/index.d.ts +7 -0
  129. package/dist/form-config/index.d.ts.map +1 -1
  130. package/dist/form-config/index.js +8 -5
  131. package/dist/hooks/hookDiscovery.d.ts +20 -0
  132. package/dist/hooks/hookDiscovery.d.ts.map +1 -0
  133. package/dist/hooks/hookDiscovery.js +186 -0
  134. package/dist/hooks/hookResources.d.ts +23 -0
  135. package/dist/hooks/hookResources.d.ts.map +1 -0
  136. package/dist/hooks/hookResources.js +136 -0
  137. package/dist/hooks/index.d.ts +4 -0
  138. package/dist/hooks/index.d.ts.map +1 -1
  139. package/dist/hooks/index.js +14 -2
  140. package/dist/index.d.ts +4 -0
  141. package/dist/index.d.ts.map +1 -1
  142. package/dist/index.js +14 -2
  143. package/dist/loader/index.d.ts.map +1 -1
  144. package/dist/loader/index.js +21 -62
  145. package/dist/model/storage/BrandingModel.d.ts +2 -0
  146. package/dist/model/storage/BrandingModel.d.ts.map +1 -1
  147. package/dist/model/storage/BrandingModel.js +3 -1
  148. package/dist/services/AgendaQueueService.d.ts.map +1 -1
  149. package/dist/services/AgendaQueueService.js +6 -2
  150. package/dist/services/BrandingLogoService.d.ts +20 -1
  151. package/dist/services/BrandingLogoService.d.ts.map +1 -1
  152. package/dist/services/BrandingLogoService.js +51 -5
  153. package/dist/services/BrandingThemeTokens.d.ts.map +1 -1
  154. package/dist/services/BrandingThemeTokens.js +2 -1
  155. package/dist/services/EmailService.d.ts +2 -8
  156. package/dist/services/EmailService.d.ts.map +1 -1
  157. package/dist/services/EmailService.js +8 -26
  158. package/dist/services/FigshareService.d.ts.map +1 -1
  159. package/dist/services/FigshareService.js +5 -4
  160. package/dist/services/FigshareVocabularyService.d.ts +442 -0
  161. package/dist/services/FigshareVocabularyService.d.ts.map +1 -0
  162. package/dist/services/FigshareVocabularyService.js +1802 -0
  163. package/dist/services/FormVocabularyService.d.ts.map +1 -1
  164. package/dist/services/FormVocabularyService.js +28 -7
  165. package/dist/services/I18nEntriesService.d.ts.map +1 -1
  166. package/dist/services/I18nEntriesService.js +21 -2
  167. package/dist/services/IntegrationAuditService.js +4 -4
  168. package/dist/services/NamedQueryService.d.ts.map +1 -1
  169. package/dist/services/NamedQueryService.js +3 -16
  170. package/dist/services/RDMPService.d.ts.map +1 -1
  171. package/dist/services/RDMPService.js +9 -1
  172. package/dist/services/RecordsService.d.ts +4 -0
  173. package/dist/services/RecordsService.d.ts.map +1 -1
  174. package/dist/services/RecordsService.js +62 -45
  175. package/dist/services/ReportsService.d.ts +0 -5
  176. package/dist/services/ReportsService.d.ts.map +1 -1
  177. package/dist/services/ReportsService.js +22 -31
  178. package/dist/services/SolrSearchService.d.ts +10 -2
  179. package/dist/services/SolrSearchService.d.ts.map +1 -1
  180. package/dist/services/SolrSearchService.js +110 -52
  181. package/dist/services/StandardDatastreamService.d.ts +7 -0
  182. package/dist/services/StandardDatastreamService.d.ts.map +1 -1
  183. package/dist/services/StandardDatastreamService.js +127 -27
  184. package/dist/services/TemplateService.d.ts +0 -14
  185. package/dist/services/TemplateService.d.ts.map +1 -1
  186. package/dist/services/TemplateService.js +4 -45
  187. package/dist/services/UsersService.d.ts.map +1 -1
  188. package/dist/services/UsersService.js +19 -16
  189. package/dist/services/ViewUtilsService.d.ts +5 -1
  190. package/dist/services/ViewUtilsService.d.ts.map +1 -1
  191. package/dist/services/ViewUtilsService.js +38 -46
  192. package/dist/services/VocabularyService.d.ts +11 -2
  193. package/dist/services/VocabularyService.d.ts.map +1 -1
  194. package/dist/services/VocabularyService.js +46 -20
  195. package/dist/services/doi-v2/bindings.d.ts.map +1 -1
  196. package/dist/services/doi-v2/bindings.js +2 -11
  197. package/dist/services/figshare-v2/assets.d.ts +2 -1
  198. package/dist/services/figshare-v2/assets.d.ts.map +1 -1
  199. package/dist/services/figshare-v2/assets.js +144 -89
  200. package/dist/services/figshare-v2/bindings.d.ts +28 -3
  201. package/dist/services/figshare-v2/bindings.d.ts.map +1 -1
  202. package/dist/services/figshare-v2/bindings.js +75 -17
  203. package/dist/services/figshare-v2/categories.d.ts +142 -0
  204. package/dist/services/figshare-v2/categories.d.ts.map +1 -0
  205. package/dist/services/figshare-v2/categories.js +408 -0
  206. package/dist/services/figshare-v2/config.d.ts +10 -0
  207. package/dist/services/figshare-v2/config.d.ts.map +1 -1
  208. package/dist/services/figshare-v2/config.js +39 -1
  209. package/dist/services/figshare-v2/context.d.ts +18 -1
  210. package/dist/services/figshare-v2/context.d.ts.map +1 -1
  211. package/dist/services/figshare-v2/context.js +34 -2
  212. package/dist/services/figshare-v2/embargo.d.ts.map +1 -1
  213. package/dist/services/figshare-v2/embargo.js +6 -4
  214. package/dist/services/figshare-v2/http.d.ts +3 -1
  215. package/dist/services/figshare-v2/http.d.ts.map +1 -1
  216. package/dist/services/figshare-v2/http.js +26 -4
  217. package/dist/services/figshare-v2/metadata.d.ts.map +1 -1
  218. package/dist/services/figshare-v2/metadata.js +74 -26
  219. package/dist/services/figshare-v2/observability.d.ts +1 -2
  220. package/dist/services/figshare-v2/observability.d.ts.map +1 -1
  221. package/dist/services/figshare-v2/observability.js +7 -47
  222. package/dist/services/figshare-v2/types.d.ts +13 -0
  223. package/dist/services/figshare-v2/types.d.ts.map +1 -1
  224. package/dist/services/figshare-v2/types.js +1 -1
  225. package/dist/services/figshare-v2/vocabulary-errors.d.ts +39 -0
  226. package/dist/services/figshare-v2/vocabulary-errors.d.ts.map +1 -0
  227. package/dist/services/figshare-v2/vocabulary-errors.js +68 -0
  228. package/dist/services/index.d.ts +3 -0
  229. package/dist/services/index.d.ts.map +1 -1
  230. package/dist/services/index.js +8 -3
  231. package/dist/storage/TusStorageManagerDataStore.d.ts.map +1 -1
  232. package/dist/storage/TusStorageManagerDataStore.js +14 -1
  233. package/dist/utilities/ContextVariableUtils.d.ts +3 -1
  234. package/dist/utilities/ContextVariableUtils.d.ts.map +1 -1
  235. package/dist/utilities/ContextVariableUtils.js +25 -7
  236. package/dist/utilities/PromiseUtils.d.ts +9 -0
  237. package/dist/utilities/PromiseUtils.d.ts.map +1 -0
  238. package/dist/utilities/PromiseUtils.js +27 -0
  239. package/dist/utilities/RedactionUtils.d.ts +3 -0
  240. package/dist/utilities/RedactionUtils.d.ts.map +1 -0
  241. package/dist/utilities/RedactionUtils.js +55 -0
  242. package/dist/visitor/client.visitor.d.ts +3 -0
  243. package/dist/visitor/client.visitor.d.ts.map +1 -1
  244. package/dist/visitor/client.visitor.js +102 -17
  245. package/dist/visitor/construct.visitor.d.ts +3 -0
  246. package/dist/visitor/construct.visitor.d.ts.map +1 -1
  247. package/dist/visitor/construct.visitor.js +51 -38
  248. package/dist/visitor/json-type-def.visitor.d.ts +1 -0
  249. package/dist/visitor/json-type-def.visitor.d.ts.map +1 -1
  250. package/dist/visitor/json-type-def.visitor.js +20 -4
  251. package/dist/visitor/migrate-config-v4-v5.visitor.d.ts +6 -3
  252. package/dist/visitor/migrate-config-v4-v5.visitor.d.ts.map +1 -1
  253. package/dist/visitor/migrate-config-v4-v5.visitor.js +94 -44
  254. package/dist/visitor/validator.visitor.d.ts.map +1 -1
  255. package/dist/visitor/validator.visitor.js +1 -1
  256. package/dist/visitor/visitor-helpers.js +2 -2
  257. package/dist/waterline-models/BrandingConfig.d.ts +2 -0
  258. package/dist/waterline-models/BrandingConfig.d.ts.map +1 -1
  259. package/dist/waterline-models/BrandingConfig.js +6 -1
  260. package/dist/waterline-models/FigshareVocabularyCategory.d.ts +38 -0
  261. package/dist/waterline-models/FigshareVocabularyCategory.d.ts.map +1 -0
  262. package/dist/waterline-models/FigshareVocabularyCategory.js +157 -0
  263. package/dist/waterline-models/FigshareVocabularyCrosswalk.d.ts +37 -0
  264. package/dist/waterline-models/FigshareVocabularyCrosswalk.d.ts.map +1 -0
  265. package/dist/waterline-models/FigshareVocabularyCrosswalk.js +153 -0
  266. package/dist/waterline-models/FigshareVocabularyCrosswalkMapping.d.ts +37 -0
  267. package/dist/waterline-models/FigshareVocabularyCrosswalkMapping.d.ts.map +1 -0
  268. package/dist/waterline-models/FigshareVocabularyCrosswalkMapping.js +138 -0
  269. package/dist/waterline-models/FigshareVocabularySource.d.ts +45 -0
  270. package/dist/waterline-models/FigshareVocabularySource.d.ts.map +1 -0
  271. package/dist/waterline-models/FigshareVocabularySource.js +149 -0
  272. package/dist/waterline-models/FigshareVocabularySyncRun.d.ts +70 -0
  273. package/dist/waterline-models/FigshareVocabularySyncRun.d.ts.map +1 -0
  274. package/dist/waterline-models/FigshareVocabularySyncRun.js +237 -0
  275. package/dist/waterline-models/Vocabulary.d.ts +3 -1
  276. package/dist/waterline-models/Vocabulary.d.ts.map +1 -1
  277. package/dist/waterline-models/Vocabulary.js +9 -3
  278. package/dist/waterline-models/index.d.ts +10 -0
  279. package/dist/waterline-models/index.d.ts.map +1 -1
  280. package/dist/waterline-models/index.js +16 -1
  281. package/package.json +19 -19
  282. package/dist/form-config/dataRecord-1.0-draft.d.ts +0 -4
  283. package/dist/form-config/dataRecord-1.0-draft.d.ts.map +0 -1
  284. package/dist/form-config/dataRecord-1.0-draft.js +0 -1042
  285. package/dist/form-config/default-1.0-draft.d.ts +0 -4
  286. package/dist/form-config/default-1.0-draft.d.ts.map +0 -1
  287. package/dist/form-config/default-1.0-draft.js +0 -1156
@@ -1,5 +1,5 @@
1
1
  import { AppConfig } from './AppConfig.interface';
2
- export type FigshareBindingKind = 'path' | 'handlebars' | 'jsonata';
2
+ export type FigshareBindingKind = 'path' | 'handlebars' | 'jsonata' | 'crosswalk';
3
3
  export type FigshareArticleItemType = 'dataset' | 'fileset' | 'figure' | 'media' | 'poster' | 'paper' | 'presentation' | 'thesis' | 'code' | 'metadata';
4
4
  export interface PathBinding {
5
5
  kind: 'path';
@@ -16,7 +16,24 @@ export interface JsonataBinding {
16
16
  expression: string;
17
17
  defaultValue?: unknown;
18
18
  }
19
- export type ValueBinding = PathBinding | HandlebarsBinding | JsonataBinding;
19
+ /** The binding kinds that read a value straight out of the evaluation target. */
20
+ export type SimpleValueBinding = PathBinding | HandlebarsBinding | JsonataBinding;
21
+ /** What a crosswalk binding emits for each resolved mapping. */
22
+ export type FigshareCrosswalkOutput = 'categoryId' | 'label' | 'sourceId';
23
+ /**
24
+ * Resolves the codes produced by `source` through the approved revision of a
25
+ * Figshare crosswalk. `source` is deliberately a simple binding: a crosswalk
26
+ * never nests another crosswalk.
27
+ */
28
+ export interface CrosswalkBinding {
29
+ kind: 'crosswalk';
30
+ source: SimpleValueBinding;
31
+ sourceVocabularyId: string;
32
+ crosswalkId: string;
33
+ outputs: FigshareCrosswalkOutput;
34
+ defaultValue?: unknown;
35
+ }
36
+ export type ValueBinding = SimpleValueBinding | CrosswalkBinding;
20
37
  export interface LicenseBinding {
21
38
  source: ValueBinding;
22
39
  matchBy: 'urlContains' | 'nameExact' | 'valueExact';
@@ -24,7 +41,6 @@ export interface LicenseBinding {
24
41
  }
25
42
  export interface CategoryBinding {
26
43
  source: ValueBinding;
27
- mappingStrategy: 'for2020Mapping';
28
44
  }
29
45
  export interface RelatedResourceBinding {
30
46
  title: ValueBinding;
@@ -46,17 +62,8 @@ export interface AuthorLookupRule {
46
62
  export interface EmbargoBinding {
47
63
  accessRights: ValueBinding;
48
64
  fullEmbargoUntil?: ValueBinding;
49
- fileEmbargoUntil?: ValueBinding;
50
65
  reason?: ValueBinding;
51
66
  }
52
- export interface WorkflowTransitionRule {
53
- when: 'published' | 'republished' | 'embargoUpdated' | 'awaitingUploadCompletion';
54
- targetWorkflowStageName: string;
55
- targetWorkflowStageLabel?: string;
56
- targetForm?: string;
57
- ifArticleField?: string;
58
- equals?: string | number | boolean;
59
- }
60
67
  export interface FigshareFixtureConfig {
61
68
  authors?: Array<Record<string, unknown>>;
62
69
  licenses?: Array<Record<string, unknown>>;
@@ -113,7 +120,6 @@ export interface FigsharePublishingConfigData {
113
120
  };
114
121
  record: {
115
122
  articleIdPath: string;
116
- articleUrlPaths: string[];
117
123
  dataLocationsPath: string;
118
124
  statusPath: string;
119
125
  errorPath: string;
@@ -126,7 +132,6 @@ export interface FigsharePublishingConfigData {
126
132
  selectedFlagPath: string;
127
133
  };
128
134
  authors: {
129
- source: 'defaultRedboxContributors';
130
135
  contributorPaths: string[];
131
136
  uniqueBy: 'email' | 'orcid' | 'username' | 'none';
132
137
  externalNameField: string;
@@ -148,7 +153,7 @@ export interface FigsharePublishingConfigData {
148
153
  customFields: CustomFieldBinding[];
149
154
  };
150
155
  categories: {
151
- strategy: 'for2020Mapping';
156
+ /** Consulted only when the categories binding is not a crosswalk binding. */
152
157
  mappingTable: Array<{
153
158
  sourceCode: string;
154
159
  figshareCategoryId: number;
@@ -158,11 +163,15 @@ export interface FigsharePublishingConfigData {
158
163
  assets: {
159
164
  enableHostedFiles: boolean;
160
165
  enableLinkFiles: boolean;
161
- dedupeStrategy: 'sourceId' | 'nameAndMd5' | 'url';
162
166
  staging: {
163
- tempDir?: string;
167
+ /**
168
+ * StorageManager disk name used to stage attachments before upload.
169
+ * Resolved via StorageManagerService.disk(name). Defaults to 'figshare-staging'.
170
+ */
171
+ disk?: string;
172
+ /** Key prefix for staged objects on the disk. Default: 'figshare/'. */
173
+ keyPrefix?: string;
164
174
  cleanupPolicy: 'deleteAfterSuccess' | 'retainForRetry';
165
- diskSpaceThresholdBytes: number;
166
175
  };
167
176
  };
168
177
  embargo: {
@@ -175,7 +184,6 @@ export interface FigsharePublishingConfigData {
175
184
  uploadedFilesCleanupDelay: string;
176
185
  };
177
186
  workflow: {
178
- transitionRules: WorkflowTransitionRule[];
179
187
  transitionJob: {
180
188
  enabled: boolean;
181
189
  namedQuery: string;
@@ -210,7 +218,6 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
210
218
  };
211
219
  record: {
212
220
  articleIdPath: string;
213
- articleUrlPaths: string[];
214
221
  dataLocationsPath: string;
215
222
  statusPath: string;
216
223
  errorPath: string;
@@ -223,7 +230,6 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
223
230
  selectedFlagPath: string;
224
231
  };
225
232
  authors: {
226
- source: "defaultRedboxContributors";
227
233
  contributorPaths: string[];
228
234
  uniqueBy: "email" | "orcid" | "username" | "none";
229
235
  externalNameField: string;
@@ -249,7 +255,6 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
249
255
  };
250
256
  categories: {
251
257
  source: ValueBinding;
252
- mappingStrategy: "for2020Mapping";
253
258
  };
254
259
  relatedResource: {
255
260
  title: ValueBinding;
@@ -258,7 +263,6 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
258
263
  customFields: never[];
259
264
  };
260
265
  categories: {
261
- strategy: "for2020Mapping";
262
266
  mappingTable: Array<{
263
267
  sourceCode: string;
264
268
  figshareCategoryId: number;
@@ -268,11 +272,10 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
268
272
  assets: {
269
273
  enableHostedFiles: boolean;
270
274
  enableLinkFiles: boolean;
271
- dedupeStrategy: "sourceId" | "nameAndMd5" | "url";
272
275
  staging: {
273
- tempDir: string;
276
+ disk: string;
277
+ keyPrefix: string;
274
278
  cleanupPolicy: "deleteAfterSuccess" | "retainForRetry";
275
- diskSpaceThresholdBytes: number;
276
279
  };
277
280
  };
278
281
  embargo: {
@@ -281,7 +284,6 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
281
284
  accessRights: {
282
285
  accessRights: ValueBinding;
283
286
  fullEmbargoUntil: ValueBinding;
284
- fileEmbargoUntil: ValueBinding;
285
287
  reason: ValueBinding;
286
288
  };
287
289
  };
@@ -290,7 +292,6 @@ export declare class FigsharePublishing extends AppConfig implements FigsharePub
290
292
  uploadedFilesCleanupDelay: string;
291
293
  };
292
294
  workflow: {
293
- transitionRules: WorkflowTransitionRule[];
294
295
  transitionJob: {
295
296
  enabled: boolean;
296
297
  namedQuery: string;
@@ -466,14 +467,6 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
466
467
  title: string;
467
468
  default: string;
468
469
  };
469
- articleUrlPaths: {
470
- type: string;
471
- title: string;
472
- items: {
473
- type: string;
474
- };
475
- default: string[];
476
- };
477
470
  dataLocationsPath: {
478
471
  type: string;
479
472
  title: string;
@@ -528,12 +521,6 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
528
521
  type: string;
529
522
  title: string;
530
523
  properties: {
531
- source: {
532
- type: string;
533
- title: string;
534
- enum: string[];
535
- default: string;
536
- };
537
524
  uniqueBy: {
538
525
  type: string;
539
526
  title: string;
@@ -562,17 +549,57 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
562
549
  enum: string[];
563
550
  };
564
551
  value: {
565
- widget: {
566
- formlyConfig: {
567
- type: string;
568
- };
569
- };
570
552
  type: string;
571
553
  title: string;
572
554
  properties: {
573
555
  kind: {
556
+ enum: string[];
557
+ type: string;
558
+ title: string;
559
+ default: string;
560
+ };
561
+ source: {
562
+ type: string;
563
+ title: string;
564
+ properties: {
565
+ kind: {
566
+ type: string;
567
+ title: string;
568
+ enum: string[];
569
+ default: string;
570
+ };
571
+ path: {
572
+ type: string;
573
+ title: string;
574
+ };
575
+ template: {
576
+ type: string;
577
+ title: string;
578
+ };
579
+ expression: {
580
+ type: string;
581
+ title: string;
582
+ };
583
+ defaultValue: {
584
+ title: string;
585
+ };
586
+ };
587
+ required: string[];
588
+ };
589
+ sourceVocabularyId: {
590
+ type: string;
591
+ title: string;
592
+ description: string;
593
+ };
594
+ crosswalkId: {
574
595
  type: string;
575
596
  title: string;
597
+ description: string;
598
+ };
599
+ outputs: {
600
+ type: string;
601
+ title: string;
602
+ description: string;
576
603
  enum: string[];
577
604
  default: string;
578
605
  };
@@ -593,6 +620,14 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
593
620
  };
594
621
  };
595
622
  required: string[];
623
+ widget: {
624
+ formlyConfig: {
625
+ type: string;
626
+ props: {
627
+ allowCrosswalk: boolean;
628
+ };
629
+ };
630
+ };
596
631
  };
597
632
  };
598
633
  };
@@ -628,50 +663,57 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
628
663
  title: string;
629
664
  properties: {
630
665
  title: {
631
- widget: {
632
- formlyConfig: {
633
- type: string;
634
- };
635
- };
636
666
  type: string;
637
667
  title: string;
638
668
  properties: {
639
669
  kind: {
670
+ enum: string[];
640
671
  type: string;
641
672
  title: string;
642
- enum: string[];
643
673
  default: string;
644
674
  };
645
- path: {
675
+ source: {
646
676
  type: string;
647
677
  title: string;
678
+ properties: {
679
+ kind: {
680
+ type: string;
681
+ title: string;
682
+ enum: string[];
683
+ default: string;
684
+ };
685
+ path: {
686
+ type: string;
687
+ title: string;
688
+ };
689
+ template: {
690
+ type: string;
691
+ title: string;
692
+ };
693
+ expression: {
694
+ type: string;
695
+ title: string;
696
+ };
697
+ defaultValue: {
698
+ title: string;
699
+ };
700
+ };
701
+ required: string[];
648
702
  };
649
- template: {
703
+ sourceVocabularyId: {
650
704
  type: string;
651
705
  title: string;
706
+ description: string;
652
707
  };
653
- expression: {
708
+ crosswalkId: {
654
709
  type: string;
655
710
  title: string;
711
+ description: string;
656
712
  };
657
- defaultValue: {
658
- title: string;
659
- };
660
- };
661
- required: string[];
662
- };
663
- description: {
664
- widget: {
665
- formlyConfig: {
666
- type: string;
667
- };
668
- };
669
- type: string;
670
- title: string;
671
- properties: {
672
- kind: {
713
+ outputs: {
673
714
  type: string;
674
715
  title: string;
716
+ description: string;
675
717
  enum: string[];
676
718
  default: string;
677
719
  };
@@ -692,52 +734,67 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
692
734
  };
693
735
  };
694
736
  required: string[];
695
- };
696
- keywords: {
697
737
  widget: {
698
738
  formlyConfig: {
699
739
  type: string;
740
+ props: {
741
+ allowCrosswalk: boolean;
742
+ };
700
743
  };
701
744
  };
745
+ };
746
+ description: {
702
747
  type: string;
703
748
  title: string;
704
749
  properties: {
705
750
  kind: {
751
+ enum: string[];
706
752
  type: string;
707
753
  title: string;
708
- enum: string[];
709
754
  default: string;
710
755
  };
711
- path: {
756
+ source: {
712
757
  type: string;
713
758
  title: string;
759
+ properties: {
760
+ kind: {
761
+ type: string;
762
+ title: string;
763
+ enum: string[];
764
+ default: string;
765
+ };
766
+ path: {
767
+ type: string;
768
+ title: string;
769
+ };
770
+ template: {
771
+ type: string;
772
+ title: string;
773
+ };
774
+ expression: {
775
+ type: string;
776
+ title: string;
777
+ };
778
+ defaultValue: {
779
+ title: string;
780
+ };
781
+ };
782
+ required: string[];
714
783
  };
715
- template: {
784
+ sourceVocabularyId: {
716
785
  type: string;
717
786
  title: string;
787
+ description: string;
718
788
  };
719
- expression: {
789
+ crosswalkId: {
720
790
  type: string;
721
791
  title: string;
792
+ description: string;
722
793
  };
723
- defaultValue: {
724
- title: string;
725
- };
726
- };
727
- required: string[];
728
- };
729
- funding: {
730
- widget: {
731
- formlyConfig: {
732
- type: string;
733
- };
734
- };
735
- type: string;
736
- title: string;
737
- properties: {
738
- kind: {
794
+ outputs: {
739
795
  type: string;
740
796
  title: string;
797
+ description: string;
741
798
  enum: string[];
742
799
  default: string;
743
800
  };
@@ -758,17 +815,26 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
758
815
  };
759
816
  };
760
817
  required: string[];
818
+ widget: {
819
+ formlyConfig: {
820
+ type: string;
821
+ props: {
822
+ allowCrosswalk: boolean;
823
+ };
824
+ };
825
+ };
761
826
  };
762
- license: {
827
+ keywords: {
763
828
  type: string;
764
829
  title: string;
765
830
  properties: {
831
+ kind: {
832
+ enum: string[];
833
+ type: string;
834
+ title: string;
835
+ default: string;
836
+ };
766
837
  source: {
767
- widget: {
768
- formlyConfig: {
769
- type: string;
770
- };
771
- };
772
838
  type: string;
773
839
  title: string;
774
840
  properties: {
@@ -796,29 +862,60 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
796
862
  };
797
863
  required: string[];
798
864
  };
799
- matchBy: {
865
+ sourceVocabularyId: {
866
+ type: string;
867
+ title: string;
868
+ description: string;
869
+ };
870
+ crosswalkId: {
871
+ type: string;
872
+ title: string;
873
+ description: string;
874
+ };
875
+ outputs: {
800
876
  type: string;
801
877
  title: string;
878
+ description: string;
802
879
  enum: string[];
803
880
  default: string;
804
881
  };
805
- required: {
882
+ path: {
883
+ type: string;
884
+ title: string;
885
+ };
886
+ template: {
806
887
  type: string;
807
888
  title: string;
808
- default: boolean;
889
+ };
890
+ expression: {
891
+ type: string;
892
+ title: string;
893
+ };
894
+ defaultValue: {
895
+ title: string;
896
+ };
897
+ };
898
+ required: string[];
899
+ widget: {
900
+ formlyConfig: {
901
+ type: string;
902
+ props: {
903
+ allowCrosswalk: boolean;
904
+ };
809
905
  };
810
906
  };
811
907
  };
812
- categories: {
908
+ funding: {
813
909
  type: string;
814
910
  title: string;
815
911
  properties: {
912
+ kind: {
913
+ enum: string[];
914
+ type: string;
915
+ title: string;
916
+ default: string;
917
+ };
816
918
  source: {
817
- widget: {
818
- formlyConfig: {
819
- type: string;
820
- };
821
- };
822
919
  type: string;
823
920
  title: string;
824
921
  properties: {
@@ -846,63 +943,371 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
846
943
  };
847
944
  required: string[];
848
945
  };
849
- mappingStrategy: {
946
+ sourceVocabularyId: {
947
+ type: string;
948
+ title: string;
949
+ description: string;
950
+ };
951
+ crosswalkId: {
952
+ type: string;
953
+ title: string;
954
+ description: string;
955
+ };
956
+ outputs: {
850
957
  type: string;
851
958
  title: string;
959
+ description: string;
852
960
  enum: string[];
853
961
  default: string;
854
962
  };
963
+ path: {
964
+ type: string;
965
+ title: string;
966
+ };
967
+ template: {
968
+ type: string;
969
+ title: string;
970
+ };
971
+ expression: {
972
+ type: string;
973
+ title: string;
974
+ };
975
+ defaultValue: {
976
+ title: string;
977
+ };
978
+ };
979
+ required: string[];
980
+ widget: {
981
+ formlyConfig: {
982
+ type: string;
983
+ props: {
984
+ allowCrosswalk: boolean;
985
+ };
986
+ };
855
987
  };
856
988
  };
857
- relatedResource: {
989
+ license: {
858
990
  type: string;
859
991
  title: string;
860
992
  properties: {
861
- title: {
862
- widget: {
863
- formlyConfig: {
864
- type: string;
865
- };
866
- };
993
+ source: {
867
994
  type: string;
868
995
  title: string;
869
996
  properties: {
870
997
  kind: {
871
- type: string;
872
- title: string;
873
998
  enum: string[];
874
- default: string;
875
- };
876
- path: {
877
- type: string;
878
- title: string;
879
- };
880
- template: {
881
999
  type: string;
882
1000
  title: string;
1001
+ default: string;
883
1002
  };
884
- expression: {
1003
+ source: {
885
1004
  type: string;
886
1005
  title: string;
887
- };
888
- defaultValue: {
889
- title: string;
890
- };
891
- };
1006
+ properties: {
1007
+ kind: {
1008
+ type: string;
1009
+ title: string;
1010
+ enum: string[];
1011
+ default: string;
1012
+ };
1013
+ path: {
1014
+ type: string;
1015
+ title: string;
1016
+ };
1017
+ template: {
1018
+ type: string;
1019
+ title: string;
1020
+ };
1021
+ expression: {
1022
+ type: string;
1023
+ title: string;
1024
+ };
1025
+ defaultValue: {
1026
+ title: string;
1027
+ };
1028
+ };
1029
+ required: string[];
1030
+ };
1031
+ sourceVocabularyId: {
1032
+ type: string;
1033
+ title: string;
1034
+ description: string;
1035
+ };
1036
+ crosswalkId: {
1037
+ type: string;
1038
+ title: string;
1039
+ description: string;
1040
+ };
1041
+ outputs: {
1042
+ type: string;
1043
+ title: string;
1044
+ description: string;
1045
+ enum: string[];
1046
+ default: string;
1047
+ };
1048
+ path: {
1049
+ type: string;
1050
+ title: string;
1051
+ };
1052
+ template: {
1053
+ type: string;
1054
+ title: string;
1055
+ };
1056
+ expression: {
1057
+ type: string;
1058
+ title: string;
1059
+ };
1060
+ defaultValue: {
1061
+ title: string;
1062
+ };
1063
+ };
892
1064
  required: string[];
1065
+ widget: {
1066
+ formlyConfig: {
1067
+ type: string;
1068
+ props: {
1069
+ allowCrosswalk: boolean;
1070
+ };
1071
+ };
1072
+ };
893
1073
  };
894
- doi: {
1074
+ matchBy: {
1075
+ type: string;
1076
+ title: string;
1077
+ enum: string[];
1078
+ default: string;
1079
+ };
1080
+ required: {
1081
+ type: string;
1082
+ title: string;
1083
+ default: boolean;
1084
+ };
1085
+ };
1086
+ };
1087
+ categories: {
1088
+ type: string;
1089
+ title: string;
1090
+ properties: {
1091
+ source: {
1092
+ type: string;
1093
+ title: string;
1094
+ properties: {
1095
+ kind: {
1096
+ enum: string[];
1097
+ type: string;
1098
+ title: string;
1099
+ default: string;
1100
+ };
1101
+ source: {
1102
+ type: string;
1103
+ title: string;
1104
+ properties: {
1105
+ kind: {
1106
+ type: string;
1107
+ title: string;
1108
+ enum: string[];
1109
+ default: string;
1110
+ };
1111
+ path: {
1112
+ type: string;
1113
+ title: string;
1114
+ };
1115
+ template: {
1116
+ type: string;
1117
+ title: string;
1118
+ };
1119
+ expression: {
1120
+ type: string;
1121
+ title: string;
1122
+ };
1123
+ defaultValue: {
1124
+ title: string;
1125
+ };
1126
+ };
1127
+ required: string[];
1128
+ };
1129
+ sourceVocabularyId: {
1130
+ type: string;
1131
+ title: string;
1132
+ description: string;
1133
+ };
1134
+ crosswalkId: {
1135
+ type: string;
1136
+ title: string;
1137
+ description: string;
1138
+ };
1139
+ outputs: {
1140
+ type: string;
1141
+ title: string;
1142
+ description: string;
1143
+ enum: string[];
1144
+ default: string;
1145
+ };
1146
+ path: {
1147
+ type: string;
1148
+ title: string;
1149
+ };
1150
+ template: {
1151
+ type: string;
1152
+ title: string;
1153
+ };
1154
+ expression: {
1155
+ type: string;
1156
+ title: string;
1157
+ };
1158
+ defaultValue: {
1159
+ title: string;
1160
+ };
1161
+ };
1162
+ required: string[];
895
1163
  widget: {
896
1164
  formlyConfig: {
897
1165
  type: string;
1166
+ props: {
1167
+ allowCrosswalk: boolean;
1168
+ };
898
1169
  };
899
1170
  };
1171
+ };
1172
+ };
1173
+ };
1174
+ relatedResource: {
1175
+ type: string;
1176
+ title: string;
1177
+ properties: {
1178
+ title: {
900
1179
  type: string;
901
1180
  title: string;
902
1181
  properties: {
903
1182
  kind: {
1183
+ enum: string[];
1184
+ type: string;
1185
+ title: string;
1186
+ default: string;
1187
+ };
1188
+ source: {
1189
+ type: string;
1190
+ title: string;
1191
+ properties: {
1192
+ kind: {
1193
+ type: string;
1194
+ title: string;
1195
+ enum: string[];
1196
+ default: string;
1197
+ };
1198
+ path: {
1199
+ type: string;
1200
+ title: string;
1201
+ };
1202
+ template: {
1203
+ type: string;
1204
+ title: string;
1205
+ };
1206
+ expression: {
1207
+ type: string;
1208
+ title: string;
1209
+ };
1210
+ defaultValue: {
1211
+ title: string;
1212
+ };
1213
+ };
1214
+ required: string[];
1215
+ };
1216
+ sourceVocabularyId: {
1217
+ type: string;
1218
+ title: string;
1219
+ description: string;
1220
+ };
1221
+ crosswalkId: {
1222
+ type: string;
1223
+ title: string;
1224
+ description: string;
1225
+ };
1226
+ outputs: {
1227
+ type: string;
1228
+ title: string;
1229
+ description: string;
1230
+ enum: string[];
1231
+ default: string;
1232
+ };
1233
+ path: {
1234
+ type: string;
1235
+ title: string;
1236
+ };
1237
+ template: {
1238
+ type: string;
1239
+ title: string;
1240
+ };
1241
+ expression: {
1242
+ type: string;
1243
+ title: string;
1244
+ };
1245
+ defaultValue: {
1246
+ title: string;
1247
+ };
1248
+ };
1249
+ required: string[];
1250
+ widget: {
1251
+ formlyConfig: {
1252
+ type: string;
1253
+ props: {
1254
+ allowCrosswalk: boolean;
1255
+ };
1256
+ };
1257
+ };
1258
+ };
1259
+ doi: {
1260
+ type: string;
1261
+ title: string;
1262
+ properties: {
1263
+ kind: {
1264
+ enum: string[];
1265
+ type: string;
1266
+ title: string;
1267
+ default: string;
1268
+ };
1269
+ source: {
1270
+ type: string;
1271
+ title: string;
1272
+ properties: {
1273
+ kind: {
1274
+ type: string;
1275
+ title: string;
1276
+ enum: string[];
1277
+ default: string;
1278
+ };
1279
+ path: {
1280
+ type: string;
1281
+ title: string;
1282
+ };
1283
+ template: {
1284
+ type: string;
1285
+ title: string;
1286
+ };
1287
+ expression: {
1288
+ type: string;
1289
+ title: string;
1290
+ };
1291
+ defaultValue: {
1292
+ title: string;
1293
+ };
1294
+ };
1295
+ required: string[];
1296
+ };
1297
+ sourceVocabularyId: {
904
1298
  type: string;
905
1299
  title: string;
1300
+ description: string;
1301
+ };
1302
+ crosswalkId: {
1303
+ type: string;
1304
+ title: string;
1305
+ description: string;
1306
+ };
1307
+ outputs: {
1308
+ type: string;
1309
+ title: string;
1310
+ description: string;
906
1311
  enum: string[];
907
1312
  default: string;
908
1313
  };
@@ -923,6 +1328,14 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
923
1328
  };
924
1329
  };
925
1330
  required: string[];
1331
+ widget: {
1332
+ formlyConfig: {
1333
+ type: string;
1334
+ props: {
1335
+ allowCrosswalk: boolean;
1336
+ };
1337
+ };
1338
+ };
926
1339
  };
927
1340
  };
928
1341
  };
@@ -937,17 +1350,57 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
937
1350
  title: string;
938
1351
  };
939
1352
  value: {
940
- widget: {
941
- formlyConfig: {
942
- type: string;
943
- };
944
- };
945
1353
  type: string;
946
1354
  title: string;
947
1355
  properties: {
948
1356
  kind: {
1357
+ enum: string[];
1358
+ type: string;
1359
+ title: string;
1360
+ default: string;
1361
+ };
1362
+ source: {
1363
+ type: string;
1364
+ title: string;
1365
+ properties: {
1366
+ kind: {
1367
+ type: string;
1368
+ title: string;
1369
+ enum: string[];
1370
+ default: string;
1371
+ };
1372
+ path: {
1373
+ type: string;
1374
+ title: string;
1375
+ };
1376
+ template: {
1377
+ type: string;
1378
+ title: string;
1379
+ };
1380
+ expression: {
1381
+ type: string;
1382
+ title: string;
1383
+ };
1384
+ defaultValue: {
1385
+ title: string;
1386
+ };
1387
+ };
1388
+ required: string[];
1389
+ };
1390
+ sourceVocabularyId: {
1391
+ type: string;
1392
+ title: string;
1393
+ description: string;
1394
+ };
1395
+ crosswalkId: {
949
1396
  type: string;
950
1397
  title: string;
1398
+ description: string;
1399
+ };
1400
+ outputs: {
1401
+ type: string;
1402
+ title: string;
1403
+ description: string;
951
1404
  enum: string[];
952
1405
  default: string;
953
1406
  };
@@ -968,6 +1421,14 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
968
1421
  };
969
1422
  };
970
1423
  required: string[];
1424
+ widget: {
1425
+ formlyConfig: {
1426
+ type: string;
1427
+ props: {
1428
+ allowCrosswalk: boolean;
1429
+ };
1430
+ };
1431
+ };
971
1432
  };
972
1433
  validations: {
973
1434
  type: string;
@@ -996,12 +1457,6 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
996
1457
  type: string;
997
1458
  title: string;
998
1459
  properties: {
999
- strategy: {
1000
- type: string;
1001
- title: string;
1002
- enum: string[];
1003
- default: string;
1004
- };
1005
1460
  mappingTable: {
1006
1461
  widget: {
1007
1462
  formlyConfig: {
@@ -1010,6 +1465,7 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1010
1465
  };
1011
1466
  type: string;
1012
1467
  title: string;
1468
+ description: string;
1013
1469
  items: {
1014
1470
  type: string;
1015
1471
  properties: {
@@ -1045,30 +1501,25 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1045
1501
  title: string;
1046
1502
  default: boolean;
1047
1503
  };
1048
- dedupeStrategy: {
1049
- type: string;
1050
- title: string;
1051
- enum: string[];
1052
- default: string;
1053
- };
1054
1504
  staging: {
1055
1505
  type: string;
1056
1506
  title: string;
1057
1507
  properties: {
1058
- tempDir: {
1508
+ disk: {
1059
1509
  type: string;
1060
1510
  title: string;
1511
+ default: string;
1061
1512
  };
1062
- cleanupPolicy: {
1513
+ keyPrefix: {
1063
1514
  type: string;
1064
1515
  title: string;
1065
- enum: string[];
1066
1516
  default: string;
1067
1517
  };
1068
- diskSpaceThresholdBytes: {
1518
+ cleanupPolicy: {
1069
1519
  type: string;
1070
1520
  title: string;
1071
- default: number;
1521
+ enum: string[];
1522
+ default: string;
1072
1523
  };
1073
1524
  };
1074
1525
  };
@@ -1094,50 +1545,57 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1094
1545
  title: string;
1095
1546
  properties: {
1096
1547
  accessRights: {
1097
- widget: {
1098
- formlyConfig: {
1099
- type: string;
1100
- };
1101
- };
1102
1548
  type: string;
1103
1549
  title: string;
1104
1550
  properties: {
1105
1551
  kind: {
1552
+ enum: string[];
1106
1553
  type: string;
1107
1554
  title: string;
1108
- enum: string[];
1109
1555
  default: string;
1110
1556
  };
1111
- path: {
1557
+ source: {
1112
1558
  type: string;
1113
1559
  title: string;
1560
+ properties: {
1561
+ kind: {
1562
+ type: string;
1563
+ title: string;
1564
+ enum: string[];
1565
+ default: string;
1566
+ };
1567
+ path: {
1568
+ type: string;
1569
+ title: string;
1570
+ };
1571
+ template: {
1572
+ type: string;
1573
+ title: string;
1574
+ };
1575
+ expression: {
1576
+ type: string;
1577
+ title: string;
1578
+ };
1579
+ defaultValue: {
1580
+ title: string;
1581
+ };
1582
+ };
1583
+ required: string[];
1114
1584
  };
1115
- template: {
1585
+ sourceVocabularyId: {
1116
1586
  type: string;
1117
1587
  title: string;
1588
+ description: string;
1118
1589
  };
1119
- expression: {
1590
+ crosswalkId: {
1120
1591
  type: string;
1121
1592
  title: string;
1593
+ description: string;
1122
1594
  };
1123
- defaultValue: {
1124
- title: string;
1125
- };
1126
- };
1127
- required: string[];
1128
- };
1129
- fullEmbargoUntil: {
1130
- widget: {
1131
- formlyConfig: {
1132
- type: string;
1133
- };
1134
- };
1135
- type: string;
1136
- title: string;
1137
- properties: {
1138
- kind: {
1595
+ outputs: {
1139
1596
  type: string;
1140
1597
  title: string;
1598
+ description: string;
1141
1599
  enum: string[];
1142
1600
  default: string;
1143
1601
  };
@@ -1158,19 +1616,67 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1158
1616
  };
1159
1617
  };
1160
1618
  required: string[];
1161
- };
1162
- fileEmbargoUntil: {
1163
1619
  widget: {
1164
1620
  formlyConfig: {
1165
1621
  type: string;
1622
+ props: {
1623
+ allowCrosswalk: boolean;
1624
+ };
1166
1625
  };
1167
1626
  };
1627
+ };
1628
+ fullEmbargoUntil: {
1168
1629
  type: string;
1169
1630
  title: string;
1170
1631
  properties: {
1171
1632
  kind: {
1633
+ enum: string[];
1634
+ type: string;
1635
+ title: string;
1636
+ default: string;
1637
+ };
1638
+ source: {
1639
+ type: string;
1640
+ title: string;
1641
+ properties: {
1642
+ kind: {
1643
+ type: string;
1644
+ title: string;
1645
+ enum: string[];
1646
+ default: string;
1647
+ };
1648
+ path: {
1649
+ type: string;
1650
+ title: string;
1651
+ };
1652
+ template: {
1653
+ type: string;
1654
+ title: string;
1655
+ };
1656
+ expression: {
1657
+ type: string;
1658
+ title: string;
1659
+ };
1660
+ defaultValue: {
1661
+ title: string;
1662
+ };
1663
+ };
1664
+ required: string[];
1665
+ };
1666
+ sourceVocabularyId: {
1667
+ type: string;
1668
+ title: string;
1669
+ description: string;
1670
+ };
1671
+ crosswalkId: {
1172
1672
  type: string;
1173
1673
  title: string;
1674
+ description: string;
1675
+ };
1676
+ outputs: {
1677
+ type: string;
1678
+ title: string;
1679
+ description: string;
1174
1680
  enum: string[];
1175
1681
  default: string;
1176
1682
  };
@@ -1191,19 +1697,67 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1191
1697
  };
1192
1698
  };
1193
1699
  required: string[];
1194
- };
1195
- reason: {
1196
1700
  widget: {
1197
1701
  formlyConfig: {
1198
1702
  type: string;
1703
+ props: {
1704
+ allowCrosswalk: boolean;
1705
+ };
1199
1706
  };
1200
1707
  };
1708
+ };
1709
+ reason: {
1201
1710
  type: string;
1202
1711
  title: string;
1203
1712
  properties: {
1204
1713
  kind: {
1714
+ enum: string[];
1205
1715
  type: string;
1206
1716
  title: string;
1717
+ default: string;
1718
+ };
1719
+ source: {
1720
+ type: string;
1721
+ title: string;
1722
+ properties: {
1723
+ kind: {
1724
+ type: string;
1725
+ title: string;
1726
+ enum: string[];
1727
+ default: string;
1728
+ };
1729
+ path: {
1730
+ type: string;
1731
+ title: string;
1732
+ };
1733
+ template: {
1734
+ type: string;
1735
+ title: string;
1736
+ };
1737
+ expression: {
1738
+ type: string;
1739
+ title: string;
1740
+ };
1741
+ defaultValue: {
1742
+ title: string;
1743
+ };
1744
+ };
1745
+ required: string[];
1746
+ };
1747
+ sourceVocabularyId: {
1748
+ type: string;
1749
+ title: string;
1750
+ description: string;
1751
+ };
1752
+ crosswalkId: {
1753
+ type: string;
1754
+ title: string;
1755
+ description: string;
1756
+ };
1757
+ outputs: {
1758
+ type: string;
1759
+ title: string;
1760
+ description: string;
1207
1761
  enum: string[];
1208
1762
  default: string;
1209
1763
  };
@@ -1224,6 +1778,14 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1224
1778
  };
1225
1779
  };
1226
1780
  required: string[];
1781
+ widget: {
1782
+ formlyConfig: {
1783
+ type: string;
1784
+ props: {
1785
+ allowCrosswalk: boolean;
1786
+ };
1787
+ };
1788
+ };
1227
1789
  };
1228
1790
  };
1229
1791
  };
@@ -1249,39 +1811,6 @@ export declare const FIGSHARE_PUBLISHING_SCHEMA: {
1249
1811
  type: string;
1250
1812
  title: string;
1251
1813
  properties: {
1252
- transitionRules: {
1253
- type: string;
1254
- title: string;
1255
- items: {
1256
- type: string;
1257
- properties: {
1258
- when: {
1259
- type: string;
1260
- title: string;
1261
- enum: string[];
1262
- };
1263
- targetWorkflowStageName: {
1264
- type: string;
1265
- title: string;
1266
- };
1267
- targetWorkflowStageLabel: {
1268
- type: string;
1269
- title: string;
1270
- };
1271
- targetForm: {
1272
- type: string;
1273
- title: string;
1274
- };
1275
- ifArticleField: {
1276
- type: string;
1277
- title: string;
1278
- };
1279
- equals: {
1280
- title: string;
1281
- };
1282
- };
1283
- };
1284
- };
1285
1814
  transitionJob: {
1286
1815
  type: string;
1287
1816
  title: string;