@rebasepro/cms-types 0.17.0-canary.0

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 (78) hide show
  1. package/LICENSE +21 -0
  2. package/dist/admin_collection.d.ts +650 -0
  3. package/dist/augment.d.ts +81 -0
  4. package/dist/collections.d.ts +282 -0
  5. package/dist/controllers/analytics_controller.d.ts +7 -0
  6. package/dist/controllers/auth.d.ts +111 -0
  7. package/dist/controllers/customization_controller.d.ts +69 -0
  8. package/dist/controllers/dialogs_controller.d.ts +36 -0
  9. package/dist/controllers/index.d.ts +10 -0
  10. package/dist/controllers/local_config_persistence.d.ts +20 -0
  11. package/dist/controllers/navigation.d.ts +248 -0
  12. package/dist/controllers/registry.d.ts +96 -0
  13. package/dist/controllers/side_dialogs_controller.d.ts +67 -0
  14. package/dist/controllers/side_panel_controller.d.ts +97 -0
  15. package/dist/controllers/snackbar.d.ts +45 -0
  16. package/dist/index.d.ts +18 -0
  17. package/dist/index.es.js +154 -0
  18. package/dist/index.es.js.map +1 -0
  19. package/dist/react_component_ref.d.ts +43 -0
  20. package/dist/rebase_context.d.ts +68 -0
  21. package/dist/types/breadcrumbs.d.ts +15 -0
  22. package/dist/types/builders.d.ts +15 -0
  23. package/dist/types/collection_views.d.ts +105 -0
  24. package/dist/types/component_overrides.d.ts +196 -0
  25. package/dist/types/entity_actions.d.ts +112 -0
  26. package/dist/types/entity_display.d.ts +148 -0
  27. package/dist/types/entity_link_builder.d.ts +7 -0
  28. package/dist/types/entity_views.d.ts +115 -0
  29. package/dist/types/export_import.d.ts +21 -0
  30. package/dist/types/form_layout.d.ts +126 -0
  31. package/dist/types/formex.d.ts +40 -0
  32. package/dist/types/index.d.ts +18 -0
  33. package/dist/types/locales.d.ts +4 -0
  34. package/dist/types/modify_collections.d.ts +5 -0
  35. package/dist/types/plugins.d.ts +277 -0
  36. package/dist/types/property_config.d.ts +74 -0
  37. package/dist/types/property_options.d.ts +255 -0
  38. package/dist/types/slots.d.ts +279 -0
  39. package/dist/types/translations.d.ts +989 -0
  40. package/dist/types/user_management_delegate.d.ts +22 -0
  41. package/package.json +103 -0
  42. package/src/admin_collection.ts +775 -0
  43. package/src/augment.ts +79 -0
  44. package/src/collections.ts +312 -0
  45. package/src/controllers/analytics_controller.tsx +57 -0
  46. package/src/controllers/auth.ts +122 -0
  47. package/src/controllers/customization_controller.tsx +81 -0
  48. package/src/controllers/dialogs_controller.tsx +37 -0
  49. package/src/controllers/index.ts +10 -0
  50. package/src/controllers/local_config_persistence.tsx +22 -0
  51. package/src/controllers/navigation.ts +288 -0
  52. package/src/controllers/registry.ts +114 -0
  53. package/src/controllers/side_dialogs_controller.tsx +82 -0
  54. package/src/controllers/side_panel_controller.tsx +112 -0
  55. package/src/controllers/snackbar.ts +51 -0
  56. package/src/index.ts +20 -0
  57. package/src/react_component_ref.ts +52 -0
  58. package/src/rebase_context.ts +81 -0
  59. package/src/types/breadcrumbs.ts +16 -0
  60. package/src/types/builders.ts +18 -0
  61. package/src/types/collection_views.tsx +125 -0
  62. package/src/types/component_overrides.ts +244 -0
  63. package/src/types/entity_actions.tsx +134 -0
  64. package/src/types/entity_display.ts +182 -0
  65. package/src/types/entity_link_builder.ts +8 -0
  66. package/src/types/entity_views.tsx +135 -0
  67. package/src/types/export_import.ts +26 -0
  68. package/src/types/form_layout.ts +137 -0
  69. package/src/types/formex.ts +45 -0
  70. package/src/types/index.ts +18 -0
  71. package/src/types/locales.ts +81 -0
  72. package/src/types/modify_collections.tsx +6 -0
  73. package/src/types/plugins.tsx +346 -0
  74. package/src/types/property_config.tsx +97 -0
  75. package/src/types/property_options.ts +300 -0
  76. package/src/types/slots.tsx +334 -0
  77. package/src/types/translations.ts +1104 -0
  78. package/src/types/user_management_delegate.ts +23 -0
@@ -0,0 +1,1104 @@
1
+ /**
2
+ * Recursively makes all properties optional.
3
+ * Used to type partial translation overrides.
4
+ */
5
+ export type DeepPartial<T> = T extends object
6
+ ? { [K in keyof T]?: DeepPartial<T[K]> }
7
+ : T;
8
+
9
+ /**
10
+ * All user-visible strings used internally by @rebasepro/app.
11
+ * Pass a `DeepPartial<RebaseTranslations>` via the `translations` prop
12
+ * on your Rebase entry-point component to override any key, or to add
13
+ * a new locale.
14
+ *
15
+ * @group Core
16
+ */
17
+ export interface RebaseTranslations {
18
+ // ─── Form actions ────────────────────────────────────────────
19
+ save: string;
20
+ create: string;
21
+ /** Used when duplicating an existing entity */
22
+ create_copy: string;
23
+ save_and_close: string;
24
+ create_copy_and_close: string;
25
+ create_and_close: string;
26
+ /** Discard changes on an existing entity */
27
+ discard: string;
28
+ /** Clear a new/copy form (not yet persisted) */
29
+ clear: string;
30
+ cancel: string;
31
+
32
+ // ─── Entity actions ──────────────────────────────────────────
33
+ edit: string;
34
+ copy: string;
35
+ delete: string;
36
+ delete_not_allowed: string;
37
+ edit_entity?: string;
38
+ back_to_detail?: string;
39
+
40
+ // ─── Delete dialog ───────────────────────────────────────────
41
+ delete_confirmation_title: string;
42
+ delete_confirmation_body: string;
43
+ delete_multiple_confirmation_body: string;
44
+
45
+ // ─── Unsaved-changes dialog ───────────────────────────────────
46
+ unsaved_changes_title: string;
47
+ unsaved_changes_body: string;
48
+ discard_changes: string;
49
+ keep_editing: string;
50
+ /** Dialog title when clearing a new/copy form */
51
+ clear_form?: string;
52
+ /** Confirmation body when discarding changes on an existing entity */
53
+ discard_changes_confirmation?: string;
54
+ /** Confirmation body when clearing a new/copy form */
55
+ clear_form_confirmation?: string;
56
+
57
+ // ─── Collection table / toolbar ──────────────────────────────
58
+ search: string;
59
+ find_by_id: string;
60
+ find_entity_by_id: string;
61
+ filter: string;
62
+ clear_filter: string;
63
+ clear_filter_sort: string;
64
+ clear_sort: string;
65
+ /** Toolbar control that orders the collection, outside the table view */
66
+ sort: string;
67
+ sort_by: string;
68
+ /** Heading over the columns a further key can still be added from */
69
+ sort_then_by: string;
70
+ /** What the next click does to a key currently running descending */
71
+ sort_ascending: string;
72
+ /** …and to one currently running ascending */
73
+ sort_descending: string;
74
+ /** …and to one whose next click clears it, which is the third state a header cycles through */
75
+ sort_remove: string;
76
+ /** Promote a key over the one above it, which is what changes which key decides */
77
+ sort_move_up: string;
78
+ sort_move_down: string;
79
+ /** Drop one key of a multi-column sort, leaving the rest in place */
80
+ sort_remove_key: string;
81
+ /** A key's rank in a multi-column sort. Supports `{{position}}` interpolation, 1-based. */
82
+ sort_key_position: string;
83
+ /** How a column is added under the sort already in place, rather than replacing it */
84
+ sort_shift_click_hint: string;
85
+ /** Stands in for a subcollection list on an entity that has never been saved */
86
+ save_entity_before_subcollections: string;
87
+ /** Reset all active filters */
88
+ clear_all: string;
89
+ no_items: string;
90
+ no_entries_found: string;
91
+ all_entries_loaded: string;
92
+ create_your_first_entry: string;
93
+ no_results_filter_sort: string;
94
+ /** Shown when a text search yields no results. Supports `{{search}}` interpolation. */
95
+ no_results_search?: string;
96
+ add: string;
97
+ remove: string;
98
+ copy_id: string;
99
+ add_specific: string;
100
+ /**
101
+ * Offer to create the row a search did not find, with the search text as
102
+ * its name — e.g. `Add "Acme Corp"`.
103
+ */
104
+ add_named: string;
105
+ select_specific: string;
106
+ select_from: string;
107
+ done: string;
108
+ log_out: string;
109
+ column_cannot_be_edited: string;
110
+ close: string;
111
+ hide_list: string;
112
+ show_list: string;
113
+ unsaved_local_changes: string;
114
+ unsaved_local_changes_description: string;
115
+ preview_changes: string;
116
+ apply_changes: string;
117
+ discard_local_changes: string;
118
+ preview_local_changes: string;
119
+ preview_local_changes_description: string;
120
+ type: string;
121
+ string: string;
122
+ number: string;
123
+ boolean: string;
124
+ date: string;
125
+ map: string;
126
+ array: string;
127
+ arrays_of_arrays_not_supported: string;
128
+ data_type_not_supported: string;
129
+ browser_does_not_support_audio: string;
130
+ user_not_found: string;
131
+
132
+ // ─── Collection view actions ──────────────────────────────────
133
+ /** "Delete" action on collections, may require permissions check */
134
+ delete_selected: string;
135
+ cannot_delete_selected: string;
136
+
137
+ // ─── Array / field containers ─────────────────────────────────
138
+ /** Label for buttons that add a new item to a list */
139
+ add_entry: string;
140
+ add_on_top: string;
141
+ add_below: string;
142
+ /** Label when a fieldName is provided — "Add to {fieldName}" */
143
+ add_to_field: string;
144
+ /** Placeholder for the 'value' input in a KeyValue field */
145
+ value: string;
146
+ /** Placeholder for the 'key' input in a KeyValue field */
147
+ key: string;
148
+ /** Drag and drop help text for multiple files */
149
+ drag_drop_multiple: string;
150
+ /** Drag and drop help text for a single file */
151
+ drag_drop_single: string;
152
+
153
+ // ─── Navigation / scaffold ────────────────────────────────────
154
+ open_menu: string;
155
+ close_drawer: string;
156
+ navigation_drawer: string;
157
+ collapse: string;
158
+ expand: string;
159
+ /** Tooltip for the language switcher in the drawer footer */
160
+ change_language?: string;
161
+ /** Tooltip for the theme toggle in the drawer footer */
162
+ toggle_theme?: string;
163
+ /** Aria label for the user menu trigger in the drawer footer */
164
+ user_menu?: string;
165
+
166
+ // ─── Error states ─────────────────────────────────────────────
167
+ error: string;
168
+ error_loading_data?: string;
169
+ error_check_server_logs?: string;
170
+ error_technical_details?: string;
171
+ error_uploading_file: string;
172
+ error_deleting: string;
173
+ error_before_delete: string;
174
+ error_firestore_index: string;
175
+ create_index: string;
176
+ value_is_not_reference: string;
177
+ click_to_edit: string;
178
+ data_is_not_array_of_references: string;
179
+ collection_does_not_exist: string;
180
+
181
+ // ─── Misc ─────────────────────────────────────────────────────
182
+ loading: string;
183
+ local_changes_applied: string;
184
+ local_changes_discarded: string;
185
+ open_in_console: string;
186
+ see_console_details: string;
187
+ drop_here_create_group: string;
188
+ filter_for_null_values: string;
189
+ value_updated_elsewhere: string;
190
+ add_property: string;
191
+ edit_name: string;
192
+ this_entity_not_exist: string;
193
+ internal_error: string;
194
+ /** Shown in unsaved-changes dialogs */
195
+ are_you_sure_leave: string;
196
+ passkey_error_unsupported: string;
197
+
198
+ // ─── Entity form feedback ─────────────────────────────────────
199
+ /** Snackbar message after a successful save */
200
+ saved_correctly: string;
201
+ /** Snackbar title when a beforeSave callback throws */
202
+ error_before_saving: string;
203
+ /** Snackbar title when an afterSave callback throws */
204
+ error_after_saving: string;
205
+ /** Snackbar title when the save itself fails */
206
+ error_saving_entity: string;
207
+ /** Alert shown when the entity does not exist in the database */
208
+ entity_does_not_exist: string;
209
+ /** Tooltip when the form has unsaved modifications */
210
+ form_modified: string;
211
+ /** Tooltip when the form is in sync with the database */
212
+ form_in_sync: string;
213
+ /** Tooltip/alert shown when form has validation errors */
214
+ fix_errors_before_saving?: string;
215
+
216
+ admin: string;
217
+ home: string;
218
+ this_form_has_errors: string;
219
+ error_loading_navigation: string;
220
+ error_loading_auth: string;
221
+ this_form_has_been_modified: string;
222
+ current_form_in_sync: string;
223
+ unexpected_value: string;
224
+ unexpected_value_click_to_edit: string;
225
+ unexpected_reference_value: string;
226
+ copy_url_to_clipboard: string;
227
+ open_image_in_new_tab: string;
228
+ reference_not_set: string;
229
+ reference_does_not_exist: string;
230
+ entity_not_found: string;
231
+ file_not_found: string;
232
+ unsaved_changes_in_entity: string;
233
+ delete_this_role: string;
234
+ no_roles_yet: string;
235
+ create_default_roles: string;
236
+ delete_role_confirmation: string;
237
+ delete_this_user: string;
238
+ no_users_yet: string;
239
+ add_logged_user_as_admin: string;
240
+ add_current_user_as_admin: string;
241
+ create_default_roles_and_add_admin: string;
242
+ delete_user_confirmation: string;
243
+ create_your_users_and_roles: string;
244
+ no_users_or_roles_defined: string;
245
+ save_before_changing_schema: string;
246
+ edit_schema_for_this_form: string;
247
+ no_permissions_to_edit_collection: string;
248
+
249
+ // ─── Rename group dialog ──────────────────────────────────────
250
+ rename_group: string;
251
+ group_name_label: string;
252
+ group_name_empty_error: string;
253
+ group_name_exists_error: string;
254
+
255
+ // ─── Search ───────────────────────────────────────────────────
256
+ search_collections: string;
257
+
258
+ // ─── Navigation groups ────────────────────────────────────────
259
+ /** Default group name shown when collections/views have no explicit group */
260
+ views_group: string;
261
+
262
+ // ─── Entity Edit View ─────────────────────────────────────────
263
+ youd_need_to_save_before_additional_collections: string;
264
+
265
+ // ─── Not Found Page ───────────────────────────────────────────
266
+ page_not_found: string;
267
+ page_not_found_body: string;
268
+ back_to_home: string;
269
+
270
+ // ─── Collection Editor ─────────────────────────────────────────
271
+ default_collection_view: string;
272
+ table_view: string;
273
+ cards_view: string;
274
+ kanban_view: string;
275
+ choose_how_entities_displayed_default: string;
276
+
277
+ document_view: string;
278
+ side_panel: string;
279
+ full_screen: string;
280
+ should_documents_opened_full_screen: string;
281
+
282
+ select_custom_view: string;
283
+ no_custom_views_defined: string;
284
+ select_custom_action: string;
285
+ no_custom_actions_defined: string;
286
+
287
+ no_collections_found: string;
288
+ start_building_collections: string;
289
+ create_first_collection: string;
290
+ define_collections_programmatically: string;
291
+
292
+ edit_collection: string;
293
+ no_permissions_edit_collection: string;
294
+ no_permissions_create_collection: string;
295
+ create_collection: string;
296
+ update_collection: string;
297
+
298
+ new_collection: string;
299
+ add_new_collection: string;
300
+ collection_with_name: string;
301
+ change_icon: string;
302
+ is_subcollection_of: string;
303
+ name: string;
304
+ collection_name_description: string;
305
+ path: string;
306
+ relative_path_to_parent: string;
307
+ path_in_database: string;
308
+ singular_name: string;
309
+ singular_name_description: string;
310
+ description: string;
311
+ description_of_collection: string;
312
+ collection_id: string;
313
+ collection_id_description: string;
314
+ collection_group: string;
315
+ collection_group_description: string;
316
+ advanced_settings: string;
317
+ doc_history_global: string;
318
+ doc_history_enabled: string;
319
+ doc_history_not_enabled: string;
320
+ doc_history_description: string;
321
+ document_id_generation: string;
322
+ code_defined: string;
323
+ users_must_define_id: string;
324
+ users_can_define_id: string;
325
+ doc_id_auto_generated: string;
326
+ config_doc_id_generation: string;
327
+ enable_text_search: string;
328
+ text_search_description: string;
329
+ database_id: string;
330
+ default_text: string;
331
+
332
+ custom_actions: string;
333
+ more_info: string;
334
+ define_custom_actions_cli: string;
335
+ action_defined_in_code: string;
336
+ add_custom_entity_action: string;
337
+ remove_this_action: string;
338
+ remove_action_warning: string;
339
+
340
+ subcollections_of: string;
341
+ add_subcollection: string;
342
+ custom_views: string;
343
+ define_custom_views_cli: string;
344
+ view_defined_in_code: string;
345
+ add_custom_entity_view: string;
346
+ delete_this_subcollection: string;
347
+ remove_collection_warning: string;
348
+ remove_this_view: string;
349
+ remove_view_warning: string;
350
+
351
+ no_collection_selected: string;
352
+ code_for_collection: string;
353
+ use_config_define_json: string;
354
+ customise_collection_code: string;
355
+ copied: string;
356
+
357
+ property_cant_be_edited: string;
358
+ property_not_editable_description: string;
359
+ delete_this_property: string;
360
+ delete_property_warning: string;
361
+ error_must_specify_id: string;
362
+ error_id_format: string;
363
+ error_id_already_exists: string;
364
+ error_must_specify_title: string;
365
+ custom_or_other: string;
366
+ select_property_widget: string;
367
+ error_changing_data_type: string;
368
+ required: string;
369
+
370
+ enum_form_dialog: string;
371
+ imported_data_preview: string;
372
+ entities_with_same_id_overwritten: string;
373
+ collection_editor: string;
374
+ properties_in_this_group: string;
375
+ data_property_mapping: string;
376
+ property_edit_view: string;
377
+ all_of_these: string;
378
+ any_of_these: string;
379
+
380
+ only_admins_edit_roles: string;
381
+ error_user_not_found: string;
382
+ /** Placeholder / label for the "all roles" filter option */
383
+ all_roles: string;
384
+ role: string;
385
+ name_of_this_role: string;
386
+ id_of_this_role: string;
387
+ create_entities: string;
388
+ read_entities: string;
389
+ update_entities: string;
390
+ delete_entities: string;
391
+ all_collections: string;
392
+ create_entities_in_collections: string;
393
+ access_all_data_in_every_collection: string;
394
+ update_data_in_any_collection: string;
395
+ delete_data_in_any_collection: string;
396
+ allow_all_permissions_in_this_collections: string;
397
+ all: string;
398
+ customise_permissions_description: string;
399
+ create_collections: string;
400
+ yes: string;
401
+ no: string;
402
+ can_user_create_collections: string;
403
+ edit_collections: string;
404
+ only_own_collections: string;
405
+ own: string;
406
+ can_user_edit_collections: string;
407
+ delete_collections: string;
408
+ can_user_delete_collections: string;
409
+ error_saving_role: string;
410
+ create_role: string;
411
+ update: string;
412
+
413
+ only_admins_change_roles: string;
414
+ must_be_at_least_one_admin: string;
415
+ logged_user_not_found: string;
416
+ user: string;
417
+ user_id: string;
418
+ error_updating_asset: string;
419
+ error_deleting_asset: string;
420
+ name_of_this_user: string;
421
+ email_of_this_user: string;
422
+ roles: string;
423
+ create_user: string;
424
+
425
+ filters: string;
426
+ /** Tooltip on the record count in the collection toolbar */
427
+ records_in_view: string;
428
+ multiple_entities: string;
429
+ unsaved_changes: string;
430
+ so_empty: string;
431
+ no_results: string;
432
+ refresh_data: string;
433
+ dark_mode: string;
434
+ light_mode: string;
435
+ system_mode: string;
436
+ join_newsletter: string;
437
+ ok: string;
438
+ save_collection_config: string;
439
+ search_for_more_icons: string;
440
+ ai_modified: string;
441
+ size_label: string;
442
+ group_by: string;
443
+ initialize_kanban_order: string;
444
+
445
+ users: string;
446
+ add_user: string;
447
+ add_role: string;
448
+ is_admin: string;
449
+ default_permissions: string;
450
+ created_on: string;
451
+ email: string;
452
+ id: string;
453
+ read: string;
454
+
455
+ // data import
456
+ column_in_file: string;
457
+ map_to_property: string;
458
+ default_values: string;
459
+ default_values_description: string;
460
+ property: string;
461
+ default_value: string;
462
+ autogenerate_id: string;
463
+ id_column_description: string;
464
+ do_not_set_value: string;
465
+ set_value_to_true: string;
466
+ set_value_to_false: string;
467
+ drag_and_drop_file: string;
468
+ error_saving_data: string;
469
+ retry: string;
470
+ saving_data: string;
471
+ entities_saved: string;
472
+ do_not_close_tab: string;
473
+ import: string;
474
+ import_data: string;
475
+ upload_file_description: string;
476
+ back: string;
477
+ next: string;
478
+ save_data: string;
479
+ use_column_as_id: string;
480
+ do_not_import_property: string;
481
+ entities_will_be_overwritten: string;
482
+ data_imported_successfully: string;
483
+
484
+ // data export
485
+ export: string;
486
+ export_data: string;
487
+ download_table_csv: string;
488
+ csv: string;
489
+ json: string;
490
+ dates_as_timestamps: string;
491
+ dates_as_strings: string;
492
+ flatten_arrays: string;
493
+ download: string;
494
+ large_number_of_documents: string;
495
+ too_many_documents_to_export: string;
496
+ include_undefined_values: string;
497
+ submit: string;
498
+
499
+ no_filterable_properties: string;
500
+ apply_filters: string;
501
+
502
+ // ─── Filter Presets ──────────────────────────────────────────
503
+ /** Label shown on the filter presets dropdown trigger */
504
+ filter_presets?: string;
505
+ /** Tooltip shown when hovering over a preset entry */
506
+ filter_preset_apply?: string;
507
+ /** Shown when a preset is active, with {{label}} interpolation */
508
+ filter_preset_active?: string;
509
+
510
+ list: string;
511
+ table_view_mode: string;
512
+ cards: string;
513
+ board: string;
514
+ initialize_kanban_order_desc: string;
515
+ kanban_view_not_available: string;
516
+ kanban_view_requires_enum: string;
517
+ no_enum_values_configured: string;
518
+ items_need_backfill: string;
519
+ kanban_order_not_configured: string;
520
+ initialize: string;
521
+ confirm_multiple_delete: string;
522
+ delete_entity_confirm_title: string;
523
+ /**
524
+ * Confirmation for the destructive action on a tab whose rows are shared
525
+ * through a junction. The row is not deleted — the parent's link to it is —
526
+ * so this copy must not promise deletion.
527
+ */
528
+ /** Attach a row that already exists to this parent, on a junction-backed tab. */
529
+ add_existing: string;
530
+ unlink_entity_confirm_title: string;
531
+ unlink_entity_confirm_body: string;
532
+ confirm_multiple_unlink: string;
533
+
534
+ no_filter: string;
535
+ is_true: string;
536
+ is_false: string;
537
+ error_uploading_file_size: string;
538
+ error_uploading_file_type: string;
539
+ drag_drop_files: string;
540
+ drag_drop_file: string;
541
+
542
+ multiple_deleted: string;
543
+ some_entities_deleted: string;
544
+ error_deleting_entities: string;
545
+ deleted: string;
546
+
547
+ select_reference: string;
548
+ select_references: string;
549
+ account_settings?: string;
550
+ profile?: string;
551
+ sessions?: string;
552
+ security?: string;
553
+ change_password?: string;
554
+ current_password?: string;
555
+ new_password?: string;
556
+ confirm_password?: string;
557
+ password_changed?: string;
558
+ passwords_dont_match?: string;
559
+ password_too_short?: string;
560
+ password_change_not_available?: string;
561
+ changing_password?: string;
562
+ display_name?: string;
563
+ photo_url?: string;
564
+ save_profile?: string;
565
+ saving?: string;
566
+ no_active_sessions?: string;
567
+ revoking?: string;
568
+ revoke_all_sessions?: string;
569
+ unknown_device?: string;
570
+ current?: string;
571
+ role_id: string;
572
+ role_name: string;
573
+ add_reference: string;
574
+ add_reference_to: string;
575
+
576
+ /** RolesView — table & permissions */
577
+ role_deleted_successfully: string;
578
+ error_deleting_role: string;
579
+ collection_permissions: string;
580
+ collection: string;
581
+ no_collections_configured: string;
582
+ no_security_rules_defined: string;
583
+ no_rules: string;
584
+
585
+ /** UsersView — snackbar */
586
+ bootstrap_admin_success: string;
587
+ failed_to_bootstrap_admin: string;
588
+ user_deleted_successfully: string;
589
+ error_deleting_user: string;
590
+ user_created_successfully?: string;
591
+ invitation_sent?: string;
592
+ invitation_sent_title?: string;
593
+ temporary_password?: string;
594
+ temporary_password_description?: string;
595
+ temporary_password_email_failed_description?: string;
596
+ copy_password?: string;
597
+ password_copied?: string;
598
+
599
+ /** UsersView — pagination & search */
600
+ search_users?: string;
601
+ created?: string;
602
+ actions?: string;
603
+ no_users_found?: string;
604
+ reset_password?: string;
605
+ reset_password_success?: string;
606
+ reset_password_confirmation?: string;
607
+ reset_password_send_email?: string;
608
+ reset_password_set_manually?: string;
609
+ reset_password_set_manually_description?: string;
610
+ error_resetting_password?: string;
611
+
612
+ /** Permission-denied empty states */
613
+ no_permission_to_view_users?: string;
614
+ no_permission_to_view_roles?: string;
615
+ no_permission_description?: string;
616
+
617
+ /** Editor table-bubble */
618
+ add_row_before: string;
619
+ add_row_after: string;
620
+ delete_row: string;
621
+ add_column_before: string;
622
+ add_column_after: string;
623
+ delete_column: string;
624
+ delete_table: string;
625
+
626
+ /** Editor image-bubble */
627
+ alt_text: string;
628
+ title: string;
629
+
630
+ /** MapFieldBinding */
631
+ a_property_of_this_map_has_error: string;
632
+
633
+ /** AI Collection Generator Popover */
634
+ generate_collection_with_ai: string;
635
+ modify_collection_with_ai: string;
636
+ describe_collection_to_create: string;
637
+ describe_changes_to_make: string;
638
+ ai_placeholder_create: string;
639
+ ai_placeholder_modify: string;
640
+ ai_assist: string;
641
+ generating: string;
642
+
643
+ /** Recently extracted strings for collection editor */
644
+ this_is_subcollection_of: string;
645
+ use_existing_paths_database: string;
646
+ describe_collection_ai: string;
647
+ generate_with_ai: string;
648
+ create_from_json_config: string;
649
+ paste_json_config: string;
650
+ create_collection_from_file_formats: string;
651
+ select_template: string;
652
+ products: string;
653
+ collection_products_subtitle: string;
654
+ collection_users_subtitle: string;
655
+ blog_posts: string;
656
+ collection_blog_posts_subtitle: string;
657
+ pages: string;
658
+ collection_pages_subtitle: string;
659
+ continue_from_scratch: string;
660
+
661
+ /** Admin views config */
662
+ admin_users: string;
663
+ roles_menu: string;
664
+ project_settings: string;
665
+
666
+ // ─── Auth ────────────────────────────────────────────────────
667
+ by_signing_in_you_agree_to_our: string;
668
+ terms_and_conditions: string;
669
+ and_our: string;
670
+ privacy_policy: string;
671
+ email_password: string;
672
+ sign_in_with_google: string;
673
+
674
+ // --- Auth error messages ---
675
+ auth_user_not_found: string;
676
+ auth_wrong_password: string;
677
+ auth_user_disabled: string;
678
+ auth_account_exists_with_different_credential: string;
679
+ auth_email_already_in_use: string;
680
+ auth_google_permissions_required: string;
681
+ auth_invalid_email_password: string;
682
+ auth_enter_email_first: string;
683
+ auth_password_reset_sent: string;
684
+ auth_sign_in_account: string;
685
+ auth_create_new_account: string;
686
+ auth_password: string;
687
+ auth_reset_password: string;
688
+ auth_new_user: string;
689
+ auth_have_account: string;
690
+ auth_sign_in: string;
691
+ auth_sign_up: string;
692
+
693
+ auto_setup_collections_button: string;
694
+ auto_setup_collections_title: string;
695
+ auto_setup_collections_desc: string;
696
+ this_can_take_a_minute: string;
697
+ no_collections_found_to_setup: string;
698
+ collections_have_been_setup: string;
699
+ error_setting_up_collections: string;
700
+
701
+ // --- Home ---
702
+ add_your: string;
703
+ database_collections: string;
704
+ no_unmapped_collections: string;
705
+
706
+ // --- Welcome ---
707
+ welcome_to_rebase: string;
708
+ admin_panel_ready_bring_data: string;
709
+ admin_panel_ready_get_started: string;
710
+ auto_detect_collections: string;
711
+ auto_detect_collections_desc: string;
712
+ create_a_collection: string;
713
+ create_collection_desc: string;
714
+ read_the_docs: string;
715
+ read_the_docs_desc: string;
716
+ explore_docs: string;
717
+ want_to_customize_with_code: string;
718
+ to_scaffold_a_local_project: string;
719
+
720
+ // ─── Collection Editor — Validation ──────────────────────────
721
+ validation: string;
722
+ unique: string;
723
+ required_message: string;
724
+ required_tooltip: string;
725
+ unique_tooltip: string;
726
+ lowercase: string;
727
+ uppercase: string;
728
+ trim: string;
729
+ exact_length: string;
730
+ min_length: string;
731
+ max_length: string;
732
+ matches_regex: string;
733
+ not_valid_regexp: string;
734
+ regex_helper: string;
735
+ min_value: string;
736
+ max_value: string;
737
+ less_than: string;
738
+ more_than: string;
739
+ positive_value: string;
740
+ negative_value: string;
741
+ integer_value: string;
742
+
743
+ // ─── Collection Editor — Property Edit ───────────────────────
744
+ invalid_regular_expression: string;
745
+ must_specify_target_collection: string;
746
+ need_specify_repeat_field: string;
747
+ need_specify_block_properties: string;
748
+ incomplete_condition: string;
749
+ field_name: string;
750
+
751
+ // ─── Collection Editor — Display & Config ────────────────────
752
+ kanban_column_property: string;
753
+ select_a_property: string;
754
+ kanban_property_not_found: string;
755
+ no_enum_string_properties: string;
756
+ kanban_column_description: string;
757
+ create_property: string;
758
+ order_property: string;
759
+ order_property_not_found: string;
760
+ no_number_properties: string;
761
+ order_property_description: string;
762
+ display_settings: string;
763
+ default_row_size: string;
764
+ side_dialog_width: string;
765
+ side_dialog_width_description: string;
766
+ inline_editing_enabled: string;
767
+ inline_editing_disabled: string;
768
+ inline_editing_description: string;
769
+ include_json_view: string;
770
+ no_json_view: string;
771
+ json_view_description: string;
772
+ not_found_suffix: string;
773
+
774
+ // ─── Editor ─────────────────────────────────────────────────
775
+ editor_text: string;
776
+ editor_text_description: string;
777
+ editor_heading_1: string;
778
+ editor_heading_1_description: string;
779
+ editor_heading_2: string;
780
+ editor_heading_2_description: string;
781
+ editor_heading_3: string;
782
+ editor_heading_3_description: string;
783
+ editor_todo_list: string;
784
+ editor_todo_list_description: string;
785
+ editor_bullet_list: string;
786
+ editor_bullet_list_description: string;
787
+ editor_numbered_list: string;
788
+ editor_numbered_list_description: string;
789
+ editor_quote: string;
790
+ editor_quote_description: string;
791
+ editor_code: string;
792
+ editor_code_description: string;
793
+ editor_image: string;
794
+ editor_image_description: string;
795
+ editor_multiple: string;
796
+ editor_link: string;
797
+ editor_save: string;
798
+ editor_cancel: string;
799
+ editor_remove_link: string;
800
+ editor_paste_or_type_link: string;
801
+ editor_open_in_new_window: string;
802
+ editor_bold: string;
803
+ editor_italic: string;
804
+ editor_underline: string;
805
+ editor_strikethrough: string;
806
+ editor_autocomplete: string;
807
+ editor_autocomplete_description: string;
808
+
809
+ // ─── Text Search Dialog ─────────────────────────────────────
810
+ text_search_dialog_title: string;
811
+ text_search_local_not_recommended: string;
812
+ text_search_local_fetch_warning: string;
813
+ text_search_external_suggestion: string;
814
+ text_search_local_description: string;
815
+ text_search_own_implementation: string;
816
+ text_search_enable_for_collection: string;
817
+ text_search_enable_for_project: string;
818
+ text_search_enabled_snackbar: string;
819
+
820
+ // ─── Settings ────────────────────────────────────────────────
821
+ settings_heading: string;
822
+ settings_project_name: string;
823
+ settings_default_language: string;
824
+ settings_default_language_caption: string;
825
+ settings_enable_local_text_search: string;
826
+ settings_local_text_search_caption: string;
827
+ settings_doc_history_all_collections: string;
828
+ settings_doc_history_caption: string;
829
+ settings_theme: string;
830
+ settings_primary_color: string;
831
+ settings_secondary_color: string;
832
+ settings_sample_theme_components: string;
833
+ settings_drag_drop_logo: string;
834
+ settings_security_rules: string;
835
+ settings_security_rules_description: string;
836
+ settings_security_rules_add_domain: string;
837
+ settings_security_rules_caption: string;
838
+
839
+ // ─── Studio: SQL Editor ─────────────────────────────────────
840
+ studio_sql_executing_query?: string;
841
+ studio_sql_query_error?: string;
842
+ studio_sql_run_query_placeholder?: string;
843
+ studio_sql_visual_execution_plan?: string;
844
+ studio_sql_success?: string;
845
+ studio_sql_no_results?: string;
846
+ studio_sql_rows?: string;
847
+ studio_sql_time?: string;
848
+ studio_sql_copy_markdown?: string;
849
+ studio_sql_export_json?: string;
850
+ studio_sql_export_csv?: string;
851
+ studio_sql_format_sql?: string;
852
+ studio_sql_explain?: string;
853
+ studio_sql_limit_1000: string;
854
+ studio_sql_remove_from_favorites?: string;
855
+ studio_sql_add_to_favorites?: string;
856
+ studio_sql_save?: string;
857
+ studio_sql_run?: string;
858
+ studio_sql_database?: string;
859
+ studio_sql_role?: string;
860
+ studio_sql_admin?: string;
861
+ studio_sql_select_db?: string;
862
+ studio_sql_query_results?: string;
863
+ studio_sql_save_snippet?: string;
864
+ studio_sql_snippet_name?: string;
865
+ studio_sql_snippet_name_placeholder?: string;
866
+ studio_sql_snippet_saved_local?: string;
867
+ studio_sql_cancel?: string;
868
+ studio_sql_dangerous_operation?: string;
869
+ studio_sql_dangerous_operation_body?: string;
870
+ studio_sql_snippet_saved?: string;
871
+ studio_sql_markdown_copied?: string;
872
+ studio_sql_markdown_copy_failed?: string;
873
+ studio_sql_row_updated?: string;
874
+ studio_sql_cannot_edit_missing_query?: string;
875
+ studio_sql_cannot_resolve_table?: string;
876
+ studio_sql_missing_pk?: string;
877
+ studio_sql_update_failed?: string;
878
+ studio_sql_execution_not_supported?: string;
879
+ studio_sql_error_executing?: string;
880
+ studio_sql_error_explaining?: string;
881
+ studio_sql_save_first_to_favorite?: string;
882
+ studio_sql_collections_label?: string;
883
+ studio_sql_admin_collections_tooltip?: string;
884
+ studio_sql_edit_entity?: string;
885
+ studio_sql_sql_not_supported?: string;
886
+ studio_sql_fetch_error?: string;
887
+ studio_sql_unexpected_format?: string;
888
+ studio_sql_no_tables?: string;
889
+ studio_sql_schema_fetch_error?: string;
890
+
891
+ // ─── Studio: SQL Editor Sidebar ──────────────────────────────
892
+ studio_sql_sidebar_snippets?: string;
893
+ studio_sql_sidebar_history?: string;
894
+ studio_sql_sidebar_schema?: string;
895
+ studio_sql_sidebar_no_snippets?: string;
896
+ studio_sql_sidebar_save_snippet_hint?: string;
897
+ studio_sql_sidebar_no_history?: string;
898
+ studio_sql_sidebar_history_hint?: string;
899
+ studio_sql_sidebar_delete_snippet?: string;
900
+
901
+ // ─── Studio: Schema Browser ──────────────────────────────────
902
+ studio_schema_tables?: string;
903
+ studio_schema_loading?: string;
904
+ studio_schema_no_tables?: string;
905
+ studio_schema_retry?: string;
906
+ studio_schema_primary_key?: string;
907
+ studio_schema_select_all?: string;
908
+ studio_schema_insert_into?: string;
909
+ studio_schema_update?: string;
910
+ studio_schema_delete_from?: string;
911
+ studio_schema_columns?: string;
912
+
913
+ // ─── Studio: RLS Editor ──────────────────────────────────────
914
+ studio_rls_title?: string;
915
+ studio_rls_description?: string;
916
+ studio_rls_enabled?: string;
917
+ studio_rls_disabled?: string;
918
+ studio_rls_no_rls?: string;
919
+ studio_rls_enable_rls?: string;
920
+ studio_rls_disable_rls?: string;
921
+ studio_rls_create_policy?: string;
922
+ studio_rls_policies?: string;
923
+ studio_rls_no_policies?: string;
924
+ studio_rls_no_policies_desc?: string;
925
+ studio_rls_add_first_policy?: string;
926
+ studio_rls_force_rls?: string;
927
+ studio_rls_force_rls_desc?: string;
928
+ studio_rls_enable_force_rls?: string;
929
+ studio_rls_disable_force_rls?: string;
930
+ studio_rls_edit?: string;
931
+ studio_rls_delete?: string;
932
+ studio_rls_confirm_delete_title?: string;
933
+ studio_rls_confirm_delete_body?: string;
934
+ studio_rls_confirm_enable_title?: string;
935
+ studio_rls_confirm_enable_body?: string;
936
+ studio_rls_confirm_disable_title?: string;
937
+ studio_rls_confirm_disable_body?: string;
938
+ studio_rls_select_table?: string;
939
+ studio_rls_no_tables?: string;
940
+ studio_rls_error?: string;
941
+ studio_rls_retry?: string;
942
+ studio_rls_loading?: string;
943
+
944
+ // ─── Studio: Policy Editor ───────────────────────────────────
945
+ studio_policy_edit?: string;
946
+ studio_policy_create?: string;
947
+ studio_policy_defining_rules?: string;
948
+ studio_policy_cancel?: string;
949
+ studio_policy_save?: string;
950
+ studio_policy_template?: string;
951
+ studio_policy_select_template?: string;
952
+ studio_policy_name?: string;
953
+ studio_policy_name_placeholder?: string;
954
+ studio_policy_behavior?: string;
955
+ studio_policy_permissive?: string;
956
+ studio_policy_permissive_desc?: string;
957
+ studio_policy_restrictive?: string;
958
+ studio_policy_restrictive_desc?: string;
959
+ studio_policy_command?: string;
960
+ studio_policy_target_roles?: string;
961
+ studio_policy_roles_placeholder?: string;
962
+ studio_policy_using_expr?: string;
963
+ studio_policy_using_expr_desc?: string;
964
+ studio_policy_check_expr?: string;
965
+ studio_policy_check_expr_desc?: string;
966
+ studio_policy_help_title?: string;
967
+ studio_policy_help_intro?: string;
968
+ studio_policy_help_step1_title: string;
969
+ studio_policy_help_step1_desc: string;
970
+ studio_policy_help_step2_title: string;
971
+ studio_policy_help_step2_desc: string;
972
+ studio_policy_help_role_public?: string;
973
+ studio_policy_help_role_authenticated?: string;
974
+ studio_policy_help_role_anon?: string;
975
+ studio_policy_help_step3_title: string;
976
+ studio_policy_help_step3_desc: string;
977
+ studio_policy_help_step3_example: string;
978
+ studio_policy_help_step4_title: string;
979
+ studio_policy_help_step4_desc: string;
980
+ studio_policy_help_step4_example: string;
981
+ studio_policy_help_auth_vars_title?: string;
982
+ studio_policy_help_auth_vars_desc?: string;
983
+ studio_policy_help_auth_uid?: string;
984
+ studio_policy_help_auth_jwt?: string;
985
+ studio_policy_help_auth_roles?: string;
986
+ studio_policy_help_docs_cta?: string;
987
+ studio_policy_help_read_docs?: string;
988
+ studio_policy_help_got_it?: string;
989
+
990
+ // ─── Studio: UI Actions ──────────────────────────────────────
991
+ studio_add_kanban_column?: string;
992
+ studio_add_kanban_column_title?: string;
993
+ studio_add_kanban_column_name?: string;
994
+ studio_add_kanban_column_name_placeholder?: string;
995
+ studio_add_kanban_column_add?: string;
996
+ studio_add_kanban_column_cancel?: string;
997
+ studio_collection_view_sql?: string;
998
+ studio_collection_view_admin?: string;
999
+ studio_editor_collection_tooltip?: string;
1000
+ studio_editor_collection_no_permission?: string;
1001
+ studio_editor_collection_start_tooltip?: string;
1002
+ studio_editor_collection_start_no_permission?: string;
1003
+ studio_editor_collection_start_copied?: string;
1004
+ studio_editor_entity_tooltip?: string;
1005
+ studio_editor_entity_no_permission?: string;
1006
+ studio_home_edit_collection?: string;
1007
+ studio_home_delete_collection?: string;
1008
+ studio_home_confirm_delete_title?: string;
1009
+ studio_home_confirm_delete_body?: string;
1010
+ studio_kanban_setup?: string;
1011
+ studio_missing_reference?: string;
1012
+ studio_missing_reference_create?: string;
1013
+ studio_new_collection?: string;
1014
+ studio_new_collection_card?: string;
1015
+ studio_new_collection_no_permission?: string;
1016
+ studio_property_add_column?: string;
1017
+ studio_property_add_column_no_permission?: string;
1018
+ studio_add_kanban_column_desc?: string;
1019
+ studio_add_kanban_column_adding?: string;
1020
+ studio_collection_view_edit?: string;
1021
+ studio_editor_collection_disabled?: string;
1022
+ studio_editor_collection_edit?: string;
1023
+ studio_editor_entity_save_first?: string;
1024
+ studio_editor_entity_edit_schema?: string;
1025
+ studio_editor_collection_start_save_filter?: string;
1026
+ studio_editor_collection_start_clear_filter?: string;
1027
+ studio_editor_collection_start_reset_filter?: string;
1028
+ studio_editor_collection_start_saved?: string;
1029
+ studio_home_duplicate_collection?: string;
1030
+ studio_home_delete?: string;
1031
+ studio_home_confirm_delete_no_data?: string;
1032
+ studio_home_collection_deleted?: string;
1033
+ studio_kanban_configure?: string;
1034
+ studio_missing_reference_error?: string;
1035
+ studio_new_collection_add?: string;
1036
+
1037
+ // ─── Property field labels ──────────────────────────────────
1038
+ db_column_type?: string;
1039
+ primary_key_unique_id?: string;
1040
+ spread_children_as_columns?: string;
1041
+ mode?: string;
1042
+ timezone?: string;
1043
+ target_collection?: string;
1044
+
1045
+ // ─── Storage property ───────────────────────────────────────
1046
+ storage_file_name?: string;
1047
+ storage_path?: string;
1048
+ storage_max_size?: string;
1049
+ storage_resize_mode?: string;
1050
+ storage_output_format?: string;
1051
+ storage_max_width?: string;
1052
+ storage_max_height?: string;
1053
+ storage_quality?: string;
1054
+ storage_file_upload_config?: string;
1055
+ storage_image_resize_config?: string;
1056
+ storage_all_file_types?: string;
1057
+ storage_allowed_file_types?: string;
1058
+ storage_include_bucket_url?: string;
1059
+ storage_save_url?: string;
1060
+
1061
+ // ─── DateTime property ──────────────────────────────────────
1062
+ datetime_automatic_value?: string;
1063
+
1064
+ // ─── Markdown property ──────────────────────────────────────
1065
+ markdown_paste_behavior?: string;
1066
+ markdown_strip_html?: string;
1067
+ markdown_convert_pasted?: string;
1068
+
1069
+ // ─── Entity identity bar and inspector ──────────────────────
1070
+ /** Save state shown in the entity header once a record has no pending edits */
1071
+ entity_saved?: string;
1072
+ /** Overflow menu button in the entity header */
1073
+ more_actions?: string;
1074
+ /** Overflow menu entry opening the revision history */
1075
+ record_history?: string;
1076
+ /** Overflow menu entry opening the raw values panel */
1077
+ inspect_record?: string;
1078
+ /** Title of the panel holding the raw values and the revision history */
1079
+ inspect?: string;
1080
+ /** Close button of that panel */
1081
+ close_inspector?: string;
1082
+ /** Overflow menu entry opening this record on the live site */
1083
+ open_in_live_site?: string;
1084
+
1085
+ // ─── Revision history ───────────────────────────────────────
1086
+ /** Tooltip on the revert button of a revision */
1087
+ history_revert?: string;
1088
+ /** Confirmation title before reverting */
1089
+ history_revert_title?: string;
1090
+ /** Snackbar after a successful revert */
1091
+ history_reverted?: string;
1092
+ /** Snackbar when the revert fails */
1093
+ history_revert_error?: string;
1094
+ /** Refused because the form has unsaved edits */
1095
+ history_revert_dirty?: string;
1096
+ /** Empty state of the history panel */
1097
+ history_empty?: string;
1098
+ /** Explains what fills the history panel */
1099
+ history_empty_description?: string;
1100
+ /** History is meaningless for a record that does not exist yet */
1101
+ history_new_entity?: string;
1102
+ /** End of the paginated revision list */
1103
+ history_no_more?: string;
1104
+ }