@object-ui/plugin-detail 17.1.0 → 17.2.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.
- package/CHANGELOG.md +190 -0
- package/dist/DetailView.d.ts.map +1 -1
- package/dist/RecordActivityTimeline.d.ts +19 -2
- package/dist/RecordActivityTimeline.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1004 -798
- package/dist/index.umd.cjs +3 -3
- package/dist/renderers/record-activity.d.ts +10 -2
- package/dist/renderers/record-activity.d.ts.map +1 -1
- package/dist/renderers/recordActivityFeed.d.ts +93 -0
- package/dist/renderers/recordActivityFeed.d.ts.map +1 -0
- package/dist/synth/buildDefaultPageSchema.d.ts +17 -2
- package/dist/synth/buildDefaultPageSchema.d.ts.map +1 -1
- package/dist/useDetailTranslation.d.ts.map +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,195 @@
|
|
|
1
1
|
# @object-ui/plugin-detail
|
|
2
2
|
|
|
3
|
+
## 17.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a889e31: A record's approval band now shows the quorum / per-group tally the server already computes.
|
|
8
|
+
|
|
9
|
+
The showcase's `showcase_committee_quorum` node declares `behavior: 'quorum'` with
|
|
10
|
+
`minApprovals: 2` over three approvers, and even ships a pre-rendered
|
|
11
|
+
`"Committee Sign-off (2 of 3)"` label; `showcase_expense_signoff` declares
|
|
12
|
+
`per_group` (会签) with named manager / finance groups. On the business record
|
|
13
|
+
the approval band rendered none of it — the lock badge, the recall button and
|
|
14
|
+
the approve/reject actions were all correct, but a two-of-three committee step
|
|
15
|
+
looked exactly like a one-approver step. An approver could not see whether their
|
|
16
|
+
own click finalized the node or was one of three, which is the single fact a
|
|
17
|
+
quorum node exists to express (objectstack#4478).
|
|
18
|
+
|
|
19
|
+
Nothing was wrong on the wire, and nothing here papers over the server. The
|
|
20
|
+
framework computes `decision_progress` — `{ behavior, got, need, groups? }`,
|
|
21
|
+
derived from the node's own `node_config_json` snapshot, so the count a client
|
|
22
|
+
shows is the count the engine will enforce. **It attaches that block in
|
|
23
|
+
`getRequest` only**: `listRequests` deliberately skips it, because the
|
|
24
|
+
`sys_approval_action` tally it costs is per row and a list read may return
|
|
25
|
+
hundreds. The record header's `useRecordApprovals` reads
|
|
26
|
+
`GET /approvals/requests?object=…&recordId=…` — the list route — so the
|
|
27
|
+
enrichment was never in the payload it had. The hook now follows up with one
|
|
28
|
+
single read for the ONE pending row and folds the result onto it; a failed or
|
|
29
|
+
mismatched follow-up leaves the row exactly as the list sent it, so a display-only
|
|
30
|
+
enrichment can never take the approval panel down and no tally is ever invented.
|
|
31
|
+
|
|
32
|
+
`InlineEditProvider` carries the block through as `approvalProgress`, and the
|
|
33
|
+
DetailView approval band renders it beside the existing badge: a labelled
|
|
34
|
+
`role="progressbar"` with one tick per required approval for `quorum` /
|
|
35
|
+
`unanimous`, and for `per_group` a chip per group marking which have signed
|
|
36
|
+
(`finance 1/1` ✓, `manager 0/1`). Group names come from the flow author's own
|
|
37
|
+
config, so they need no locale strings; the three new label keys are added to all
|
|
38
|
+
ten packs. `first_response` nodes carry no `decision_progress` and are unchanged —
|
|
39
|
+
one decision is the whole step there, and a "1 of 1" bar would be noise.
|
|
40
|
+
|
|
41
|
+
Scored `minor` rather than `patch`: this is new observable rendering plus a new
|
|
42
|
+
public `approvalProgress` prop / `ApprovalProgress` type on `@object-ui/react`,
|
|
43
|
+
not a behavior correction inside an existing surface.
|
|
44
|
+
|
|
45
|
+
- 4a51e77: Stop declaring 14 symbols across ten packages under names `@objectstack/spec`
|
|
46
|
+
owns (objectui#3161, objectstack#4115 batch 7 — the long tail, one or two
|
|
47
|
+
entries per package). All ten packages leave the ledger, which drops from 17
|
|
48
|
+
collisions across 11 packages to 3 across 1.
|
|
49
|
+
|
|
50
|
+
**Renamed exports** — in every case the spec exports the same name for a
|
|
51
|
+
_different_ thing, so the old name was a mis-description rather than a dialect:
|
|
52
|
+
|
|
53
|
+
| package | was | now | what the spec's same-named export is |
|
|
54
|
+
| :------------------------- | :--------------------------------- | :--------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
55
|
+
| `@object-ui/fields` | `FieldWidgetProps` | `FieldWidgetComponentProps` | the DECLARED field-widget plugin props contract (a zod object; `field.type` is the `FieldType` enum, `readonly`/`required` carry defaults) |
|
|
56
|
+
| `@object-ui/layout` | `PageHeaderProps` | `PageHeaderComponentProps` | the authored `page:header` node — a zod schema of `title`, `subtitle`, an icon NAME, `breadcrumb`, `actions: string[]` |
|
|
57
|
+
| `@object-ui/layout` | `Page` | `PageNodeRenderer` | the authored page metadata DOCUMENT (`name`, `label`, `type`, `regions`) |
|
|
58
|
+
| `@object-ui/plugin-detail` | `ObjectFieldLike` | `ObjectDefFieldLike` | the i18n duck type `translateObject` walks (`help`/`description`, plus `[key: string]: any`) |
|
|
59
|
+
| `@object-ui/plugin-grid` | `ColumnSummaryConfig` | `ColumnSummarySetting` | the OBJECT form of `ListColumn.summary` **only** — the local one was the whole union, shorthand included |
|
|
60
|
+
| `@object-ui/plugin-grid` | `isMultiValueField` | `hasMultiValueShape` | the spec's classifier, which requires a def with a `type`; the local one is called with `undefined` |
|
|
61
|
+
| `@object-ui/collaboration` | `RealtimeConfig` | `RealtimeSubscriptionConfig` | the app's realtime DECLARATION (`enabled`, `transport`, `subscriptions[]`) |
|
|
62
|
+
| `@object-ui/plugin-charts` | `ChartConfig` | `ChartContainerConfig` | the authored chart document (`type`, `xAxis`, `series`, `showLegend`, …) |
|
|
63
|
+
| `@object-ui/plugin-form` | `FormSection` / `FormSectionProps` | `FormSectionContainer` / `FormSectionContainerProps` | the authored form-section metadata (`name`, `pane`, `visibleWhen`, `fields`) |
|
|
64
|
+
| `@object-ui/providers` | `Theme` | `ThemePreference` | a whole theme DOCUMENT (`name`, `label`, `colors`, `typography`) |
|
|
65
|
+
| `@object-ui/runner` | `App` (default export) | `RunnerApp` | the authored application metadata type **and** the `App.create()` builder |
|
|
66
|
+
| `@object-ui/sdui-parser` | `ValidationResult` | `ManifestValidationResult` | plugin-manifest validation (`{ valid, errors?, warnings? }`), exported from both `kernel` and `contracts` |
|
|
67
|
+
|
|
68
|
+
`ManifestValidationResult` follows the `<what was validated>Validation<Error|Result>`
|
|
69
|
+
convention registered on objectstack#4115 (`@object-ui/core` took
|
|
70
|
+
`SchemaNodeValidationResult` in batch 4). `PageHeaderComponentProps` deliberately
|
|
71
|
+
reuses the name `@object-ui/app-shell` already chose for its own header props in
|
|
72
|
+
batch 3, so one concept does not acquire two dialect names one package apart.
|
|
73
|
+
|
|
74
|
+
**Now derived from the spec instead of hand-written:**
|
|
75
|
+
|
|
76
|
+
- `@object-ui/fields` — `isFileIdToken` is re-exported from
|
|
77
|
+
`@objectstack/spec/data`. The local copy was character-for-character identical
|
|
78
|
+
to the spec's function while its comment said it "mirrors" it, so every
|
|
79
|
+
behaviour test passed and only reference identity could tell the two apart.
|
|
80
|
+
The regex is a wire decision: widening it server-side while a copy here kept
|
|
81
|
+
the old bound would make every new id read as "not a reference", and the
|
|
82
|
+
widget would submit the legacy inline blob to a backend expecting a reference.
|
|
83
|
+
- `@object-ui/plugin-detail` — `FeedFilterMode` is re-exported from
|
|
84
|
+
`@objectstack/spec/data`, in a file that already imported the sibling
|
|
85
|
+
`FeedItemType` from the spec.
|
|
86
|
+
- `@object-ui/plugin-grid` — the eleven-member aggregation union is now the
|
|
87
|
+
spec's `ColumnSummary` enum, so the total `Record<ColumnSummaryType, string>`
|
|
88
|
+
label map turns a member the spec adds into a compile error instead of a
|
|
89
|
+
blank footer cell. `ColumnSummarySetting` is `NonNullable<ListColumn['summary']>`,
|
|
90
|
+
i.e. whatever forms the spec itself accepts. `hasMultiValueShape` delegates to
|
|
91
|
+
the spec's `isMultiValueField` rather than re-deriving it from
|
|
92
|
+
`MULTI_OPTION_TYPES` / `MULTI_CAPABLE_TYPES`.
|
|
93
|
+
- `@object-ui/providers` — `ThemePreference` is the spec's `ThemeMode` union
|
|
94
|
+
plus the one legacy `'system'` spelling this provider still honours for stored
|
|
95
|
+
preferences, read off the schema's own `_zod` carrier so the package takes no
|
|
96
|
+
zod dependency.
|
|
97
|
+
|
|
98
|
+
`@objectstack/spec` moves from `devDependencies` to `dependencies` in
|
|
99
|
+
`@object-ui/fields` (it re-exports a runtime function) and `@object-ui/providers`
|
|
100
|
+
(its public `.d.ts` now references the spec).
|
|
101
|
+
|
|
102
|
+
Scored `minor`, not `major`, per this repo's fixed-group rule — objectui's major
|
|
103
|
+
tracks `@objectstack`, so breaking changes of our own ship as minor with the
|
|
104
|
+
semantics spelled out above (see AGENTS.md §版本号策略). A `major` here would carry
|
|
105
|
+
all 39 packages of the fixed group to `18.0.0` and off objectstack's 17.x line.
|
|
106
|
+
|
|
107
|
+
- dd06bcd: `record:activity` fetches a feed instead of rendering a permanently empty one (objectui#3165).
|
|
108
|
+
|
|
109
|
+
The block published eleven inputs — `types`, `filterMode`, `showFilterToggle`,
|
|
110
|
+
`limit`, `showCompleted`, `unifiedTimeline`, `showCommentInput`,
|
|
111
|
+
`enableMentions`, `enableReactions`, `enableThreading`,
|
|
112
|
+
`showSubscriptionToggle` — every one of them a filter or an affordance over a
|
|
113
|
+
feed that could not have content on any path. `RecordActivityRenderer` called
|
|
114
|
+
`useRecordContext()`, discarded the result and rendered
|
|
115
|
+
`<RecordActivityTimeline items={[]}>` with the empty array hard-coded; the
|
|
116
|
+
timeline takes `items` as a prop and never fetched; no host supplied any
|
|
117
|
+
(`buildDefaultPageSchema` emits `{ type: 'record:activity' }` with no props at
|
|
118
|
+
all). Declared, published to `sdui.manifest.json`, inert at runtime —
|
|
119
|
+
objectstack#4413's shape, three blocks over.
|
|
120
|
+
|
|
121
|
+
**The feed now has three sources, in precedence order.** `items` on the node
|
|
122
|
+
(the convention `record:history` uses for `entries`); a mounted
|
|
123
|
+
`DiscussionContext`, which the console's record page fills with the merged
|
|
124
|
+
`sys_comment` + `sys_activity` feed and the write handlers; otherwise a
|
|
125
|
+
**self-fetch** of `sys_activity` scoped to the bound record
|
|
126
|
+
(`{ object_name, record_id }`, newest first, `limit` rows per page, "Load more"
|
|
127
|
+
re-reading a wider window). The third path is what makes the block
|
|
128
|
+
drop-anywhere — hand-authored inside a `page:tabs`, with no host feeding it —
|
|
129
|
+
and it mirrors the read `record:history` already had. Rows map to feed items
|
|
130
|
+
exactly as the console's record page maps them, so both surfaces agree about
|
|
131
|
+
what a row is.
|
|
132
|
+
|
|
133
|
+
**The read-side inputs now filter.** `types` is an allow-list over feed item
|
|
134
|
+
types (unrecognised entries ignored; an all-typo list is treated as unset
|
|
135
|
+
rather than emptying the feed). `limit` is a page size and caps the scoped
|
|
136
|
+
read. `showCompleted` (spec default `false`) hides completed activities.
|
|
137
|
+
`unifiedTimeline: false` un-mixes field changes from the comment stream — the
|
|
138
|
+
panel becomes a discussion feed and field changes stay in `record:history`.
|
|
139
|
+
`filterMode` seeds which slice the dropdown opens on and falls back to `all`
|
|
140
|
+
on an unrecognised value instead of leaving a `<Select>` matching nothing.
|
|
141
|
+
|
|
142
|
+
**The write-side switches are wired to the host's handlers.**
|
|
143
|
+
`showCommentInput`, `enableThreading`, `enableReactions` and `enableMentions`
|
|
144
|
+
read `onAddComment` / `onAddReply` / `onToggleReaction` /
|
|
145
|
+
`mentionSuggestions` off `DiscussionContext` — the same standing
|
|
146
|
+
`record:discussion` has. With no host mounted the feed stays read-only and no
|
|
147
|
+
composer is rendered, rather than showing one that silently drops what you
|
|
148
|
+
type.
|
|
149
|
+
|
|
150
|
+
**`showSubscriptionToggle` is recorded as a known gap, not quietly left
|
|
151
|
+
looking configurable.** The bell needs a `RecordSubscription` value and
|
|
152
|
+
somewhere to persist it, and the platform has no record-subscription object to
|
|
153
|
+
read or write one from. Its input description now says `NOT IMPLEMENTED` (that
|
|
154
|
+
text ships to `sdui.manifest.json`, so an author meets it before writing the
|
|
155
|
+
prop), the docs repeat it, and a test pins it inert so the note has to be
|
|
156
|
+
deleted the day a backend for it lands.
|
|
157
|
+
|
|
158
|
+
`apps/console`'s record-reach probe (objectui#3149 layer 3a) asserted the old
|
|
159
|
+
behaviour from its `NO_RECORD_REACH` ledger in both directions; that entry is
|
|
160
|
+
deleted, and the probe now reports `record:activity` as responding to the bound
|
|
161
|
+
record.
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- 6be575c: A fetching activity feed says "loading", not "No activity recorded" (objectui#3205).
|
|
166
|
+
|
|
167
|
+
`RecordActivityTimeline` declared a `loading` prop and destructured it straight
|
|
168
|
+
into `_loading`, so nothing in the component ever read it. For the whole
|
|
169
|
+
duration of a feed fetch the panel therefore rendered the empty state — "No
|
|
170
|
+
activity recorded" — and then contradicted itself when the rows landed. The
|
|
171
|
+
empty copy is a factual claim about the record; it may only be made once the
|
|
172
|
+
fetch that would fill the feed has settled.
|
|
173
|
+
|
|
174
|
+
The timeline now branches on `loading` **before** the empty branch and renders a
|
|
175
|
+
spinner row (`role="status"`, `aria-live="polite"`) while the feed is in flight.
|
|
176
|
+
`collapseWhenEmpty` does not suppress it: that flag is about the empty state
|
|
177
|
+
("collapse when there are no items"), and mid-fetch it is not yet known whether
|
|
178
|
+
there are items.
|
|
179
|
+
|
|
180
|
+
The guard is `loading && filtered.length === 0`, not `loading` alone — a refresh
|
|
181
|
+
or a "Load more" round-trip keeps the rows already on screen instead of blanking
|
|
182
|
+
them (that button carries its own spinner).
|
|
183
|
+
|
|
184
|
+
No prop or signature changed: the fix is that the declared prop is now read.
|
|
185
|
+
`record:activity` has computed a live `loading` since objectui#3165 (true during
|
|
186
|
+
its self-fetch) and `RecordChatterPanel` already forwarded it in both positions,
|
|
187
|
+
so the whole chain now shows a loading state end to end.
|
|
188
|
+
|
|
189
|
+
- Updated dependencies [a889e31]
|
|
190
|
+
- Updated dependencies [4b470b9]
|
|
191
|
+
- @object-ui/i18n@17.2.0
|
|
192
|
+
|
|
3
193
|
## 17.1.0
|
|
4
194
|
|
|
5
195
|
### Minor Changes
|
package/dist/DetailView.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailView.d.ts","sourceRoot":"","sources":["../src/DetailView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DetailView.d.ts","sourceRoot":"","sources":["../src/DetailView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0C/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAC;AAwF/F,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAs3ChD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FeedItem, RecordActivityComponentProps, RecordSubscription } from '@object-ui/types';
|
|
2
|
+
import { FeedFilterMode } from '@objectstack/spec/data';
|
|
2
3
|
import { Attachment } from './CommentAttachment';
|
|
3
4
|
/**
|
|
4
5
|
* ObjectUI
|
|
@@ -8,7 +9,21 @@ import { Attachment } from './CommentAttachment';
|
|
|
8
9
|
* LICENSE file in the root directory of this source tree.
|
|
9
10
|
*/
|
|
10
11
|
import * as React from 'react';
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Which slice of the record feed the timeline shows.
|
|
14
|
+
*
|
|
15
|
+
* Re-exported from `@objectstack/spec/data`, not restated (objectui#3161,
|
|
16
|
+
* objectstack#4115 ledger batch 7). It was a hand copy of the spec's four
|
|
17
|
+
* members under the spec's own name — in a file that already imports
|
|
18
|
+
* `FeedItemType` from the spec vocabulary two lines up, so the correct pattern
|
|
19
|
+
* was sitting next to it. The copy happened to be in sync; the point is that
|
|
20
|
+
* nothing made it stay so. `getFilterOptions` below renders one `<SelectItem>`
|
|
21
|
+
* per member, so a member the spec adds is a filter the user cannot pick and a
|
|
22
|
+
* member it retires is a dead menu entry — neither is reportable while the
|
|
23
|
+
* union is written out here. (`normalizeFilterMode` already reads the spec enum
|
|
24
|
+
* at RUNTIME; the type was the half still on a copy.)
|
|
25
|
+
*/
|
|
26
|
+
export type { FeedFilterMode };
|
|
12
27
|
export interface RecordActivityTimelineProps {
|
|
13
28
|
/** Feed items to display */
|
|
14
29
|
items: FeedItem[];
|
|
@@ -22,7 +37,9 @@ export interface RecordActivityTimelineProps {
|
|
|
22
37
|
hasMore?: boolean;
|
|
23
38
|
/** Called when user wants to load more items */
|
|
24
39
|
onLoadMore?: () => void | Promise<void>;
|
|
25
|
-
/**
|
|
40
|
+
/** Whether the feed is still being fetched. While true and nothing is on
|
|
41
|
+
* screen yet, the timeline shows a loading row instead of the empty state
|
|
42
|
+
* — "still fetching" is not "no activity" (objectui#3205). */
|
|
26
43
|
loading?: boolean;
|
|
27
44
|
/** Called when a comment is submitted */
|
|
28
45
|
onAddComment?: (text: string, attachments?: Attachment[]) => void | Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordActivityTimeline.d.ts","sourceRoot":"","sources":["../src/RecordActivityTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,OAAO,KAAK,EAAE,QAAQ,EAAgB,4BAA4B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"RecordActivityTimeline.d.ts","sourceRoot":"","sources":["../src/RecordActivityTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,OAAO,KAAK,EAAE,QAAQ,EAAgB,4BAA4B,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAM7D,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGzE;;;;;;;;;;;;;GAaG;AACH,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,MAAM,WAAW,2BAA2B;IAC1C,4BAA4B;IAC5B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,4BAA4B,CAAC;IACtC,mCAAmC;IACnC,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,sCAAsC;IACtC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAChD,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAA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2B,CA2XxE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -75,5 +75,5 @@ export type { SubscriptionToggleProps } from './SubscriptionToggle';
|
|
|
75
75
|
export type { ReactionPickerProps } from './ReactionPicker';
|
|
76
76
|
export type { ThreadedRepliesProps } from './ThreadedReplies';
|
|
77
77
|
export { buildDefaultPageSchema, buildDefaultHeader, buildDefaultActions, buildDefaultHighlights, buildDefaultDetails, buildDefaultTabs, buildDefaultDiscussion, detectStatusField, deriveStages, deriveHighlightFields, deriveFieldGroupDetailSections, resolveDetailSections, resolveTitleField, } from './synth/buildDefaultPageSchema';
|
|
78
|
-
export type { ObjectDefLike,
|
|
78
|
+
export type { ObjectDefLike, ObjectDefFieldLike, BuildPageOptions, } from './synth/buildDefaultPageSchema';
|
|
79
79
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9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