Repository navigation
Expand file tree
/
Copy pathen.objects.generated.ts
More file actions
413 lines (410 loc) · 12.6 KB
/
Copy pathen.objects.generated.ts
File metadata and controls
413 lines (410 loc) · 12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
/**
* Auto-generated by 'os i18n extract' for locale 'en'.
* Edit translations in place; re-run extract (with --merge) to fill new gaps.
* Do not hand-edit the structure — only the leaf string values.
* Merge only fills gaps: correcting a source label/description does not
* push the correction into a leaf here that already holds a translation —
* a present-but-stale string is not a gap, so it is left as-is. Re-translate
* it by hand when its source changes; nothing here or in `os i18n check`
* tells a leaf a translator updated on purpose from one nobody has looked
* at since the source moved.
*/
import type { TranslationData } from '@objectstack/spec/system';
export const enObjects: NonNullable<TranslationData['objects']> = {
sys_record_share: {
label: "Record Share",
pluralLabel: "Record Shares",
description: "Records shared beyond their owner, one row per grant.",
fields: {
id: {
label: "Share ID"
},
object_name: {
label: "Object",
help: "Short object name of the shared record"
},
record_id: {
label: "Record",
help: "Primary key of the shared record within object_name"
},
recipient_type: {
label: "Recipient Type",
help: "Kind of principal that holds the grant",
options: {
user: "User",
group: "Group",
position: "Position",
unit_and_subordinates: "Business unit and subordinates"
}
},
recipient_id: {
label: "Recipient",
help: "ID of the user/group/position that receives access"
},
access_level: {
label: "Access Level",
help: "What the recipient can do — read, or read and edit",
options: {
read: "Read",
edit: "Read and edit"
}
},
source: {
label: "Source",
help: "Why this grant exists — used by the rule evaluator to reconcile",
options: {
manual: "manual",
rule: "rule",
team: "team",
inherited: "inherited"
}
},
source_id: {
label: "Source ID",
help: "Rule name / team id when source != manual"
},
granted_by: {
label: "Granted By",
help: "User that created the grant (manual only)"
},
reason: {
label: "Reason",
help: "Optional free-text explanation surfaced to the recipient"
},
created_at: {
label: "Created At"
},
updated_at: {
label: "Updated At"
}
},
_views: {
all_shares: {
label: "All"
},
granted_to_me: {
label: "Granted to Me"
},
granted_by_me: {
label: "Granted by Me"
},
by_object: {
label: "By Object"
},
manual_grants: {
label: "Manual Grants"
},
rule_grants: {
label: "Rule Grants"
}
}
},
sys_sharing_rule: {
label: "Sharing Rule",
pluralLabel: "Sharing Rules",
description: "Grants a group of people access to the records that match a condition.",
fields: {
id: {
label: "Rule ID"
},
organization_id: {
label: "Organization",
help: "The organization this rule belongs to."
},
name: {
label: "Name",
help: "Identifies the rule. Lowercase letters, digits and underscores only."
},
label: {
label: "Display Label"
},
description: {
label: "Description"
},
object_name: {
label: "Object",
help: "The object whose records this rule shares."
},
criteria_json: {
label: "Criteria",
help: "Which records to share. Required — a rule must narrow the records it shares, so there is no \"share every record\" setting."
},
recipient_type: {
label: "Recipient Type",
help: "Who receives access. Picking a team, business unit, position or queue gives access to everyone in it. \"Business unit and subordinates\" also covers every unit below the one you pick. \"Field\" shares each record with the user or users held in one of its own fields — name that field as the recipient.",
options: {
user: "User",
team: "Team",
business_unit: "Business unit",
position: "Position",
unit_and_subordinates: "Business unit and subordinates",
queue: "Queue",
field: "Field"
}
},
recipient_id: {
label: "Recipient",
help: "The specific user, team, business unit, position or queue that receives access — or, for the \"Field\" recipient type, the name of the record field that holds the user or users to share with."
},
access_level: {
label: "Access Level",
help: "What the recipients may do with the matching records — read them, or read and edit them.",
options: {
read: "Read",
edit: "Read and edit"
}
},
active: {
label: "Active",
help: "Turn off to withdraw the access this rule granted, without deleting the rule."
},
managed_by: {
label: "Managed By",
help: "Where this rule came from: built into the platform, installed with an app, or created here in Setup.",
options: {
platform: "Platform",
package: "Package",
admin: "Admin"
}
},
customized: {
label: "Customized",
help: "Set once you edit a rule that came with an app, so your changes are kept when the app is updated."
},
created_at: {
label: "Created At"
},
updated_at: {
label: "Updated At"
}
},
_views: {
active: {
label: "Active"
},
inactive: {
label: "Inactive"
},
by_object: {
label: "By Object"
},
all_rules: {
label: "All"
}
}
},
sys_share_link: {
label: "Share Link",
pluralLabel: "Share Links",
description: "Opaque capability token granting access to a single record. Notion/Figma-style public link sharing.",
fields: {
id: {
label: "Link ID"
},
token: {
label: "Token",
help: "Opaque URL-safe random token (≥ 22 chars). The only secret in this row."
},
object_name: {
label: "Object",
help: "Short object name of the shared record (e.g. ai_conversation, contracts_contract)"
},
record_id: {
label: "Record",
help: "Primary key of the shared record within object_name"
},
permission: {
label: "Permission",
help: "What the link holder can do with the record",
options: {
view: "View",
comment: "Comment",
edit: "Edit"
}
},
audience: {
label: "Audience",
help: "Gating layer applied on top of the token check",
options: {
public: "Public (indexable)",
link_only: "Anyone with the link",
signed_in: "Signed-in users",
email: "Specific emails"
}
},
expires_at: {
label: "Expires At",
help: "When set, resolveToken returns null after this timestamp"
},
email_allowlist: {
label: "Email Allowlist",
help: "Lowercased addresses checked when audience=email"
},
password_hash: {
label: "Password Hash",
help: "Argon2/bcrypt hash. When set, the UI prompts for a password before rendering."
},
redact_fields: {
label: "Per-Link Redactions",
help: "Extra fields stripped from the response, on top of the object-default set"
},
label: {
label: "Label",
help: "Free-text shown in the share dialog (e.g. \"ACME Q3 contract\")"
},
revoked_at: {
label: "Revoked At",
help: "When set, the link is permanently disabled"
},
created_by: {
label: "Created By",
help: "Issuer of the link"
},
created_at: {
label: "Created At"
},
last_used_at: {
label: "Last Used At",
help: "Stamped by resolveToken; used by the dashboard to highlight active links"
},
use_count: {
label: "Use Count",
help: "Incremented by resolveToken on every successful resolution"
}
},
_views: {
active_links: {
label: "Active"
},
by_me: {
label: "Created by Me"
},
revoked: {
label: "Revoked"
},
all_links: {
label: "All"
}
}
},
sys_queue: {
label: "Queue",
pluralLabel: "Queues",
description: "A named group of people that unassigned records can wait in until one of them takes the record.",
fields: {
name: {
label: "Name",
help: "Identifies the queue everywhere it is used — on records, in assignment rules, approvals and sharing rules. Lowercase letters, digits and underscores only."
},
label: {
label: "Display Label"
},
description: {
label: "Description"
}
},
_views: {
all_queues: {
label: "All"
}
}
},
sys_queue_member: {
label: "Queue Member",
pluralLabel: "Queue Members",
description: "Who belongs to a queue: a user, a team, a position or a business unit.",
fields: {
queue: {
label: "Queue",
help: "The name of the queue this member belongs to."
},
recipient_type: {
label: "Member Type",
help: "What kind of member this is. A team, position or business unit makes everyone in it a member. \"Business unit and subordinates\" also covers every unit below the one you pick.",
options: {
user: "User",
team: "Team",
position: "Position",
business_unit: "Business unit",
unit_and_subordinates: "Business unit and subordinates"
}
},
recipient_id: {
label: "Member",
help: "The specific user, team, position or business unit."
}
},
_views: {
by_queue: {
label: "By Queue"
}
}
},
sys_assignment_rule: {
label: "Assignment Rule",
pluralLabel: "Assignment Rules",
description: "Sends each new record that matches a condition to a queue or a person.",
fields: {
organization_id: {
label: "Organization",
help: "The organization this rule belongs to."
},
name: {
label: "Name",
help: "Identifies the rule. Lowercase letters, digits and underscores only, and not the name of a rule an installed app provides."
},
label: {
label: "Display Label"
},
description: {
label: "Description"
},
object_name: {
label: "Object",
help: "The object whose new records this rule sends somewhere. Only objects whose records have an owner can be assigned."
},
criteria: {
label: "Condition",
help: "Which new records this rule takes; leave it empty to take every new record that no earlier rule took. Written as an expression over the record — for example record.priority == \"high\"."
},
sort_order: {
label: "Order",
help: "When several of your rules could take the same record, the one with the lowest order is tried first. Your rules are always tried before the rules installed apps provide."
},
recipient_type: {
label: "Assign To",
help: "Send the record to a queue, where its members can take it, or straight to one person.",
options: {
queue: "Queue",
user: "User"
}
},
recipient_id: {
label: "Queue or User",
help: "The queue, or the person, the record goes to. A person must be an active member of this organization."
},
strategy: {
label: "Pick a Member",
help: "For a queue: give the record straight to one member, taking turns or choosing whoever has the least open work. Leave it empty to leave the record in the queue until a member takes it.",
options: {
round_robin: "Round robin",
least_loaded: "Least loaded"
}
},
load: {
label: "Open Work",
help: "Required for \"Least loaded\": which records count as a member's open work, written as an expression over the record — for example record.status != \"closed\"."
},
active: {
label: "Active",
help: "Turn off to stop this rule from assigning new records, without deleting it."
}
},
_views: {
by_object: {
label: "By Object"
}
}
}
};