@dxos/plugin-testing 0.12.0-next-73daef452f1464b62efdbca75fb0067c1066f264 → 0.13.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/dist/lib/StorybookCapabilities.mjs.map +1 -1
- package/dist/lib/capabilities.browser.mjs +16 -0
- package/dist/lib/capabilities.browser.mjs.map +1 -0
- package/dist/lib/capabilities.mjs.map +1 -1
- package/dist/lib/capabilities.node.mjs.map +1 -1
- package/dist/lib/capabilities.tauri.mjs +16 -0
- package/dist/lib/capabilities.tauri.mjs.map +1 -0
- package/dist/lib/capabilities.workerd.mjs.map +1 -1
- package/dist/lib/chunk-add-toast.mjs.map +1 -1
- package/dist/lib/chunk-state.mjs +1 -1
- package/dist/lib/chunk-state.mjs.map +1 -1
- package/dist/lib/chunk-switch-workspace.mjs.map +1 -1
- package/dist/lib/chunk-update-complementary.mjs.map +1 -1
- package/dist/lib/chunk-update-dialog.mjs.map +1 -1
- package/dist/lib/chunk-update-popover.mjs.map +1 -1
- package/dist/lib/chunk-update-sidebar.mjs.map +1 -1
- package/dist/lib/components.mjs +62 -55
- package/dist/lib/components.mjs.map +1 -1
- package/dist/lib/core.mjs +4 -4
- package/dist/lib/core.mjs.map +1 -1
- package/dist/lib/harness.mjs +7 -5
- package/dist/lib/harness.mjs.map +1 -1
- package/dist/lib/index.mjs +4 -214
- package/dist/lib/meta.mjs.map +1 -1
- package/dist/lib/ns/CorePlugins.mjs +8 -0
- package/dist/lib/ns/CorePlugins.mjs.map +1 -0
- package/dist/lib/ns/Corpus.mjs +216 -0
- package/dist/lib/ns/Corpus.mjs.map +1 -0
- package/dist/lib/operations.mjs.map +1 -1
- package/dist/types/src/CorePlugins.d.ts +2 -0
- package/dist/types/src/CorePlugins.d.ts.map +1 -0
- package/dist/types/src/Corpus.d.ts +2 -0
- package/dist/types/src/Corpus.d.ts.map +1 -0
- package/dist/types/src/{harness.d.ts → Harness.d.ts} +1 -1
- package/dist/types/src/{harness.d.ts.map → Harness.d.ts.map} +1 -1
- package/dist/types/src/capabilities/gen/browser.d.ts +8 -0
- package/dist/types/src/capabilities/gen/browser.d.ts.map +1 -0
- package/dist/types/src/capabilities/gen/node.d.ts.map +1 -1
- package/dist/types/src/capabilities/gen/tauri.d.ts +8 -0
- package/dist/types/src/capabilities/gen/tauri.d.ts.map +1 -0
- package/dist/types/src/capabilities/gen/workerd.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/components/Layout/Layout.d.ts.map +1 -1
- package/dist/types/src/components/Layout/index.d.ts +1 -1
- package/dist/types/src/components/Layout/index.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/core.d.ts.map +1 -1
- package/dist/types/src/corpus/index.d.ts +1 -1
- package/dist/types/src/corpus/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +4 -4
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/operations/update-state.d.ts +1 -1
- package/dist/types/src/operations/update-state.d.ts.map +1 -1
- package/dist/types/src/types/StorybookCapabilities.d.ts +3 -3
- package/dist/types/src/types/StorybookCapabilities.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +1 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -25
- package/src/CorePlugins.ts +7 -0
- package/src/Corpus.ts +7 -0
- package/src/{harness.ts → Harness.ts} +5 -3
- package/src/capabilities/gen/browser.ts +23 -0
- package/src/capabilities/gen/node.ts +2 -2
- package/src/capabilities/gen/tauri.ts +23 -0
- package/src/capabilities/gen/workerd.ts +2 -2
- package/src/capabilities/index.ts +3 -3
- package/src/capabilities/state.tsx +1 -1
- package/src/components/Layout/Layout.tsx +101 -96
- package/src/components/Layout/index.ts +1 -1
- package/src/components/index.ts +1 -1
- package/src/core.ts +4 -4
- package/src/corpus/index.ts +1 -1
- package/src/corpus/sample-messages.test.ts +1 -1
- package/src/index.ts +4 -4
- package/src/meta.ts +1 -1
- package/src/operations/add-toast.ts +1 -1
- package/src/operations/index.ts +9 -9
- package/src/operations/switch-workspace.ts +1 -1
- package/src/operations/update-complementary.ts +1 -1
- package/src/operations/update-dialog.ts +1 -1
- package/src/operations/update-popover.ts +1 -1
- package/src/operations/update-sidebar.ts +1 -1
- package/src/types/StorybookCapabilities.ts +3 -3
- package/src/types/index.ts +1 -1
- package/dist/lib/index.mjs.map +0 -1
package/dist/lib/index.mjs
CHANGED
|
@@ -1,216 +1,6 @@
|
|
|
1
|
+
import { t as CorePlugins_exports } from "./ns/CorePlugins.mjs";
|
|
2
|
+
import { t as Corpus_exports } from "./ns/Corpus.mjs";
|
|
1
3
|
import { t as StorybookPlugin_exports } from "./StorybookPlugin.mjs";
|
|
2
|
-
import {
|
|
4
|
+
import { t as Harness_exports } from "./harness.mjs";
|
|
3
5
|
export * from "#types";
|
|
4
|
-
export
|
|
5
|
-
//#region src/corpus/sample-messages.ts
|
|
6
|
-
/**
|
|
7
|
-
* ~18 realistic sample messages spread across five topics (project, finance,
|
|
8
|
-
* scheduling, hiring, ops). Search terms such as "invoice", "meeting", "project",
|
|
9
|
-
* and "migration" are repeated across multiple messages so full-text search
|
|
10
|
-
* storybook demos return multiple hits. Consumed by plugin-inbox and
|
|
11
|
-
* plugin-search storybooks.
|
|
12
|
-
*/
|
|
13
|
-
var SAMPLE_MESSAGES = [
|
|
14
|
-
{
|
|
15
|
-
from: {
|
|
16
|
-
email: "priya.natarajan@example.com",
|
|
17
|
-
name: "Priya Natarajan"
|
|
18
|
-
},
|
|
19
|
-
subject: "Apollo project kickoff scheduled",
|
|
20
|
-
body: "The Apollo project kicks off Monday at 10am. Please review the attached roadmap before the meeting so we can agree on the first sprint deadline. This project spans three teams and the deadline for phase one is set for next month.",
|
|
21
|
-
topic: "project",
|
|
22
|
-
threadId: "apollo-kickoff",
|
|
23
|
-
daysAgo: 12
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
from: {
|
|
27
|
-
email: "marcus.oyelaran@example.com",
|
|
28
|
-
name: "Marcus Oyelaran"
|
|
29
|
-
},
|
|
30
|
-
subject: "Re: Apollo project kickoff scheduled",
|
|
31
|
-
body: "Thanks for the summary. I have added the sprint deadline to the shared calendar and flagged two risks in the project plan that need owner sign-off before the release.",
|
|
32
|
-
topic: "project",
|
|
33
|
-
threadId: "apollo-kickoff",
|
|
34
|
-
daysAgo: 11
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
from: {
|
|
38
|
-
email: "diego.fuentes@example.com",
|
|
39
|
-
name: "Diego Fuentes"
|
|
40
|
-
},
|
|
41
|
-
subject: "Sprint 14 release notes",
|
|
42
|
-
body: "Sprint 14 wrapped up yesterday and the release is scheduled for Thursday. The project board shows all critical tickets closed; only the deadline for documentation updates remains open.",
|
|
43
|
-
topic: "project",
|
|
44
|
-
daysAgo: 8
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
from: {
|
|
48
|
-
email: "hannah.liu@example.com",
|
|
49
|
-
name: "Hannah Liu"
|
|
50
|
-
},
|
|
51
|
-
subject: "Design review moved up",
|
|
52
|
-
body: "The design review for the onboarding project has been moved up a week to accommodate the release deadline. Please send feedback on the mockups before Friday so the team can finalize the spec.",
|
|
53
|
-
topic: "project",
|
|
54
|
-
daysAgo: 6
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
from: {
|
|
58
|
-
email: "billing@northgate-supplies.com",
|
|
59
|
-
name: "Northgate Supplies Billing"
|
|
60
|
-
},
|
|
61
|
-
subject: "Invoice #12345 due Friday",
|
|
62
|
-
body: "This is a reminder that invoice #12345 for office equipment is due Friday. Payment can be made by wire transfer or card; let us know if you need a revised invoice with updated line items.",
|
|
63
|
-
topic: "finance",
|
|
64
|
-
threadId: "northgate-invoice",
|
|
65
|
-
daysAgo: 5
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
from: {
|
|
69
|
-
email: "accounts@northgate-supplies.com",
|
|
70
|
-
name: "Northgate Supplies Accounts"
|
|
71
|
-
},
|
|
72
|
-
subject: "Re: Invoice #12345 due Friday",
|
|
73
|
-
body: "We have received your payment confirmation for invoice #12345. Thank you for the prompt payment; a receipt is attached for your records.",
|
|
74
|
-
topic: "finance",
|
|
75
|
-
threadId: "northgate-invoice",
|
|
76
|
-
daysAgo: 4
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
from: {
|
|
80
|
-
email: "finance.ops@example.com",
|
|
81
|
-
name: "Finance Operations"
|
|
82
|
-
},
|
|
83
|
-
subject: "Q3 expense report reminder",
|
|
84
|
-
body: "Quarterly expense reports are due by the end of the week. Any outstanding reimbursement requests should include the original invoice; late submissions may delay payment processing until next cycle.",
|
|
85
|
-
topic: "finance",
|
|
86
|
-
daysAgo: 9
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
from: {
|
|
90
|
-
email: "sofia.marchetti@example.com",
|
|
91
|
-
name: "Sofia Marchetti"
|
|
92
|
-
},
|
|
93
|
-
subject: "Vendor contract renewal and payment terms",
|
|
94
|
-
body: "The vendor contract renewal includes updated payment terms, moving from net-30 to net-45. Please review the redlines and confirm before we send the signed copy back with the next invoice cycle.",
|
|
95
|
-
topic: "finance",
|
|
96
|
-
daysAgo: 15
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
from: {
|
|
100
|
-
email: "grace.kimathi@example.com",
|
|
101
|
-
name: "Grace Kimathi"
|
|
102
|
-
},
|
|
103
|
-
subject: "Reschedule the design review",
|
|
104
|
-
body: "Can we reschedule the design review meeting to Wednesday afternoon? A conflicting client meeting came up and I want to make sure the whole team can attend without rushing the agenda.",
|
|
105
|
-
topic: "scheduling",
|
|
106
|
-
daysAgo: 7
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
from: {
|
|
110
|
-
email: "tom.whitfield@example.com",
|
|
111
|
-
name: "Tom Whitfield"
|
|
112
|
-
},
|
|
113
|
-
subject: "Weekly sync meeting moved to Tuesdays",
|
|
114
|
-
body: "Starting next week, the weekly sync meeting moves from Monday to Tuesday at 9am. Please update your calendar; the room booking and video link stay the same as the previous schedule.",
|
|
115
|
-
topic: "scheduling",
|
|
116
|
-
daysAgo: 14
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
from: {
|
|
120
|
-
email: "amara.osei@example.com",
|
|
121
|
-
name: "Amara Osei"
|
|
122
|
-
},
|
|
123
|
-
subject: "All-hands meeting agenda for Friday",
|
|
124
|
-
body: "Attached is the agenda for Friday's all-hands meeting. We will cover the roadmap update, a hiring update, and open Q&A; please add topics to the shared doc if you would like time on the schedule.",
|
|
125
|
-
topic: "scheduling",
|
|
126
|
-
daysAgo: 3
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
from: {
|
|
130
|
-
email: "liu.wenjie@example.com",
|
|
131
|
-
name: "Liu Wenjie"
|
|
132
|
-
},
|
|
133
|
-
subject: "Confirming 1:1 schedule for next month",
|
|
134
|
-
body: "I would like to confirm our 1:1 schedule for next month stays biweekly on Thursdays. Let me know if you need to reschedule any of the upcoming sessions around the holiday.",
|
|
135
|
-
topic: "scheduling",
|
|
136
|
-
daysAgo: 20
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
from: {
|
|
140
|
-
email: "recruiting@example.com",
|
|
141
|
-
name: "Recruiting Team"
|
|
142
|
-
},
|
|
143
|
-
subject: "Interview loop for the backend candidate",
|
|
144
|
-
body: "We have scheduled the interview loop for the backend candidate for next Tuesday: system design, coding, and a hiring manager chat. Please confirm your interview slot and submit feedback within 24 hours.",
|
|
145
|
-
topic: "hiring",
|
|
146
|
-
threadId: "backend-candidate",
|
|
147
|
-
daysAgo: 10
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
from: {
|
|
151
|
-
email: "noah.bergstrom@example.com",
|
|
152
|
-
name: "Noah Bergstrom"
|
|
153
|
-
},
|
|
154
|
-
subject: "Re: Interview loop for the backend candidate",
|
|
155
|
-
body: "I finished my interview with the candidate this morning. Strong signal on system design; recommend we move to the hire decision quickly before another offer comes in.",
|
|
156
|
-
topic: "hiring",
|
|
157
|
-
threadId: "backend-candidate",
|
|
158
|
-
daysAgo: 9
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
from: {
|
|
162
|
-
email: "people.ops@example.com",
|
|
163
|
-
name: "People Ops"
|
|
164
|
-
},
|
|
165
|
-
subject: "Offer approved for product designer role",
|
|
166
|
-
body: "The hiring committee approved an offer for the product designer candidate. Please prepare the offer letter and coordinate with recruiting on the start date before we extend it this week.",
|
|
167
|
-
topic: "hiring",
|
|
168
|
-
daysAgo: 2
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
from: {
|
|
172
|
-
email: "ines.delgado@example.com",
|
|
173
|
-
name: "Ines Delgado"
|
|
174
|
-
},
|
|
175
|
-
subject: "Panel interview feedback needed",
|
|
176
|
-
body: "Please submit your panel interview feedback for the platform candidate by end of day. We are trying to close out the hiring decision before the candidate's other offer deadline.",
|
|
177
|
-
topic: "hiring",
|
|
178
|
-
daysAgo: 1
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
from: {
|
|
182
|
-
email: "ops.oncall@example.com",
|
|
183
|
-
name: "Ops On-Call"
|
|
184
|
-
},
|
|
185
|
-
subject: "Database migration window this weekend",
|
|
186
|
-
body: "The database migration is scheduled for this weekend during the low-traffic window. Expect brief read-only mode while the migration completes; the runbook and rollback plan are linked below.",
|
|
187
|
-
topic: "ops",
|
|
188
|
-
threadId: "db-migration",
|
|
189
|
-
daysAgo: 4
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
from: {
|
|
193
|
-
email: "security.team@example.com",
|
|
194
|
-
name: "Security Team"
|
|
195
|
-
},
|
|
196
|
-
subject: "Security audit findings summary",
|
|
197
|
-
body: "The quarterly security audit identified two medium-severity findings, both scheduled for remediation before the next migration cycle. Full details and the incident timeline are in the attached report.",
|
|
198
|
-
topic: "ops",
|
|
199
|
-
daysAgo: 13
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
from: {
|
|
203
|
-
email: "ops.oncall@example.com",
|
|
204
|
-
name: "Ops On-Call"
|
|
205
|
-
},
|
|
206
|
-
subject: "Post-incident review: brief outage",
|
|
207
|
-
body: "Following last night's brief outage, the incident review identified a misconfigured cache as root cause. A follow-up migration of the affected service is planned to prevent recurrence.",
|
|
208
|
-
topic: "ops",
|
|
209
|
-
threadId: "db-migration",
|
|
210
|
-
daysAgo: 3
|
|
211
|
-
}
|
|
212
|
-
];
|
|
213
|
-
//#endregion
|
|
214
|
-
export { SAMPLE_MESSAGES, StorybookPlugin_exports as StorybookPlugin, corePlugins };
|
|
215
|
-
|
|
216
|
-
//# sourceMappingURL=index.mjs.map
|
|
6
|
+
export { CorePlugins_exports as CorePlugins, Corpus_exports as Corpus, Harness_exports as Harness, StorybookPlugin_exports as StorybookPlugin };
|
package/dist/lib/meta.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.mjs","names":[],"sources":["../../dx.config.ts","../../src/meta.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Config2 } from '@dxos/app-framework/config';\nimport { trim } from '@dxos/util';\n\nexport default Config2.make({\n plugin: {\n key: 'org.dxos.plugin.storybookLayout',\n name: 'Storybook',\n author: 'DXOS',\n description: trim`\n Development layout optimized for Storybook component testing and documentation.\n Provides specialized views for component development and design system exploration.\n `,\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-testing',\n tags: ['labs'],\n },\n});\n","//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Plugin from '@dxos/app-framework/Plugin';\n\nimport config from '../dx.config';\n\nexport const meta = Plugin.getMetaFromConfig(config);\n"],"mappings":";;;;AAOA,IAAA,oBAAe,QAAQ,KAAK,EAC1B,QAAQ;CACN,KAAK;CACL,MAAM;CACN,QAAQ;CACR,aAAa,IAAI;;;;CAIjB,QAAQ;CACR,MAAM,CAAC,MAAM;AACf,EACF,CAAC;;;ACXD,IAAa,OAAO,OAAO,kBAAkB,iBAAM"}
|
|
1
|
+
{"version":3,"file":"meta.mjs","names":[],"sources":["../../dx.config.ts","../../src/meta.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Config2 } from '@dxos/app-framework/config';\nimport { trim } from '@dxos/util';\n\nexport default Config2.make({\n plugin: {\n key: 'org.dxos.plugin.storybookLayout',\n name: 'Storybook',\n author: 'DXOS',\n description: trim`\n Development layout optimized for Storybook component testing and documentation.\n Provides specialized views for component development and design system exploration.\n `,\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-testing',\n tags: ['labs'],\n },\n});\n","//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Plugin from '@dxos/app-framework/Plugin';\n\nimport config from '../dx.config.ts';\n\nexport const meta = Plugin.getMetaFromConfig(config);\n"],"mappings":";;;;AAOA,IAAA,oBAAe,QAAQ,KAAK,EAC1B,QAAQ;CACN,KAAK;CACL,MAAM;CACN,QAAQ;CACR,aAAa,IAAI;;;;CAIjB,QAAQ;CACR,MAAM,CAAC,MAAM;AACf,EACF,CAAC;;;ACXD,IAAa,OAAO,OAAO,kBAAkB,iBAAM"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as __exportAll } from "../chunk-rolldown-runtime.mjs";
|
|
2
|
+
import { corePlugins } from "../core.mjs";
|
|
3
|
+
//#region src/CorePlugins.ts
|
|
4
|
+
var CorePlugins_exports = /* @__PURE__ */ __exportAll({ make: () => corePlugins });
|
|
5
|
+
//#endregion
|
|
6
|
+
export { corePlugins as make, CorePlugins_exports as t };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=CorePlugins.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorePlugins.mjs","names":[],"sources":["../../../src/CorePlugins.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nexport { corePlugins as make } from './core.ts';\n"],"mappings":""}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { t as __exportAll } from "../chunk-rolldown-runtime.mjs";
|
|
2
|
+
//#region src/corpus/sample-messages.ts
|
|
3
|
+
/**
|
|
4
|
+
* ~18 realistic sample messages spread across five topics (project, finance,
|
|
5
|
+
* scheduling, hiring, ops). Search terms such as "invoice", "meeting", "project",
|
|
6
|
+
* and "migration" are repeated across multiple messages so full-text search
|
|
7
|
+
* storybook demos return multiple hits. Consumed by plugin-inbox and
|
|
8
|
+
* plugin-search storybooks.
|
|
9
|
+
*/
|
|
10
|
+
var SAMPLE_MESSAGES = [
|
|
11
|
+
{
|
|
12
|
+
from: {
|
|
13
|
+
email: "priya.natarajan@example.com",
|
|
14
|
+
name: "Priya Natarajan"
|
|
15
|
+
},
|
|
16
|
+
subject: "Apollo project kickoff scheduled",
|
|
17
|
+
body: "The Apollo project kicks off Monday at 10am. Please review the attached roadmap before the meeting so we can agree on the first sprint deadline. This project spans three teams and the deadline for phase one is set for next month.",
|
|
18
|
+
topic: "project",
|
|
19
|
+
threadId: "apollo-kickoff",
|
|
20
|
+
daysAgo: 12
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
from: {
|
|
24
|
+
email: "marcus.oyelaran@example.com",
|
|
25
|
+
name: "Marcus Oyelaran"
|
|
26
|
+
},
|
|
27
|
+
subject: "Re: Apollo project kickoff scheduled",
|
|
28
|
+
body: "Thanks for the summary. I have added the sprint deadline to the shared calendar and flagged two risks in the project plan that need owner sign-off before the release.",
|
|
29
|
+
topic: "project",
|
|
30
|
+
threadId: "apollo-kickoff",
|
|
31
|
+
daysAgo: 11
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
from: {
|
|
35
|
+
email: "diego.fuentes@example.com",
|
|
36
|
+
name: "Diego Fuentes"
|
|
37
|
+
},
|
|
38
|
+
subject: "Sprint 14 release notes",
|
|
39
|
+
body: "Sprint 14 wrapped up yesterday and the release is scheduled for Thursday. The project board shows all critical tickets closed; only the deadline for documentation updates remains open.",
|
|
40
|
+
topic: "project",
|
|
41
|
+
daysAgo: 8
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
from: {
|
|
45
|
+
email: "hannah.liu@example.com",
|
|
46
|
+
name: "Hannah Liu"
|
|
47
|
+
},
|
|
48
|
+
subject: "Design review moved up",
|
|
49
|
+
body: "The design review for the onboarding project has been moved up a week to accommodate the release deadline. Please send feedback on the mockups before Friday so the team can finalize the spec.",
|
|
50
|
+
topic: "project",
|
|
51
|
+
daysAgo: 6
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
from: {
|
|
55
|
+
email: "billing@northgate-supplies.com",
|
|
56
|
+
name: "Northgate Supplies Billing"
|
|
57
|
+
},
|
|
58
|
+
subject: "Invoice #12345 due Friday",
|
|
59
|
+
body: "This is a reminder that invoice #12345 for office equipment is due Friday. Payment can be made by wire transfer or card; let us know if you need a revised invoice with updated line items.",
|
|
60
|
+
topic: "finance",
|
|
61
|
+
threadId: "northgate-invoice",
|
|
62
|
+
daysAgo: 5
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
from: {
|
|
66
|
+
email: "accounts@northgate-supplies.com",
|
|
67
|
+
name: "Northgate Supplies Accounts"
|
|
68
|
+
},
|
|
69
|
+
subject: "Re: Invoice #12345 due Friday",
|
|
70
|
+
body: "We have received your payment confirmation for invoice #12345. Thank you for the prompt payment; a receipt is attached for your records.",
|
|
71
|
+
topic: "finance",
|
|
72
|
+
threadId: "northgate-invoice",
|
|
73
|
+
daysAgo: 4
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
from: {
|
|
77
|
+
email: "finance.ops@example.com",
|
|
78
|
+
name: "Finance Operations"
|
|
79
|
+
},
|
|
80
|
+
subject: "Q3 expense report reminder",
|
|
81
|
+
body: "Quarterly expense reports are due by the end of the week. Any outstanding reimbursement requests should include the original invoice; late submissions may delay payment processing until next cycle.",
|
|
82
|
+
topic: "finance",
|
|
83
|
+
daysAgo: 9
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
from: {
|
|
87
|
+
email: "sofia.marchetti@example.com",
|
|
88
|
+
name: "Sofia Marchetti"
|
|
89
|
+
},
|
|
90
|
+
subject: "Vendor contract renewal and payment terms",
|
|
91
|
+
body: "The vendor contract renewal includes updated payment terms, moving from net-30 to net-45. Please review the redlines and confirm before we send the signed copy back with the next invoice cycle.",
|
|
92
|
+
topic: "finance",
|
|
93
|
+
daysAgo: 15
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
from: {
|
|
97
|
+
email: "grace.kimathi@example.com",
|
|
98
|
+
name: "Grace Kimathi"
|
|
99
|
+
},
|
|
100
|
+
subject: "Reschedule the design review",
|
|
101
|
+
body: "Can we reschedule the design review meeting to Wednesday afternoon? A conflicting client meeting came up and I want to make sure the whole team can attend without rushing the agenda.",
|
|
102
|
+
topic: "scheduling",
|
|
103
|
+
daysAgo: 7
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
from: {
|
|
107
|
+
email: "tom.whitfield@example.com",
|
|
108
|
+
name: "Tom Whitfield"
|
|
109
|
+
},
|
|
110
|
+
subject: "Weekly sync meeting moved to Tuesdays",
|
|
111
|
+
body: "Starting next week, the weekly sync meeting moves from Monday to Tuesday at 9am. Please update your calendar; the room booking and video link stay the same as the previous schedule.",
|
|
112
|
+
topic: "scheduling",
|
|
113
|
+
daysAgo: 14
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
from: {
|
|
117
|
+
email: "amara.osei@example.com",
|
|
118
|
+
name: "Amara Osei"
|
|
119
|
+
},
|
|
120
|
+
subject: "All-hands meeting agenda for Friday",
|
|
121
|
+
body: "Attached is the agenda for Friday's all-hands meeting. We will cover the roadmap update, a hiring update, and open Q&A; please add topics to the shared doc if you would like time on the schedule.",
|
|
122
|
+
topic: "scheduling",
|
|
123
|
+
daysAgo: 3
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
from: {
|
|
127
|
+
email: "liu.wenjie@example.com",
|
|
128
|
+
name: "Liu Wenjie"
|
|
129
|
+
},
|
|
130
|
+
subject: "Confirming 1:1 schedule for next month",
|
|
131
|
+
body: "I would like to confirm our 1:1 schedule for next month stays biweekly on Thursdays. Let me know if you need to reschedule any of the upcoming sessions around the holiday.",
|
|
132
|
+
topic: "scheduling",
|
|
133
|
+
daysAgo: 20
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
from: {
|
|
137
|
+
email: "recruiting@example.com",
|
|
138
|
+
name: "Recruiting Team"
|
|
139
|
+
},
|
|
140
|
+
subject: "Interview loop for the backend candidate",
|
|
141
|
+
body: "We have scheduled the interview loop for the backend candidate for next Tuesday: system design, coding, and a hiring manager chat. Please confirm your interview slot and submit feedback within 24 hours.",
|
|
142
|
+
topic: "hiring",
|
|
143
|
+
threadId: "backend-candidate",
|
|
144
|
+
daysAgo: 10
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
from: {
|
|
148
|
+
email: "noah.bergstrom@example.com",
|
|
149
|
+
name: "Noah Bergstrom"
|
|
150
|
+
},
|
|
151
|
+
subject: "Re: Interview loop for the backend candidate",
|
|
152
|
+
body: "I finished my interview with the candidate this morning. Strong signal on system design; recommend we move to the hire decision quickly before another offer comes in.",
|
|
153
|
+
topic: "hiring",
|
|
154
|
+
threadId: "backend-candidate",
|
|
155
|
+
daysAgo: 9
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
from: {
|
|
159
|
+
email: "people.ops@example.com",
|
|
160
|
+
name: "People Ops"
|
|
161
|
+
},
|
|
162
|
+
subject: "Offer approved for product designer role",
|
|
163
|
+
body: "The hiring committee approved an offer for the product designer candidate. Please prepare the offer letter and coordinate with recruiting on the start date before we extend it this week.",
|
|
164
|
+
topic: "hiring",
|
|
165
|
+
daysAgo: 2
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
from: {
|
|
169
|
+
email: "ines.delgado@example.com",
|
|
170
|
+
name: "Ines Delgado"
|
|
171
|
+
},
|
|
172
|
+
subject: "Panel interview feedback needed",
|
|
173
|
+
body: "Please submit your panel interview feedback for the platform candidate by end of day. We are trying to close out the hiring decision before the candidate's other offer deadline.",
|
|
174
|
+
topic: "hiring",
|
|
175
|
+
daysAgo: 1
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
from: {
|
|
179
|
+
email: "ops.oncall@example.com",
|
|
180
|
+
name: "Ops On-Call"
|
|
181
|
+
},
|
|
182
|
+
subject: "Database migration window this weekend",
|
|
183
|
+
body: "The database migration is scheduled for this weekend during the low-traffic window. Expect brief read-only mode while the migration completes; the runbook and rollback plan are linked below.",
|
|
184
|
+
topic: "ops",
|
|
185
|
+
threadId: "db-migration",
|
|
186
|
+
daysAgo: 4
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
from: {
|
|
190
|
+
email: "security.team@example.com",
|
|
191
|
+
name: "Security Team"
|
|
192
|
+
},
|
|
193
|
+
subject: "Security audit findings summary",
|
|
194
|
+
body: "The quarterly security audit identified two medium-severity findings, both scheduled for remediation before the next migration cycle. Full details and the incident timeline are in the attached report.",
|
|
195
|
+
topic: "ops",
|
|
196
|
+
daysAgo: 13
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
from: {
|
|
200
|
+
email: "ops.oncall@example.com",
|
|
201
|
+
name: "Ops On-Call"
|
|
202
|
+
},
|
|
203
|
+
subject: "Post-incident review: brief outage",
|
|
204
|
+
body: "Following last night's brief outage, the incident review identified a misconfigured cache as root cause. A follow-up migration of the affected service is planned to prevent recurrence.",
|
|
205
|
+
topic: "ops",
|
|
206
|
+
threadId: "db-migration",
|
|
207
|
+
daysAgo: 3
|
|
208
|
+
}
|
|
209
|
+
];
|
|
210
|
+
//#endregion
|
|
211
|
+
//#region src/Corpus.ts
|
|
212
|
+
var Corpus_exports = /* @__PURE__ */ __exportAll({ SAMPLE_MESSAGES: () => SAMPLE_MESSAGES });
|
|
213
|
+
//#endregion
|
|
214
|
+
export { SAMPLE_MESSAGES, Corpus_exports as t };
|
|
215
|
+
|
|
216
|
+
//# sourceMappingURL=Corpus.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Corpus.mjs","names":[],"sources":["../../../src/corpus/sample-messages.ts","../../../src/Corpus.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n/**\n * A single hand-authored sample message used to seed inbox/search storybooks.\n * Deliberately schema-free (no `@dxos/types`/`@dxos/echo`/`@dxos/schema`) so that\n * `@dxos/plugin-testing` — which does not depend on those packages — can host it.\n */\nexport type SampleMessage = {\n from: { email: string; name: string };\n subject: string;\n body: string;\n topic: 'project' | 'finance' | 'scheduling' | 'hiring' | 'ops';\n /** Optional thread grouping id. */\n threadId?: string;\n /** How many days before \"now\" the message was sent (for deterministic ordering). */\n daysAgo?: number;\n};\n\n/**\n * ~18 realistic sample messages spread across five topics (project, finance,\n * scheduling, hiring, ops). Search terms such as \"invoice\", \"meeting\", \"project\",\n * and \"migration\" are repeated across multiple messages so full-text search\n * storybook demos return multiple hits. Consumed by plugin-inbox and\n * plugin-search storybooks.\n */\nexport const SAMPLE_MESSAGES: SampleMessage[] = [\n {\n from: { email: 'priya.natarajan@example.com', name: 'Priya Natarajan' },\n subject: 'Apollo project kickoff scheduled',\n body: 'The Apollo project kicks off Monday at 10am. Please review the attached roadmap before the meeting so we can agree on the first sprint deadline. This project spans three teams and the deadline for phase one is set for next month.',\n topic: 'project',\n threadId: 'apollo-kickoff',\n daysAgo: 12,\n },\n {\n from: { email: 'marcus.oyelaran@example.com', name: 'Marcus Oyelaran' },\n subject: 'Re: Apollo project kickoff scheduled',\n body: 'Thanks for the summary. I have added the sprint deadline to the shared calendar and flagged two risks in the project plan that need owner sign-off before the release.',\n topic: 'project',\n threadId: 'apollo-kickoff',\n daysAgo: 11,\n },\n {\n from: { email: 'diego.fuentes@example.com', name: 'Diego Fuentes' },\n subject: 'Sprint 14 release notes',\n body: 'Sprint 14 wrapped up yesterday and the release is scheduled for Thursday. The project board shows all critical tickets closed; only the deadline for documentation updates remains open.',\n topic: 'project',\n daysAgo: 8,\n },\n {\n from: { email: 'hannah.liu@example.com', name: 'Hannah Liu' },\n subject: 'Design review moved up',\n body: 'The design review for the onboarding project has been moved up a week to accommodate the release deadline. Please send feedback on the mockups before Friday so the team can finalize the spec.',\n topic: 'project',\n daysAgo: 6,\n },\n {\n from: { email: 'billing@northgate-supplies.com', name: 'Northgate Supplies Billing' },\n subject: 'Invoice #12345 due Friday',\n body: 'This is a reminder that invoice #12345 for office equipment is due Friday. Payment can be made by wire transfer or card; let us know if you need a revised invoice with updated line items.',\n topic: 'finance',\n threadId: 'northgate-invoice',\n daysAgo: 5,\n },\n {\n from: { email: 'accounts@northgate-supplies.com', name: 'Northgate Supplies Accounts' },\n subject: 'Re: Invoice #12345 due Friday',\n body: 'We have received your payment confirmation for invoice #12345. Thank you for the prompt payment; a receipt is attached for your records.',\n topic: 'finance',\n threadId: 'northgate-invoice',\n daysAgo: 4,\n },\n {\n from: { email: 'finance.ops@example.com', name: 'Finance Operations' },\n subject: 'Q3 expense report reminder',\n body: 'Quarterly expense reports are due by the end of the week. Any outstanding reimbursement requests should include the original invoice; late submissions may delay payment processing until next cycle.',\n topic: 'finance',\n daysAgo: 9,\n },\n {\n from: { email: 'sofia.marchetti@example.com', name: 'Sofia Marchetti' },\n subject: 'Vendor contract renewal and payment terms',\n body: 'The vendor contract renewal includes updated payment terms, moving from net-30 to net-45. Please review the redlines and confirm before we send the signed copy back with the next invoice cycle.',\n topic: 'finance',\n daysAgo: 15,\n },\n {\n from: { email: 'grace.kimathi@example.com', name: 'Grace Kimathi' },\n subject: 'Reschedule the design review',\n body: 'Can we reschedule the design review meeting to Wednesday afternoon? A conflicting client meeting came up and I want to make sure the whole team can attend without rushing the agenda.',\n topic: 'scheduling',\n daysAgo: 7,\n },\n {\n from: { email: 'tom.whitfield@example.com', name: 'Tom Whitfield' },\n subject: 'Weekly sync meeting moved to Tuesdays',\n body: 'Starting next week, the weekly sync meeting moves from Monday to Tuesday at 9am. Please update your calendar; the room booking and video link stay the same as the previous schedule.',\n topic: 'scheduling',\n daysAgo: 14,\n },\n {\n from: { email: 'amara.osei@example.com', name: 'Amara Osei' },\n subject: 'All-hands meeting agenda for Friday',\n body: \"Attached is the agenda for Friday's all-hands meeting. We will cover the roadmap update, a hiring update, and open Q&A; please add topics to the shared doc if you would like time on the schedule.\",\n topic: 'scheduling',\n daysAgo: 3,\n },\n {\n from: { email: 'liu.wenjie@example.com', name: 'Liu Wenjie' },\n subject: 'Confirming 1:1 schedule for next month',\n body: 'I would like to confirm our 1:1 schedule for next month stays biweekly on Thursdays. Let me know if you need to reschedule any of the upcoming sessions around the holiday.',\n topic: 'scheduling',\n daysAgo: 20,\n },\n {\n from: { email: 'recruiting@example.com', name: 'Recruiting Team' },\n subject: 'Interview loop for the backend candidate',\n body: 'We have scheduled the interview loop for the backend candidate for next Tuesday: system design, coding, and a hiring manager chat. Please confirm your interview slot and submit feedback within 24 hours.',\n topic: 'hiring',\n threadId: 'backend-candidate',\n daysAgo: 10,\n },\n {\n from: { email: 'noah.bergstrom@example.com', name: 'Noah Bergstrom' },\n subject: 'Re: Interview loop for the backend candidate',\n body: 'I finished my interview with the candidate this morning. Strong signal on system design; recommend we move to the hire decision quickly before another offer comes in.',\n topic: 'hiring',\n threadId: 'backend-candidate',\n daysAgo: 9,\n },\n {\n from: { email: 'people.ops@example.com', name: 'People Ops' },\n subject: 'Offer approved for product designer role',\n body: 'The hiring committee approved an offer for the product designer candidate. Please prepare the offer letter and coordinate with recruiting on the start date before we extend it this week.',\n topic: 'hiring',\n daysAgo: 2,\n },\n {\n from: { email: 'ines.delgado@example.com', name: 'Ines Delgado' },\n subject: 'Panel interview feedback needed',\n body: \"Please submit your panel interview feedback for the platform candidate by end of day. We are trying to close out the hiring decision before the candidate's other offer deadline.\",\n topic: 'hiring',\n daysAgo: 1,\n },\n {\n from: { email: 'ops.oncall@example.com', name: 'Ops On-Call' },\n subject: 'Database migration window this weekend',\n body: 'The database migration is scheduled for this weekend during the low-traffic window. Expect brief read-only mode while the migration completes; the runbook and rollback plan are linked below.',\n topic: 'ops',\n threadId: 'db-migration',\n daysAgo: 4,\n },\n {\n from: { email: 'security.team@example.com', name: 'Security Team' },\n subject: 'Security audit findings summary',\n body: 'The quarterly security audit identified two medium-severity findings, both scheduled for remediation before the next migration cycle. Full details and the incident timeline are in the attached report.',\n topic: 'ops',\n daysAgo: 13,\n },\n {\n from: { email: 'ops.oncall@example.com', name: 'Ops On-Call' },\n subject: 'Post-incident review: brief outage',\n body: \"Following last night's brief outage, the incident review identified a misconfigured cache as root cause. A follow-up migration of the affected service is planned to prevent recurrence.\",\n topic: 'ops',\n threadId: 'db-migration',\n daysAgo: 3,\n },\n];\n","//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nexport * from './corpus/index.ts';\n"],"mappings":";;;;;;;;;AA2BA,IAAa,kBAAmC;CAC9C;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAAkC,MAAM;EAA6B;EACpF,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAAmC,MAAM;EAA8B;EACtF,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA2B,MAAM;EAAqB;EACrE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAkB;EACjE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA8B,MAAM;EAAiB;EACpE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA4B,MAAM;EAAe;EAChE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAc;EAC7D,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAc;EAC7D,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.mjs","names":[],"sources":["../../src/operations/index.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';\nimport * as Operation from '@dxos/compute/Operation';\nimport * as OperationHandlerSet from '@dxos/compute/OperationHandlerSet';\n\nexport const TestingOperationHandlerSet = OperationHandlerSet.lazy([\n LayoutOperation.AddToast.pipe(Operation.lazyHandler(() => import('./add-toast'))),\n LayoutOperation.Close.pipe(Operation.lazyHandler(() => import('./close'))),\n LayoutOperation.Open.pipe(Operation.lazyHandler(() => import('./open'))),\n LayoutOperation.ScrollIntoView.pipe(Operation.lazyHandler(() => import('./scroll-into-view'))),\n LayoutOperation.SwitchWorkspace.pipe(Operation.lazyHandler(() => import('./switch-workspace'))),\n LayoutOperation.UpdateComplementary.pipe(Operation.lazyHandler(() => import('./update-complementary'))),\n LayoutOperation.UpdateDialog.pipe(Operation.lazyHandler(() => import('./update-dialog'))),\n LayoutOperation.UpdatePopover.pipe(Operation.lazyHandler(() => import('./update-popover'))),\n LayoutOperation.UpdateSidebar.pipe(Operation.lazyHandler(() => import('./update-sidebar'))),\n]);\n"],"mappings":";;;;AAQA,IAAa,6BAA6B,oBAAoB,KAAK;CACjE,gBAAgB,SAAS,KAAK,UAAU,kBAAkB,OAAO,
|
|
1
|
+
{"version":3,"file":"operations.mjs","names":[],"sources":["../../src/operations/index.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';\nimport * as Operation from '@dxos/compute/Operation';\nimport * as OperationHandlerSet from '@dxos/compute/OperationHandlerSet';\n\nexport const TestingOperationHandlerSet = OperationHandlerSet.lazy([\n LayoutOperation.AddToast.pipe(Operation.lazyHandler(() => import('./add-toast.ts'))),\n LayoutOperation.Close.pipe(Operation.lazyHandler(() => import('./close.ts'))),\n LayoutOperation.Open.pipe(Operation.lazyHandler(() => import('./open.ts'))),\n LayoutOperation.ScrollIntoView.pipe(Operation.lazyHandler(() => import('./scroll-into-view.ts'))),\n LayoutOperation.SwitchWorkspace.pipe(Operation.lazyHandler(() => import('./switch-workspace.ts'))),\n LayoutOperation.UpdateComplementary.pipe(Operation.lazyHandler(() => import('./update-complementary.ts'))),\n LayoutOperation.UpdateDialog.pipe(Operation.lazyHandler(() => import('./update-dialog.ts'))),\n LayoutOperation.UpdatePopover.pipe(Operation.lazyHandler(() => import('./update-popover.ts'))),\n LayoutOperation.UpdateSidebar.pipe(Operation.lazyHandler(() => import('./update-sidebar.ts'))),\n]);\n"],"mappings":";;;;AAQA,IAAa,6BAA6B,oBAAoB,KAAK;CACjE,gBAAgB,SAAS,KAAK,UAAU,kBAAkB,OAAO,wBAAiB,CAAC;CACnF,gBAAgB,MAAM,KAAK,UAAU,kBAAkB,OAAO,oBAAa,CAAC;CAC5E,gBAAgB,KAAK,KAAK,UAAU,kBAAkB,OAAO,mBAAY,CAAC;CAC1E,gBAAgB,eAAe,KAAK,UAAU,kBAAkB,OAAO,+BAAwB,CAAC;CAChG,gBAAgB,gBAAgB,KAAK,UAAU,kBAAkB,OAAO,+BAAwB,CAAC;CACjG,gBAAgB,oBAAoB,KAAK,UAAU,kBAAkB,OAAO,mCAA4B,CAAC;CACzG,gBAAgB,aAAa,KAAK,UAAU,kBAAkB,OAAO,4BAAqB,CAAC;CAC3F,gBAAgB,cAAc,KAAK,UAAU,kBAAkB,OAAO,6BAAsB,CAAC;CAC7F,gBAAgB,cAAc,KAAK,UAAU,kBAAkB,OAAO,6BAAsB,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorePlugins.d.ts","sourceRoot":"","sources":["../../../src/CorePlugins.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,IAAI,IAAI,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Corpus.d.ts","sourceRoot":"","sources":["../../../src/Corpus.ts"],"names":[],"mappings":"AAMA,cAAc,mBAAmB,CAAC"}
|
|
@@ -23,4 +23,4 @@ export type ComposerTestAppOptions = Omit<TestAppOptions, 'plugins'> & {
|
|
|
23
23
|
* related: org.dxos.app-framework.testing.operationCapture
|
|
24
24
|
*/
|
|
25
25
|
export declare const createComposerTestApp: (opts?: ComposerTestAppOptions) => Promise<TestHarness>;
|
|
26
|
-
//# sourceMappingURL=
|
|
26
|
+
//# sourceMappingURL=Harness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"Harness.d.ts","sourceRoot":"","sources":["../../../src/Harness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAiB,MAAM,6BAA6B,CAAC;AAKnG,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACrE,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAaF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,UAAgB,sBAAsB,KAAQ,OAAO,CAAC,WAAW,CAYlG,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
2
|
+
import { StorybookCapabilities } from '#types';
|
|
3
|
+
export declare const OperationHandler: Capability.Module<void>;
|
|
4
|
+
export declare const ReactContext: Capability.Module<void>;
|
|
5
|
+
export declare const State: Capability.Module<{
|
|
6
|
+
initialState?: Partial<StorybookCapabilities.LayoutStateProps>;
|
|
7
|
+
} | undefined>;
|
|
8
|
+
//# sourceMappingURL=browser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/gen/browser.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,yBAA0E,CAAC;AAExG,eAAO,MAAM,YAAY,yBAAmE,CAAC;AAE7F,eAAO,MAAM,KAAK;;cAKjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/gen/node.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/gen/node.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,yBAA0E,CAAC;AAExG,eAAO,MAAM,KAAK;;cAKjB,CAAC;AAEF,eAAO,MAAM,YAAY,WAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
2
|
+
import { StorybookCapabilities } from '#types';
|
|
3
|
+
export declare const OperationHandler: Capability.Module<void>;
|
|
4
|
+
export declare const ReactContext: Capability.Module<void>;
|
|
5
|
+
export declare const State: Capability.Module<{
|
|
6
|
+
initialState?: Partial<StorybookCapabilities.LayoutStateProps>;
|
|
7
|
+
} | undefined>;
|
|
8
|
+
//# sourceMappingURL=tauri.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tauri.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/gen/tauri.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,yBAA0E,CAAC;AAExG,eAAO,MAAM,YAAY,yBAAmE,CAAC;AAE7F,eAAO,MAAM,KAAK;;cAKjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workerd.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/gen/workerd.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"workerd.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/gen/workerd.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,yBAA0E,CAAC;AAExG,eAAO,MAAM,KAAK;;cAKjB,CAAC;AAEF,eAAO,MAAM,YAAY,WAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAE/C,eAAO,MAAM,gBAAgB,yBAAyE,CAAC;AACvG,eAAO,MAAM,YAAY,yBAAkE,CAAC;AAC5F,eAAO,MAAM,KAAK;;cAKjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAEZ,KAAK,iBAAiB,EAMvB,MAAM,OAAO,CAAC;AAsDf,eAAO,MAAM,MAAM,iBAAkB,iBAAiB,CAAC,EAAE,CAAC,sBAqJzD,CAAC;AAEF,eAAO,MAAM,aAAa,cAAe;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAczD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Layout';
|
|
1
|
+
export * from './Layout.tsx';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Layout';
|
|
1
|
+
export * from './Layout/index.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,4BAA4B,CAAC;AAqB1D;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAM3C,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './sample-messages';
|
|
1
|
+
export * from './sample-messages.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/corpus/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/corpus/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as StorybookPlugin from './StorybookPlugin';
|
|
2
|
-
export * from './core';
|
|
3
|
-
export * from './corpus';
|
|
4
|
-
export * from '#meta';
|
|
1
|
+
export * as StorybookPlugin from './StorybookPlugin.ts';
|
|
5
2
|
export * from '#types';
|
|
3
|
+
export * as CorePlugins from './CorePlugins.ts';
|
|
4
|
+
export * as Corpus from './Corpus.ts';
|
|
5
|
+
export * as Harness from './Harness.ts';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,eAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AACxD,cAAc,QAAQ,CAAC;AACvB,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import * as Capability from '@dxos/app-framework/Capability';
|
|
3
3
|
import { StorybookCapabilities } from '#types';
|
|
4
|
-
export declare const updateState: (fn: (state: StorybookCapabilities.LayoutStateProps) => Partial<StorybookCapabilities.LayoutStateProps>) => Effect.Effect<void,
|
|
4
|
+
export declare const updateState: (fn: (state: StorybookCapabilities.LayoutStateProps) => Partial<StorybookCapabilities.LayoutStateProps>) => Effect.Effect<void, Capability.NotFoundError, Capability.Service>;
|
|
5
5
|
//# sourceMappingURL=update-state.d.ts.map
|