@fabrika/control-contract 0.9.0-dev.1 → 0.9.0-dev.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/control-contract",
3
- "version": "0.9.0-dev.1",
3
+ "version": "0.9.0-dev.11",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,12 +11,13 @@
11
11
  "access": "public"
12
12
  },
13
13
  "files": [
14
- "src"
14
+ "src",
15
+ "types"
15
16
  ],
16
17
  "exports": {
17
18
  ".": {
18
19
  "bun": "./src/index.ts",
19
- "types": "./src/index.ts",
20
+ "types": "./types/src/index.d.ts",
20
21
  "default": "./src/index.ts"
21
22
  }
22
23
  },
@@ -25,8 +26,8 @@
25
26
  },
26
27
  "dependencies": {
27
28
  "zod": "^3.25.76",
28
- "@fabrika/auth-core": "0.9.0-dev.1",
29
- "@fabrika/app": "0.9.0-dev.1",
30
- "@fabrika/provider-contract": "0.9.0-dev.1"
29
+ "@fabrika/auth-core": "0.9.0-dev.11",
30
+ "@fabrika/app": "0.9.0-dev.11",
31
+ "@fabrika/provider-contract": "0.9.0-dev.11"
31
32
  }
32
33
  }
package/src/access.ts CHANGED
@@ -45,6 +45,18 @@ export const CONTROL_ACTIONS = Object.freeze({
45
45
  MAIL_CONTENT_READ: 'mail.content.read',
46
46
  /** Release or drop a held message, requeue a final one, and change the gate's rules. Global. */
47
47
  MAIL_MANAGE: 'mail.manage',
48
+ /**
49
+ * Read an application environment's data as a metadata projection: sizes, counts, state and the backup list
50
+ * (ADR-0069 §2). Scoped by app/environment.
51
+ */
52
+ DATA_READ: 'data.read',
53
+ /**
54
+ * Read row contents, exports, backup downloads and content fields of every tenant of an environment. Checked as a
55
+ * global grant only, so a grant scoped to an app never carries it: content is for the installation's operators.
56
+ */
57
+ DATA_CONTENT_READ: 'data.content.read',
58
+ /** Run maintenance transitions, backups and restores, and recover an interrupted operation. Scoped by app/environment. */
59
+ DATA_MANAGE: 'data.manage',
48
60
  })
49
61
 
50
62
  /**
@@ -0,0 +1,265 @@
1
+ // How the approval page shows one access change (ADR-0050 §7): the classification's facts grouped by who reaches an
2
+ // endpoint and by what else they are about, one row per subject with all its lines, ranked by effect, review and
3
+ // reach, and quiet subjects that changed alike folded into one row. Pure, and it decides nothing: whether a run waits is
4
+ // the classification's outcome alone.
5
+
6
+ import {
7
+ type AccessChangeDto,
8
+ CHANGE_SUBJECT_KINDS,
9
+ type ChangeAudienceDto,
10
+ type ChangeSubjectDto,
11
+ type ChangeSubjectKind,
12
+ SURFACE_REACHES,
13
+ type SurfaceReach,
14
+ } from './index.js'
15
+
16
+ /** The endpoints of one caller group: everyone a reach admits, or the holders of one link mount's share links. */
17
+ export interface CallerGroup {
18
+ readonly kind: 'caller'
19
+ readonly key: string
20
+ readonly reach: SurfaceReach
21
+ readonly mount?: string
22
+ }
23
+
24
+ /** The lines about one kind of subject other than an endpoint: tables, roles, migrations, the application. */
25
+ export interface SubjectGroup {
26
+ readonly kind: 'subject'
27
+ readonly key: string
28
+ readonly subject: ChangeSubjectKind
29
+ }
30
+
31
+ /** One subject and its lines, most important first. */
32
+ export interface SubjectRow {
33
+ readonly kind: 'subject'
34
+ readonly subject: ChangeSubjectDto
35
+ readonly audience?: ChangeAudienceDto
36
+ readonly changes: readonly AccessChangeDto[]
37
+ }
38
+
39
+ /**
40
+ * Quiet subjects that changed alike: each has lines of exactly these rules and effects, and none of them widens or needs
41
+ * closer review (`rules` in order, as `rule` and `effect`).
42
+ */
43
+ export interface FoldedRow {
44
+ readonly kind: 'folded'
45
+ readonly rules: readonly { readonly rule: string; readonly effect: 'narrows' | 'neutral' }[]
46
+ readonly subjects: readonly SubjectRow[]
47
+ }
48
+
49
+ export type ChangeRow = SubjectRow | FoldedRow
50
+
51
+ export interface EffectTally {
52
+ readonly widens: number
53
+ readonly narrows: number
54
+ readonly neutral: number
55
+ readonly closer: number
56
+ }
57
+
58
+ export type ChangeGroup = (CallerGroup | SubjectGroup) & {
59
+ readonly rows: readonly ChangeRow[]
60
+ /** How many subjects the group holds, folded ones included. */
61
+ readonly subjects: number
62
+ readonly tally: EffectTally
63
+ /** Whether the page collapses the group by default: only when it holds no widening line. */
64
+ readonly collapsed: boolean
65
+ }
66
+
67
+ export interface ApprovalView {
68
+ /**
69
+ * Per caller group the endpoints that change, apart from the removed endpoints and mounts its paths reach (a removal
70
+ * that widens stands with whoever its paths reach now), and the migration files the change adds or edits.
71
+ */
72
+ readonly impact: {
73
+ readonly callers: readonly {
74
+ readonly key: string
75
+ readonly reach: SurfaceReach
76
+ readonly mount?: string
77
+ readonly endpoints: number
78
+ readonly removedEndpoints: number
79
+ readonly removedMounts: number
80
+ }[]
81
+ readonly migrations: number
82
+ }
83
+ readonly callers: readonly ChangeGroup[]
84
+ readonly data: readonly ChangeGroup[]
85
+ /** The lines of a run classified before lines carried facts, in their stored order. */
86
+ readonly unsorted: readonly AccessChangeDto[]
87
+ }
88
+
89
+ /** Quiet subjects that changed alike fold from this many on. */
90
+ export const FOLD_AT = 3
91
+
92
+ /**
93
+ * A line's rank: a widening for closer review first, then a widening, a narrowing for closer review, a line that leaves
94
+ * access unchanged, a narrowing. Nothing else enters it, so it cannot disagree with the classification.
95
+ */
96
+ export function changeRank(change: Pick<AccessChangeDto, 'effect' | 'review'>): number {
97
+ const closer = change.review === 'closer'
98
+ if (change.effect === 'widens') return closer ? 0 : 1
99
+ if (closer) return 2
100
+ return change.effect === 'neutral' ? 3 : 4
101
+ }
102
+
103
+ export function approvalView(changes: readonly AccessChangeDto[]): ApprovalView {
104
+ const callers = new Map<string, { readonly head: CallerGroup; readonly changes: AccessChangeDto[] }>()
105
+ const data = new Map<ChangeSubjectKind, AccessChangeDto[]>()
106
+ const unsorted: AccessChangeDto[] = []
107
+ // A line with an audience is about who reaches something: an endpoint, or a removed mount whose paths now reach a
108
+ // more exposed endpoint. Every other line is about data and runtime.
109
+ for (const change of changes) {
110
+ const subject = change.subject
111
+ if (subject === undefined) unsorted.push(change)
112
+ else if (change.audience !== undefined) {
113
+ const { reach, mount } = change.audience
114
+ const key = mount === undefined ? reach : `${reach}:${mount}`
115
+ const group = callers.get(key)
116
+ if (group === undefined) callers.set(key, { head: { kind: 'caller', key, reach, ...(mount === undefined ? {} : { mount }) }, changes: [change] })
117
+ else group.changes.push(change)
118
+ } else {
119
+ const kind = data.get(subject.kind)
120
+ if (kind === undefined) data.set(subject.kind, [change])
121
+ else kind.push(change)
122
+ }
123
+ }
124
+ const callerGroups = sortGroups([...callers.values()].map(({ head, changes }) => group(head, changes)), reachIndex)
125
+ const dataGroups = sortGroups([...data].map(([subject, changes]) => group({ kind: 'subject', key: subject, subject }, changes)), subjectIndex)
126
+ // A migration file the change adds or edits; a removed file runs nowhere.
127
+ const migrations = new Set(
128
+ changes.flatMap((change) =>
129
+ change.subject?.kind === 'migration' && (change.rule === 'migration.added' || change.rule === 'migration.changed') ? [change.subject.name] : []
130
+ ),
131
+ )
132
+ const counted = (entry: ChangeGroup, kind: 'endpoint' | 'mount', removed: boolean) =>
133
+ entry.rows.flatMap(subjectRows).filter((row) =>
134
+ row.subject.kind === kind && row.changes.some((change) => change.rule === 'endpoint.removed' || change.rule === 'mount.removed') === removed
135
+ ).length
136
+ return {
137
+ impact: {
138
+ callers: callerGroups.flatMap((entry) =>
139
+ entry.kind === 'caller'
140
+ ? [{
141
+ key: entry.key,
142
+ reach: entry.reach,
143
+ ...(entry.mount === undefined ? {} : { mount: entry.mount }),
144
+ endpoints: counted(entry, 'endpoint', false),
145
+ removedEndpoints: counted(entry, 'endpoint', true),
146
+ removedMounts: counted(entry, 'mount', true),
147
+ }]
148
+ : []
149
+ ),
150
+ migrations: migrations.size,
151
+ },
152
+ callers: callerGroups,
153
+ data: dataGroups,
154
+ unsorted,
155
+ }
156
+ }
157
+
158
+ /** Every line a row holds. */
159
+ export function rowChanges(row: ChangeRow): readonly AccessChangeDto[] {
160
+ return row.kind === 'subject' ? row.changes : row.subjects.flatMap((subject) => subject.changes)
161
+ }
162
+
163
+ /** Every subject a row holds. */
164
+ function subjectRows(row: ChangeRow): readonly SubjectRow[] {
165
+ return row.kind === 'subject' ? [row] : row.subjects
166
+ }
167
+
168
+ /** Groups in rank order: the group whose most important line ranks first, then by `index` (reach or subject kind). */
169
+ function sortGroups(groups: readonly ChangeGroup[], index: (entry: ChangeGroup) => number): ChangeGroup[] {
170
+ const ranked = groups.map((entry) => ({ entry, rank: Math.min(...entry.rows.flatMap(rowChanges).map(changeRank)) }))
171
+ return ranked.sort((a, b) => a.rank - b.rank || index(a.entry) - index(b.entry) || compareText(a.entry.key, b.entry.key)).map(({ entry }) => entry)
172
+ }
173
+
174
+ function group(head: CallerGroup | SubjectGroup, changes: readonly AccessChangeDto[]): ChangeGroup {
175
+ const bySubject = new Map<string, { subject: ChangeSubjectDto; audience?: ChangeAudienceDto; changes: AccessChangeDto[] }>()
176
+ for (const change of changes) {
177
+ const subject = change.subject
178
+ if (subject === undefined) continue
179
+ // A removed mount and an endpoint may share a name; a subject is its kind and its name.
180
+ const key = `${subject.kind}:${subject.name}`
181
+ const entry = bySubject.get(key)
182
+ if (entry === undefined) bySubject.set(key, { subject, ...(change.audience === undefined ? {} : { audience: change.audience }), changes: [change] })
183
+ else entry.changes.push(change)
184
+ }
185
+ const rows = [...bySubject.values()].map((entry): SubjectRow => ({
186
+ kind: 'subject',
187
+ subject: entry.subject,
188
+ ...(entry.audience === undefined ? {} : { audience: entry.audience }),
189
+ changes: entry.changes.map((change, index) => ({ change, index })).sort((a, b) => changeRank(a.change) - changeRank(b.change) || a.index - b.index)
190
+ .map(({ change }) => change),
191
+ }))
192
+ return {
193
+ ...head,
194
+ rows: fold(rows.sort((a, b) => rowRank(a) - rowRank(b) || compareText(a.subject.name, b.subject.name))),
195
+ subjects: rows.length,
196
+ tally: tallyOf(changes),
197
+ collapsed: !changes.some((change) => change.effect === 'widens'),
198
+ }
199
+ }
200
+
201
+ /**
202
+ * A subject is quiet when none of its lines widens or needs closer review. Quiet subjects whose lines have the same rules
203
+ * and effects become one row, from `FOLD_AT` of them on, at the place of the first; every other subject keeps its row,
204
+ * so every widening and every line for closer review is in view without expanding anything.
205
+ */
206
+ function fold(rows: readonly SubjectRow[]): ChangeRow[] {
207
+ const keys = new Map(rows.map((row) => [row, quietKey(row)]))
208
+ const families = new Map<string, SubjectRow[]>()
209
+ for (const [row, key] of keys) {
210
+ if (key === undefined) continue
211
+ const family = families.get(key)
212
+ if (family === undefined) families.set(key, [row])
213
+ else family.push(row)
214
+ }
215
+ const folded: ChangeRow[] = []
216
+ const placed = new Set<string>()
217
+ for (const row of rows) {
218
+ const key = keys.get(row)
219
+ const family = key === undefined ? [] : (families.get(key) ?? [])
220
+ if (key === undefined || family.length < FOLD_AT) folded.push(row)
221
+ else if (!placed.has(key)) {
222
+ placed.add(key)
223
+ folded.push({ kind: 'folded', rules: quietRules(row), subjects: family })
224
+ }
225
+ }
226
+ return folded
227
+ }
228
+
229
+ function quietRules(row: SubjectRow): { rule: string; effect: 'narrows' | 'neutral' }[] {
230
+ const rules = new Map<string, { rule: string; effect: 'narrows' | 'neutral' }>()
231
+ for (const change of row.changes) {
232
+ if (change.rule !== undefined && change.effect !== 'widens') {
233
+ rules.set(`${change.rule} ${change.effect}`, { rule: change.rule, effect: change.effect })
234
+ }
235
+ }
236
+ return [...rules.values()]
237
+ }
238
+
239
+ function quietKey(row: SubjectRow): string | undefined {
240
+ const quiet = row.changes.every((change) => change.effect !== 'widens' && change.review !== 'closer' && change.rule !== undefined)
241
+ return quiet ? quietRules(row).map(({ rule, effect }) => `${rule} ${effect}`).join('|') : undefined
242
+ }
243
+
244
+ function tallyOf(changes: readonly AccessChangeDto[]): EffectTally {
245
+ return {
246
+ widens: changes.filter((change) => change.effect === 'widens').length,
247
+ narrows: changes.filter((change) => change.effect === 'narrows').length,
248
+ neutral: changes.filter((change) => change.effect === 'neutral').length,
249
+ closer: changes.filter((change) => change.review === 'closer').length,
250
+ }
251
+ }
252
+
253
+ function rowRank(row: SubjectRow): number {
254
+ return Math.min(...row.changes.map(changeRank))
255
+ }
256
+
257
+ function reachIndex(entry: ChangeGroup): number {
258
+ return entry.kind === 'caller' ? SURFACE_REACHES.indexOf(entry.reach) : 0
259
+ }
260
+
261
+ function subjectIndex(entry: ChangeGroup): number {
262
+ return entry.kind === 'subject' ? CHANGE_SUBJECT_KINDS.indexOf(entry.subject) : 0
263
+ }
264
+
265
+ const compareText = (a: string, b: string): number => (a < b ? -1 : a > b ? 1 : 0)
package/src/index.ts CHANGED
@@ -137,7 +137,7 @@ export interface GitHubSourceConnectionListResponse {
137
137
  export interface GitHubSourceConnectionRepairRequiredDto extends GitHubSourceConnectionBaseDto {
138
138
  readonly state: 'repair-required'
139
139
  readonly connectionId: string
140
- readonly reason: 'interrupted-setup' | 'credential-activation' | 'installation-verification'
140
+ readonly reason: 'interrupted-setup' | 'credential-activation' | 'installation-verification' | 'rate-limited'
141
141
  readonly app?: GitHubSourceConnectionAppDto
142
142
  }
143
143
 
@@ -396,6 +396,16 @@ export interface RemoveDeploymentNamespaceResponse {
396
396
  readonly removed: DeploymentNamespaceDetailDto
397
397
  }
398
398
 
399
+ /** The namespaces whose proxy rebuild `namespaces.republishAll` submitted. */
400
+ export interface RepublishAllNamespacesResponse {
401
+ readonly namespaceIds: readonly string[]
402
+ }
403
+
404
+ /** The resource keys released; each was confirmed gone at the provider in the same call. */
405
+ export interface ReleaseNamespaceClaimsResponse {
406
+ readonly released: readonly string[]
407
+ }
408
+
399
409
  export interface PlanDeploymentNamespaceRequest {
400
410
  id: string
401
411
  env: string
@@ -451,6 +461,11 @@ export interface PutAppVarRequest {
451
461
  name: string
452
462
  value: string
453
463
  env?: string | null
464
+ /**
465
+ * The caller checked the value is not a credential. Without it Control refuses a variable whose name or value looks
466
+ * like one, because a variable is shown in clear to everyone who manages the application; a credential is a secret.
467
+ */
468
+ notSecret?: boolean
454
469
  }
455
470
 
456
471
  export interface RegisterAppRequest extends AppOptionalFields {
@@ -492,19 +507,83 @@ export interface RunDto {
492
507
  createdAt: number
493
508
  startedAt: number | null
494
509
  finishedAt: number | null
510
+ /** When someone asked to cancel the run; a run that finished with it set was cancelled, unless it succeeded first. */
511
+ cancelRequestedAt: number | null
512
+ }
513
+
514
+ /** What a change line is about (ADR-0050 §3). */
515
+ export const CHANGE_SUBJECT_KINDS = [
516
+ 'application',
517
+ 'endpoint',
518
+ 'mount',
519
+ 'dimension',
520
+ 'action',
521
+ 'role',
522
+ 'table',
523
+ 'file-collection',
524
+ 'file-kind',
525
+ 'job',
526
+ 'export',
527
+ 'import',
528
+ 'token',
529
+ 'csp',
530
+ 'migration',
531
+ ] as const
532
+
533
+ export type ChangeSubjectKind = (typeof CHANGE_SUBJECT_KINDS)[number]
534
+
535
+ export interface ChangeSubjectDto {
536
+ kind: ChangeSubjectKind
537
+ /** The endpoint id, the table, the role, the migration file, the CSP directive; the application's id for `application`. */
538
+ name: string
539
+ /** An endpoint's route: the candidate's row, or the baseline's for a removed endpoint. */
540
+ method?: EndpointMethod
541
+ path?: string
542
+ }
543
+
544
+ /** Who reaches an endpoint: the candidate's row, or the baseline's for a removed endpoint, in the surface's terms. */
545
+ export interface ChangeAudienceDto {
546
+ reach: SurfaceReach
547
+ /** The link mount whose share links reach it, for a `link` reach. */
548
+ mount?: string
549
+ /** What a caller must hold, as `SurfaceEndpointDto.requirement` words it; null for an anonymous kind. */
550
+ requirement: string | null
551
+ }
552
+
553
+ /**
554
+ * Why a line needs closer review: a step off the paved road, something anyone without signing in sets off, a mutation
555
+ * served on `GET`, people becoming visible, a file collection adopted or released, or the application naming who signs
556
+ * in at an enrolled terminal.
557
+ */
558
+ export const REVIEW_REASONS = ['off-road', 'anyone-calls', 'get-mutation', 'people', 'adoption', 'terminal'] as const
559
+
560
+ export type ReviewReason = (typeof REVIEW_REASONS)[number]
561
+
562
+ /** What a call sets off, when the line says so. */
563
+ export interface ChangeConsequenceDto {
564
+ kind: 'starts-job'
565
+ job: string
495
566
  }
496
567
 
497
568
  /**
498
569
  * One plain-language line of an access change. `effect` is `widens` when it can grant access the baseline did not,
499
570
  * `narrows` when it can only take access away, and `neutral` when it admits no one new and takes nothing away.
500
- * `review: 'closer'` marks a step off the paved road (declared reach, database code) or a change the diff cannot classify.
571
+ * `review: 'closer'` marks a line the approver reads the code behind (a step off the paved road, a call anyone sets off,
572
+ * …), and `reason` says which. A line classified before lines carried facts has no `rule`, `subject` or `reason`.
501
573
  */
502
574
  export interface AccessChangeDto {
503
575
  effect: 'widens' | 'narrows' | 'neutral'
504
576
  line: string
505
577
  review?: 'closer'
578
+ reason?: ReviewReason
506
579
  /** The line opens an endpoint to the pages on the origins the environment lists; `ApprovalDto.crossOrigins` names them. */
507
580
  environmentOrigins?: true
581
+ /** The comparison that produced the line, a stable code (`endpoint.body-limit`); it never holds an application's name. */
582
+ rule?: string
583
+ subject?: ChangeSubjectDto
584
+ /** Who reaches the endpoint, on an endpoint subject. */
585
+ audience?: ChangeAudienceDto
586
+ consequence?: ChangeConsequenceDto
508
587
  }
509
588
 
510
589
  /** A run's access change against its environment's active snapshot (ADR-0050 §3). */
@@ -526,8 +605,23 @@ export interface ApprovalDto {
526
605
  * empty when the environment lists none.
527
606
  */
528
607
  crossOrigins?: string[]
529
- /** The human who approved it, once one did. */
530
- approval: { principalId: string; label: string; approvedAt: number } | null
608
+ /**
609
+ * The candidate's endpoints the change names, as the environment page's surface words them: who reaches each, what it
610
+ * requires, and what else opens it or stands in front of it (another origin, a body limit, rate buckets, a challenge).
611
+ * A removed endpoint is not among them. Empty for a run that stored no snapshot, and on the approvals list.
612
+ */
613
+ endpoints: SurfaceEndpointDto[]
614
+ /**
615
+ * The human who approved it, once one did. `holds` is false once the approval lapsed: an older run of the environment
616
+ * published another change first, the change still widens against it, and the run waits for a new approval (ADR-0050
617
+ * §2). A refusal or a cancellation of such a run drops the approval, so a decided run's approval always held.
618
+ */
619
+ approval: { principalId: string; label: string; approvedAt: number; holds: boolean } | null
620
+ /**
621
+ * The newer run of the environment whose success stopped this one before it started: an older run never deploys over
622
+ * a newer one (ADR-0050 §6). Only on one approval read, of a run that failed without starting.
623
+ */
624
+ supersededBy?: string
531
625
  }
532
626
 
533
627
  /** Approve or refuse one parked run. The digests are the ones the approver read; a reclassified run refuses them. */
@@ -563,6 +657,8 @@ export interface RunLogResponse {
563
657
  status?: RunStatus
564
658
  }
565
659
 
660
+ export { OPS_ROW_COUNT_CAP, type OpsContentView, type OpsView } from '@fabrika/auth-core'
661
+ export * from './approval-view.js'
566
662
  export type {
567
663
  AdoptNamespaceInput,
568
664
  AppEnvironmentInput,
@@ -578,6 +674,7 @@ export type {
578
674
  PutAppEnvironmentInput,
579
675
  PutAppSecretInput,
580
676
  PutAppVarInput,
677
+ ReleaseNamespaceClaimsInput,
581
678
  RotateTokenKeyResponse,
582
679
  RunIdInput,
583
680
  RunListInput,
@@ -586,3 +683,20 @@ export type {
586
683
  TailRunInput,
587
684
  UpdateNamespaceInput,
588
685
  } from './rpc.js'
686
+ export type {
687
+ DataBackupDto,
688
+ DataBackupScheduleDto,
689
+ DataBackupState,
690
+ DataOperationDto,
691
+ DataOperationKind,
692
+ DataOperationListInput,
693
+ DataOperationResolution,
694
+ DataOperationState,
695
+ DataOperationStep,
696
+ DataRehearsalOutcome,
697
+ MaintenanceMode,
698
+ RecoverDataOperationInput,
699
+ SetDataBackupScheduleInput,
700
+ StartDataOperationInput,
701
+ } from './rpc.js'
702
+ export { DATA_OPERATION_MAX_PAGE_SIZE, dataOperationListInputSchema, recoverDataOperationInputSchema, startDataOperationInputSchema } from './rpc.js'
package/src/mail.ts CHANGED
@@ -47,6 +47,8 @@ export interface MailMessageContentDto {
47
47
  readonly replyTo?: string
48
48
  readonly fromName?: string
49
49
  readonly unsubscribeUrl?: string
50
+ /** A message of a send to many recipients, which the provider keeps apart from transactional mail. */
51
+ readonly broadcast?: true
50
52
  readonly attachments: readonly MailAttachmentDto[]
51
53
  }
52
54