@dxos/plugin-observability 0.8.4-main.72ec0f3 → 0.8.4-main.7ace549
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/browser/{chunk-IFPEPNGO.mjs → chunk-I32JO7N6.mjs} +20 -20
- package/dist/lib/browser/chunk-I32JO7N6.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ABSWYPOR.mjs → chunk-ZPNE2QLZ.mjs} +2 -2
- package/dist/lib/browser/{client-ready-4RGNCIGS.mjs → client-ready-SGUJYKFO.mjs} +2 -2
- package/dist/lib/browser/index.mjs +6 -6
- package/dist/lib/browser/{intent-resolver-3TZAFHGG.mjs → intent-resolver-7AS3LQUD.mjs} +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-NC5OS6RK.mjs → react-surface-D7OCQATN.mjs} +3 -3
- package/dist/lib/browser/{settings-SVUCKD7J.mjs → settings-ILBB3GCR.mjs} +3 -3
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{chunk-DUZESLKB.mjs → chunk-HDEVP6Z4.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-TXFKNLDI.mjs → chunk-JA6DTCPS.mjs} +20 -20
- package/dist/lib/node-esm/chunk-JA6DTCPS.mjs.map +7 -0
- package/dist/lib/node-esm/{client-ready-4IKY5KJC.mjs → client-ready-AQWXCEF7.mjs} +2 -2
- package/dist/lib/node-esm/index.mjs +6 -6
- package/dist/lib/node-esm/{intent-resolver-5D5SXGKQ.mjs → intent-resolver-JI4234E7.mjs} +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-DZWHHB3R.mjs → react-surface-KRRSSVTP.mjs} +3 -3
- package/dist/lib/node-esm/{settings-E6TJOR36.mjs → settings-LRA7DFLS.mjs} +3 -3
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/types/schema.d.ts +109 -109
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -21
- package/src/types/schema.ts +19 -19
- package/dist/lib/browser/chunk-IFPEPNGO.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-TXFKNLDI.mjs.map +0 -7
- /package/dist/lib/browser/{chunk-ABSWYPOR.mjs.map → chunk-ZPNE2QLZ.mjs.map} +0 -0
- /package/dist/lib/browser/{client-ready-4RGNCIGS.mjs.map → client-ready-SGUJYKFO.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-3TZAFHGG.mjs.map → intent-resolver-7AS3LQUD.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-NC5OS6RK.mjs.map → react-surface-D7OCQATN.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-SVUCKD7J.mjs.map → settings-ILBB3GCR.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-DUZESLKB.mjs.map → chunk-HDEVP6Z4.mjs.map} +0 -0
- /package/dist/lib/node-esm/{client-ready-4IKY5KJC.mjs.map → client-ready-AQWXCEF7.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-5D5SXGKQ.mjs.map → intent-resolver-JI4234E7.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-DZWHHB3R.mjs.map → react-surface-KRRSSVTP.mjs.map} +0 -0
- /package/dist/lib/node-esm/{settings-E6TJOR36.mjs.map → settings-LRA7DFLS.mjs.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// src/types/schema.ts
|
|
6
6
|
import * as Schema from "effect/Schema";
|
|
7
|
-
import {
|
|
7
|
+
import { Key } from "@dxos/echo";
|
|
8
8
|
var nonEmpty = (field) => Schema.nonEmptyString({
|
|
9
9
|
message: () => `Missing field: ${field}`
|
|
10
10
|
});
|
|
@@ -68,76 +68,76 @@ var UserFeedback = Schema.Struct({
|
|
|
68
68
|
}), Schema.Struct({
|
|
69
69
|
name: Schema.Literal("space.create"),
|
|
70
70
|
properties: Schema.Struct({
|
|
71
|
-
spaceId:
|
|
71
|
+
spaceId: Key.SpaceId
|
|
72
72
|
})
|
|
73
73
|
}), Schema.Struct({
|
|
74
74
|
name: Schema.Literal("space.join"),
|
|
75
75
|
properties: Schema.Struct({
|
|
76
|
-
spaceId:
|
|
76
|
+
spaceId: Key.SpaceId
|
|
77
77
|
})
|
|
78
78
|
}), Schema.Struct({
|
|
79
79
|
name: Schema.Literal("space.limit"),
|
|
80
80
|
properties: Schema.Struct({
|
|
81
|
-
spaceId:
|
|
81
|
+
spaceId: Key.SpaceId
|
|
82
82
|
})
|
|
83
83
|
}), Schema.Struct({
|
|
84
84
|
name: Schema.Literal("space.lock"),
|
|
85
85
|
properties: Schema.Struct({
|
|
86
|
-
spaceId:
|
|
86
|
+
spaceId: Key.SpaceId
|
|
87
87
|
})
|
|
88
88
|
}), Schema.Struct({
|
|
89
89
|
name: Schema.Literal("space.migrate"),
|
|
90
90
|
properties: Schema.Struct({
|
|
91
|
-
spaceId:
|
|
91
|
+
spaceId: Key.SpaceId,
|
|
92
92
|
targetVersion: Schema.optional(Schema.String),
|
|
93
93
|
version: Schema.optional(Schema.String)
|
|
94
94
|
})
|
|
95
95
|
}), Schema.Struct({
|
|
96
96
|
name: Schema.Literal("space.schema.use"),
|
|
97
97
|
properties: Schema.Struct({
|
|
98
|
-
spaceId:
|
|
98
|
+
spaceId: Key.SpaceId,
|
|
99
99
|
typename: Schema.String
|
|
100
100
|
})
|
|
101
101
|
}), Schema.Struct({
|
|
102
102
|
name: Schema.Literal("space.schema.add"),
|
|
103
103
|
properties: Schema.Struct({
|
|
104
|
-
spaceId:
|
|
104
|
+
spaceId: Key.SpaceId,
|
|
105
105
|
objectId: Schema.String,
|
|
106
106
|
typename: Schema.String
|
|
107
107
|
})
|
|
108
108
|
}), Schema.Struct({
|
|
109
109
|
name: Schema.Literal("space.object.add"),
|
|
110
110
|
properties: Schema.Struct({
|
|
111
|
-
spaceId:
|
|
111
|
+
spaceId: Key.SpaceId,
|
|
112
112
|
objectId: Schema.String,
|
|
113
113
|
typename: Schema.optional(Schema.String)
|
|
114
114
|
})
|
|
115
115
|
}), Schema.Struct({
|
|
116
116
|
name: Schema.Literal("space.share"),
|
|
117
117
|
properties: Schema.Struct({
|
|
118
|
-
spaceId:
|
|
118
|
+
spaceId: Key.SpaceId
|
|
119
119
|
})
|
|
120
120
|
}), Schema.Struct({
|
|
121
121
|
name: Schema.Literal("space.unlock"),
|
|
122
122
|
properties: Schema.Struct({
|
|
123
|
-
spaceId:
|
|
123
|
+
spaceId: Key.SpaceId
|
|
124
124
|
})
|
|
125
125
|
}), Schema.Struct({
|
|
126
126
|
name: Schema.Literal("threads.create"),
|
|
127
127
|
properties: Schema.Struct({
|
|
128
|
-
spaceId:
|
|
128
|
+
spaceId: Key.SpaceId,
|
|
129
129
|
threadId: Schema.String
|
|
130
130
|
})
|
|
131
131
|
}), Schema.Struct({
|
|
132
132
|
name: Schema.Literal("threads.delete"),
|
|
133
133
|
properties: Schema.Struct({
|
|
134
|
-
spaceId:
|
|
134
|
+
spaceId: Key.SpaceId,
|
|
135
135
|
threadId: Schema.String
|
|
136
136
|
})
|
|
137
137
|
}), Schema.Struct({
|
|
138
138
|
name: Schema.Literal("threads.message.add"),
|
|
139
139
|
properties: Schema.Struct({
|
|
140
|
-
spaceId:
|
|
140
|
+
spaceId: Key.SpaceId,
|
|
141
141
|
threadId: Schema.String,
|
|
142
142
|
threadLength: Schema.Number,
|
|
143
143
|
messageId: Schema.String,
|
|
@@ -146,34 +146,34 @@ var UserFeedback = Schema.Struct({
|
|
|
146
146
|
}), Schema.Struct({
|
|
147
147
|
name: Schema.Literal("threads.message.delete"),
|
|
148
148
|
properties: Schema.Struct({
|
|
149
|
-
spaceId:
|
|
149
|
+
spaceId: Key.SpaceId,
|
|
150
150
|
threadId: Schema.String,
|
|
151
151
|
messageId: Schema.String
|
|
152
152
|
})
|
|
153
153
|
}), Schema.Struct({
|
|
154
154
|
name: Schema.Literal("threads.message.undo-delete"),
|
|
155
155
|
properties: Schema.Struct({
|
|
156
|
-
spaceId:
|
|
156
|
+
spaceId: Key.SpaceId,
|
|
157
157
|
threadId: Schema.String,
|
|
158
158
|
messageId: Schema.String
|
|
159
159
|
})
|
|
160
160
|
}), Schema.Struct({
|
|
161
161
|
name: Schema.Literal("threads.message.update"),
|
|
162
162
|
properties: Schema.Struct({
|
|
163
|
-
spaceId:
|
|
163
|
+
spaceId: Key.SpaceId,
|
|
164
164
|
messageId: Schema.String,
|
|
165
165
|
messageLength: Schema.Number
|
|
166
166
|
})
|
|
167
167
|
}), Schema.Struct({
|
|
168
168
|
name: Schema.Literal("threads.toggle-resolved"),
|
|
169
169
|
properties: Schema.Struct({
|
|
170
|
-
spaceId:
|
|
170
|
+
spaceId: Key.SpaceId,
|
|
171
171
|
threadId: Schema.String
|
|
172
172
|
})
|
|
173
173
|
}), Schema.Struct({
|
|
174
174
|
name: Schema.Literal("threads.undo-delete"),
|
|
175
175
|
properties: Schema.Struct({
|
|
176
|
-
spaceId:
|
|
176
|
+
spaceId: Key.SpaceId,
|
|
177
177
|
threadId: Schema.String
|
|
178
178
|
})
|
|
179
179
|
})),
|
|
@@ -188,4 +188,4 @@ export {
|
|
|
188
188
|
UserFeedback,
|
|
189
189
|
ObservabilityAction
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=chunk-
|
|
191
|
+
//# sourceMappingURL=chunk-I32JO7N6.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/types/schema.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Key } from '@dxos/echo';\n\nimport { meta } from '../meta';\n\nconst nonEmpty = <S extends Schema.Schema.Any>(field: string) =>\n Schema.nonEmptyString<S>({ message: () => `Missing field: ${field}` });\n\nconst maxLength = <S extends Schema.Schema.Any>(field: string, length: number) =>\n Schema.maxLength<S>(length, { message: () => `Exceeds max length (${length}): ${field}` });\n\nexport const UserFeedback = Schema.Struct({\n message: Schema.String.pipe(nonEmpty('Feedback'), maxLength('Feedback', 32_768)),\n});\n\nexport type UserFeedback = Schema.Schema.Type<typeof UserFeedback>;\n\nexport namespace ObservabilityAction {\n export class Toggle extends Schema.TaggedClass<Toggle>()(`${meta.id}/action/toggle`, {\n input: Schema.Struct({\n state: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Boolean,\n }) {}\n\n export class CaptureUserFeedback extends Schema.TaggedClass<CaptureUserFeedback>()(\n `${meta.id}/action/capture-feedback`,\n {\n input: UserFeedback,\n output: Schema.Void,\n },\n ) {}\n\n /** Base intent for sending events. */\n export class BaseSendEvent extends Schema.TaggedClass<BaseSendEvent>()(`${meta.id}/action/send-event`, {\n input: Schema.Struct({\n name: Schema.String,\n properties: Schema.optional(Schema.Object),\n }),\n output: Schema.Void,\n }) {}\n\n /** Intent with strict types for first-party events. */\n export class SendEvent extends Schema.TaggedClass<SendEvent>()(`${meta.id}/action/send-event`, {\n // NOTE: Sort alphabetically by name.\n input: Schema.Union(\n Schema.Struct({\n name: Schema.Literal('identity.create'),\n }),\n Schema.Struct({\n name: Schema.Literal('identity.join'),\n }),\n Schema.Struct({\n name: Schema.Literal('identity.recover'),\n }),\n Schema.Struct({\n name: Schema.Literal('identity.share'),\n }),\n Schema.Struct({\n name: Schema.Literal('navigation.activate'),\n properties: Schema.Struct({\n subjectId: Schema.String,\n typename: Schema.optional(Schema.String),\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('page.load'),\n properties: Schema.Struct({\n loadDuration: Schema.Number,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('plugins.toggle'),\n properties: Schema.Struct({\n plugin: Schema.String,\n enabled: Schema.Boolean,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.create'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.join'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.limit'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.lock'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.migrate'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n targetVersion: Schema.optional(Schema.String),\n version: Schema.optional(Schema.String),\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.schema.use'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n typename: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.schema.add'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n objectId: Schema.String,\n typename: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.object.add'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n objectId: Schema.String,\n typename: Schema.optional(Schema.String),\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.share'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.unlock'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.create'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.add'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n threadLength: Schema.Number,\n messageId: Schema.String,\n messageLength: Schema.Number,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n messageId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.undo-delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n messageId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.update'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n messageId: Schema.String,\n messageLength: Schema.Number,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.toggle-resolved'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.undo-delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n ),\n output: Schema.Void,\n }) {}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,WAAW;AAIpB,IAAMC,WAAW,CAA8BC,UACtCC,sBAAkB;EAAEC,SAAS,MAAM,kBAAkBF,KAAAA;AAAQ,CAAA;AAEtE,IAAMG,aAAY,CAA8BH,OAAeI,WACtDD,iBAAaC,QAAQ;EAAEF,SAAS,MAAM,uBAAuBE,MAAAA,MAAYJ,KAAAA;AAAQ,CAAA;AAEnF,IAAMK,eAAsBC,cAAO;EACxCJ,SAAgBK,cAAOC,KAAKT,SAAS,UAAA,GAAaI,WAAU,YAAY,KAAA,CAAA;AAC1E,CAAA;UAIiBM,sBAAAA;EACR,MAAMC,eAAsBC,mBAAW,EAAW,GAAGC,KAAKC,EAAE,kBAAkB;IACnFC,OAAcR,cAAO;MACnBS,OAAcC,gBAAgBC,cAAO;IACvC,CAAA;IACAC,QAAeD;EACjB,CAAA,EAAA;EAAI;uBALSP,SAAAA;EAON,MAAMS,4BAAmCR,mBAAW,EACzD,GAAGC,KAAKC,EAAE,4BACV;IACEC,OAAOT;IACPa,QAAeE;EACjB,CAAA,EAAA;EACC;uBANUD,sBAAAA;EASN,MAAME,sB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QACjBkC,cAAqBV;QACrBW,WAAkBnC;QAClBoC,eAAsBZ;MACxB,CAAA;IACF,CAAA,GACOzB,cAAO;MACZgB,MAAaK,eAAQ,wBAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbI,UAAiBjC;QACjBmC,WAAkBnC;MACpB,CAAA;IACF,CAAA,GACOD,cAAO;MACZgB,MAAaK,eAAQ,6BAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbI,UAAiBjC;QACjBmC,WAAkBnC;MACpB,CAAA;IACF,CAAA,GACOD,cAAO;MACZgB,MAAaK,eAAQ,wBAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbM,WAAkBnC;QAClBoC,eAAsBZ;MACxB,CAAA;IACF,CAAA,GACOzB,cAAO;MACZgB,MAAaK,eAAQ,yBAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbI,UAAiBjC;MACnB,CAAA;IACF,CAAA,GACOD,cAAO;MACZgB,MAAaK,eAAQ,qBAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbI,UAAiBjC;MACnB,CAAA;IACF,CAAA,CAAA;IAEFW,QAAeE;EACjB,CAAA,EAAA;EAAI;AAvKiD,EAAAX,qBACxCgB,YAAAA;AAuKf,GAjMiBhB,wBAAAA,sBAAAA,CAAAA,EAAAA;;",
|
|
6
|
+
"names": ["Schema", "Key", "nonEmpty", "field", "nonEmptyString", "message", "maxLength", "length", "UserFeedback", "Struct", "String", "pipe", "ObservabilityAction", "Toggle", "TaggedClass", "meta", "id", "input", "state", "optional", "Boolean", "output", "CaptureUserFeedback", "Void", "BaseSendEvent", "name", "properties", "Object", "SendEvent", "Union", "Literal", "subjectId", "typename", "loadDuration", "Number", "plugin", "enabled", "spaceId", "Key", "SpaceId", "targetVersion", "version", "objectId", "threadId", "threadLength", "messageId", "messageLength"]
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ObservabilityAction,
|
|
3
3
|
UserFeedback
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I32JO7N6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
meta
|
|
7
7
|
} from "./chunk-W7QWKVS3.mjs";
|
|
@@ -178,4 +178,4 @@ export {
|
|
|
178
178
|
ObservabilitySettingsSchema,
|
|
179
179
|
ObservabilitySettings
|
|
180
180
|
};
|
|
181
|
-
//# sourceMappingURL=chunk-
|
|
181
|
+
//# sourceMappingURL=chunk-ZPNE2QLZ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ObservabilityAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I32JO7N6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ClientCapability,
|
|
6
6
|
ObservabilityCapabilities
|
|
@@ -99,4 +99,4 @@ var client_ready_default = (async ({ context, namespace, observability }) => {
|
|
|
99
99
|
export {
|
|
100
100
|
client_ready_default as default
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=client-ready-
|
|
102
|
+
//# sourceMappingURL=client-ready-SGUJYKFO.mjs.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
HelpContainer,
|
|
4
4
|
ObservabilitySettings,
|
|
5
5
|
ObservabilitySettingsSchema
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZPNE2QLZ.mjs";
|
|
7
|
+
import "./chunk-I32JO7N6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
ObservabilityCapabilities
|
|
10
10
|
} from "./chunk-EC7HTFA5.mjs";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
// src/capabilities/index.ts
|
|
16
16
|
import { lazy } from "@dxos/app-framework";
|
|
17
17
|
var AppGraphBuilder = lazy(() => import("./app-graph-builder-3I6HZ5AR.mjs"));
|
|
18
|
-
var ClientReady = lazy(() => import("./client-ready-
|
|
19
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
20
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
21
|
-
var ObservabilitySettings2 = lazy(() => import("./settings-
|
|
18
|
+
var ClientReady = lazy(() => import("./client-ready-SGUJYKFO.mjs"));
|
|
19
|
+
var IntentResolver = lazy(() => import("./intent-resolver-7AS3LQUD.mjs"));
|
|
20
|
+
var ReactSurface = lazy(() => import("./react-surface-D7OCQATN.mjs"));
|
|
21
|
+
var ObservabilitySettings2 = lazy(() => import("./settings-ILBB3GCR.mjs"));
|
|
22
22
|
var ObservabilityState = lazy(() => import("./state-FJD6K3ZZ.mjs"));
|
|
23
23
|
|
|
24
24
|
// src/events.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ObservabilityAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I32JO7N6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ClientCapability,
|
|
6
6
|
ObservabilityCapabilities
|
|
@@ -74,4 +74,4 @@ var intent_resolver_default = (({ context, namespace }) => contributes(Capabilit
|
|
|
74
74
|
export {
|
|
75
75
|
intent_resolver_default as default
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=intent-resolver-
|
|
77
|
+
//# sourceMappingURL=intent-resolver-7AS3LQUD.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1527,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":2522,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":5751,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":22713,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":468,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/client-ready.ts":{"bytes":13392,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":9854,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/FeedbackForm.tsx":{"bytes":10044,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/HelpContainer.tsx":{"bytes":5757,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"}],"format":"esm"},"src/components/ObservabilitySettings.tsx":{"bytes":6260,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/index.ts":{"bytes":713,"imports":[{"path":"src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"},{"path":"src/components/HelpContainer.tsx","kind":"import-statement","original":"./HelpContainer"},{"path":"src/components/ObservabilitySettings.tsx","kind":"import-statement","original":"./ObservabilitySettings"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3466,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":2050,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/state.ts":{"bytes":3023,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":2158,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/client-ready.ts","kind":"dynamic-import","original":"./client-ready"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"src/events.ts":{"bytes":1719,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":4697,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ObservabilityPlugin.ts":{"bytes":8577,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":1065,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/ObservabilityPlugin.ts","kind":"import-statement","original":"./ObservabilityPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7907},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ABSWYPOR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/client-ready-4RGNCIGS.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-3TZAFHGG.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-NC5OS6RK.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-SVUCKD7J.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/state-FJD6K3ZZ.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","ObservabilityCapabilities","ObservabilityEvents","ObservabilityPlugin","ObservabilitySettings","ObservabilitySettingsSchema","meta"],"entryPoint":"src/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":482},"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":324},"src/ObservabilityPlugin.ts":{"bytesInOutput":1743},"src/translations.ts":{"bytesInOutput":1454}},"bytes":4629},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"}],"exports":["ObservabilityAction","UserFeedback"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":196},"dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2741},"dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1201}},"bytes":1397},"dist/lib/browser/client-ready-4RGNCIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6631},"dist/lib/browser/client-ready-4RGNCIGS.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/client-ready.ts","inputs":{"src/capabilities/client-ready.ts":{"bytesInOutput":3150}},"bytes":3481},"dist/lib/browser/intent-resolver-3TZAFHGG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4873},"dist/lib/browser/intent-resolver-3TZAFHGG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2210}},"bytes":2550},"dist/lib/browser/react-surface-NC5OS6RK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1761},"dist/lib/browser/react-surface-NC5OS6RK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ABSWYPOR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":701}},"bytes":998},"dist/lib/browser/settings-SVUCKD7J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1053},"dist/lib/browser/settings-SVUCKD7J.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ABSWYPOR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":327}},"bytes":597},"dist/lib/browser/chunk-ABSWYPOR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11016},"dist/lib/browser/chunk-ABSWYPOR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFPEPNGO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","ObservabilitySettings","ObservabilitySettingsSchema"],"inputs":{"src/components/FeedbackForm.tsx":{"bytesInOutput":2770},"src/components/HelpContainer.tsx":{"bytesInOutput":1418},"src/components/ObservabilitySettings.tsx":{"bytesInOutput":1655},"src/components/index.ts":{"bytesInOutput":0}},"bytes":6231},"dist/lib/browser/chunk-IFPEPNGO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10751},"dist/lib/browser/chunk-IFPEPNGO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["ObservabilityAction","UserFeedback"],"inputs":{"src/types/schema.ts":{"bytesInOutput":5679},"src/types/index.ts":{"bytesInOutput":0}},"bytes":5845},"dist/lib/browser/state-FJD6K3ZZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1553},"dist/lib/browser/state-FJD6K3ZZ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state.ts","inputs":{"src/capabilities/state.ts":{"bytesInOutput":533}},"bytes":761},"dist/lib/browser/chunk-EC7HTFA5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1246},"dist/lib/browser/chunk-EC7HTFA5.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ClientCapability","ObservabilityCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":467}},"bytes":656},"dist/lib/browser/chunk-W7QWKVS3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":727},"dist/lib/browser/chunk-W7QWKVS3.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":335}},"bytes":414}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1527,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":2522,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":5751,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":22670,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":468,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/client-ready.ts":{"bytes":13392,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":9854,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/FeedbackForm.tsx":{"bytes":10044,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/HelpContainer.tsx":{"bytes":5757,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"}],"format":"esm"},"src/components/ObservabilitySettings.tsx":{"bytes":6260,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/index.ts":{"bytes":713,"imports":[{"path":"src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"},{"path":"src/components/HelpContainer.tsx","kind":"import-statement","original":"./HelpContainer"},{"path":"src/components/ObservabilitySettings.tsx","kind":"import-statement","original":"./ObservabilitySettings"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3466,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":2050,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/state.ts":{"bytes":3023,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":2158,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/client-ready.ts","kind":"dynamic-import","original":"./client-ready"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"src/events.ts":{"bytes":1719,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":4697,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ObservabilityPlugin.ts":{"bytes":8577,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":1065,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/ObservabilityPlugin.ts","kind":"import-statement","original":"./ObservabilityPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7907},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZPNE2QLZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/client-ready-SGUJYKFO.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-7AS3LQUD.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-D7OCQATN.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-ILBB3GCR.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/state-FJD6K3ZZ.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","ObservabilityCapabilities","ObservabilityEvents","ObservabilityPlugin","ObservabilitySettings","ObservabilitySettingsSchema","meta"],"entryPoint":"src/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":482},"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":324},"src/ObservabilityPlugin.ts":{"bytesInOutput":1743},"src/translations.ts":{"bytesInOutput":1454}},"bytes":4629},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"}],"exports":["ObservabilityAction","UserFeedback"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":196},"dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2741},"dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1201}},"bytes":1397},"dist/lib/browser/client-ready-SGUJYKFO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6631},"dist/lib/browser/client-ready-SGUJYKFO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/client-ready.ts","inputs":{"src/capabilities/client-ready.ts":{"bytesInOutput":3150}},"bytes":3481},"dist/lib/browser/intent-resolver-7AS3LQUD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4873},"dist/lib/browser/intent-resolver-7AS3LQUD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2210}},"bytes":2550},"dist/lib/browser/react-surface-D7OCQATN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1761},"dist/lib/browser/react-surface-D7OCQATN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZPNE2QLZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":701}},"bytes":998},"dist/lib/browser/settings-ILBB3GCR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1053},"dist/lib/browser/settings-ILBB3GCR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZPNE2QLZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":327}},"bytes":597},"dist/lib/browser/chunk-ZPNE2QLZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11016},"dist/lib/browser/chunk-ZPNE2QLZ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I32JO7N6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","ObservabilitySettings","ObservabilitySettingsSchema"],"inputs":{"src/components/FeedbackForm.tsx":{"bytesInOutput":2770},"src/components/HelpContainer.tsx":{"bytesInOutput":1418},"src/components/ObservabilitySettings.tsx":{"bytesInOutput":1655},"src/components/index.ts":{"bytesInOutput":0}},"bytes":6231},"dist/lib/browser/chunk-I32JO7N6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10724},"dist/lib/browser/chunk-I32JO7N6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["ObservabilityAction","UserFeedback"],"inputs":{"src/types/schema.ts":{"bytesInOutput":5660},"src/types/index.ts":{"bytesInOutput":0}},"bytes":5826},"dist/lib/browser/state-FJD6K3ZZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1553},"dist/lib/browser/state-FJD6K3ZZ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-EC7HTFA5.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state.ts","inputs":{"src/capabilities/state.ts":{"bytesInOutput":533}},"bytes":761},"dist/lib/browser/chunk-EC7HTFA5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1246},"dist/lib/browser/chunk-EC7HTFA5.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W7QWKVS3.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ClientCapability","ObservabilityCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":467}},"bytes":656},"dist/lib/browser/chunk-W7QWKVS3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":727},"dist/lib/browser/chunk-W7QWKVS3.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":335}},"bytes":414}}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HelpContainer,
|
|
3
3
|
ObservabilitySettings
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ZPNE2QLZ.mjs";
|
|
5
|
+
import "./chunk-I32JO7N6.mjs";
|
|
6
6
|
import {
|
|
7
7
|
meta
|
|
8
8
|
} from "./chunk-W7QWKVS3.mjs";
|
|
@@ -29,4 +29,4 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
|
|
|
29
29
|
export {
|
|
30
30
|
react_surface_default as default
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=react-surface-
|
|
32
|
+
//# sourceMappingURL=react-surface-D7OCQATN.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ObservabilitySettingsSchema
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZPNE2QLZ.mjs";
|
|
4
|
+
import "./chunk-I32JO7N6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
meta
|
|
7
7
|
} from "./chunk-W7QWKVS3.mjs";
|
|
@@ -22,4 +22,4 @@ var settings_default = (() => {
|
|
|
22
22
|
export {
|
|
23
23
|
settings_default as default
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=settings-
|
|
25
|
+
//# sourceMappingURL=settings-ILBB3GCR.mjs.map
|
|
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';const require = createRequire(import
|
|
|
2
2
|
import {
|
|
3
3
|
ObservabilityAction,
|
|
4
4
|
UserFeedback
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JA6DTCPS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
meta
|
|
8
8
|
} from "./chunk-AVJTLRX5.mjs";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
ObservabilitySettingsSchema,
|
|
180
180
|
ObservabilitySettings
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-HDEVP6Z4.mjs.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
|
|
6
6
|
// src/types/schema.ts
|
|
7
7
|
import * as Schema from "effect/Schema";
|
|
8
|
-
import {
|
|
8
|
+
import { Key } from "@dxos/echo";
|
|
9
9
|
var nonEmpty = (field) => Schema.nonEmptyString({
|
|
10
10
|
message: () => `Missing field: ${field}`
|
|
11
11
|
});
|
|
@@ -69,76 +69,76 @@ var UserFeedback = Schema.Struct({
|
|
|
69
69
|
}), Schema.Struct({
|
|
70
70
|
name: Schema.Literal("space.create"),
|
|
71
71
|
properties: Schema.Struct({
|
|
72
|
-
spaceId:
|
|
72
|
+
spaceId: Key.SpaceId
|
|
73
73
|
})
|
|
74
74
|
}), Schema.Struct({
|
|
75
75
|
name: Schema.Literal("space.join"),
|
|
76
76
|
properties: Schema.Struct({
|
|
77
|
-
spaceId:
|
|
77
|
+
spaceId: Key.SpaceId
|
|
78
78
|
})
|
|
79
79
|
}), Schema.Struct({
|
|
80
80
|
name: Schema.Literal("space.limit"),
|
|
81
81
|
properties: Schema.Struct({
|
|
82
|
-
spaceId:
|
|
82
|
+
spaceId: Key.SpaceId
|
|
83
83
|
})
|
|
84
84
|
}), Schema.Struct({
|
|
85
85
|
name: Schema.Literal("space.lock"),
|
|
86
86
|
properties: Schema.Struct({
|
|
87
|
-
spaceId:
|
|
87
|
+
spaceId: Key.SpaceId
|
|
88
88
|
})
|
|
89
89
|
}), Schema.Struct({
|
|
90
90
|
name: Schema.Literal("space.migrate"),
|
|
91
91
|
properties: Schema.Struct({
|
|
92
|
-
spaceId:
|
|
92
|
+
spaceId: Key.SpaceId,
|
|
93
93
|
targetVersion: Schema.optional(Schema.String),
|
|
94
94
|
version: Schema.optional(Schema.String)
|
|
95
95
|
})
|
|
96
96
|
}), Schema.Struct({
|
|
97
97
|
name: Schema.Literal("space.schema.use"),
|
|
98
98
|
properties: Schema.Struct({
|
|
99
|
-
spaceId:
|
|
99
|
+
spaceId: Key.SpaceId,
|
|
100
100
|
typename: Schema.String
|
|
101
101
|
})
|
|
102
102
|
}), Schema.Struct({
|
|
103
103
|
name: Schema.Literal("space.schema.add"),
|
|
104
104
|
properties: Schema.Struct({
|
|
105
|
-
spaceId:
|
|
105
|
+
spaceId: Key.SpaceId,
|
|
106
106
|
objectId: Schema.String,
|
|
107
107
|
typename: Schema.String
|
|
108
108
|
})
|
|
109
109
|
}), Schema.Struct({
|
|
110
110
|
name: Schema.Literal("space.object.add"),
|
|
111
111
|
properties: Schema.Struct({
|
|
112
|
-
spaceId:
|
|
112
|
+
spaceId: Key.SpaceId,
|
|
113
113
|
objectId: Schema.String,
|
|
114
114
|
typename: Schema.optional(Schema.String)
|
|
115
115
|
})
|
|
116
116
|
}), Schema.Struct({
|
|
117
117
|
name: Schema.Literal("space.share"),
|
|
118
118
|
properties: Schema.Struct({
|
|
119
|
-
spaceId:
|
|
119
|
+
spaceId: Key.SpaceId
|
|
120
120
|
})
|
|
121
121
|
}), Schema.Struct({
|
|
122
122
|
name: Schema.Literal("space.unlock"),
|
|
123
123
|
properties: Schema.Struct({
|
|
124
|
-
spaceId:
|
|
124
|
+
spaceId: Key.SpaceId
|
|
125
125
|
})
|
|
126
126
|
}), Schema.Struct({
|
|
127
127
|
name: Schema.Literal("threads.create"),
|
|
128
128
|
properties: Schema.Struct({
|
|
129
|
-
spaceId:
|
|
129
|
+
spaceId: Key.SpaceId,
|
|
130
130
|
threadId: Schema.String
|
|
131
131
|
})
|
|
132
132
|
}), Schema.Struct({
|
|
133
133
|
name: Schema.Literal("threads.delete"),
|
|
134
134
|
properties: Schema.Struct({
|
|
135
|
-
spaceId:
|
|
135
|
+
spaceId: Key.SpaceId,
|
|
136
136
|
threadId: Schema.String
|
|
137
137
|
})
|
|
138
138
|
}), Schema.Struct({
|
|
139
139
|
name: Schema.Literal("threads.message.add"),
|
|
140
140
|
properties: Schema.Struct({
|
|
141
|
-
spaceId:
|
|
141
|
+
spaceId: Key.SpaceId,
|
|
142
142
|
threadId: Schema.String,
|
|
143
143
|
threadLength: Schema.Number,
|
|
144
144
|
messageId: Schema.String,
|
|
@@ -147,34 +147,34 @@ var UserFeedback = Schema.Struct({
|
|
|
147
147
|
}), Schema.Struct({
|
|
148
148
|
name: Schema.Literal("threads.message.delete"),
|
|
149
149
|
properties: Schema.Struct({
|
|
150
|
-
spaceId:
|
|
150
|
+
spaceId: Key.SpaceId,
|
|
151
151
|
threadId: Schema.String,
|
|
152
152
|
messageId: Schema.String
|
|
153
153
|
})
|
|
154
154
|
}), Schema.Struct({
|
|
155
155
|
name: Schema.Literal("threads.message.undo-delete"),
|
|
156
156
|
properties: Schema.Struct({
|
|
157
|
-
spaceId:
|
|
157
|
+
spaceId: Key.SpaceId,
|
|
158
158
|
threadId: Schema.String,
|
|
159
159
|
messageId: Schema.String
|
|
160
160
|
})
|
|
161
161
|
}), Schema.Struct({
|
|
162
162
|
name: Schema.Literal("threads.message.update"),
|
|
163
163
|
properties: Schema.Struct({
|
|
164
|
-
spaceId:
|
|
164
|
+
spaceId: Key.SpaceId,
|
|
165
165
|
messageId: Schema.String,
|
|
166
166
|
messageLength: Schema.Number
|
|
167
167
|
})
|
|
168
168
|
}), Schema.Struct({
|
|
169
169
|
name: Schema.Literal("threads.toggle-resolved"),
|
|
170
170
|
properties: Schema.Struct({
|
|
171
|
-
spaceId:
|
|
171
|
+
spaceId: Key.SpaceId,
|
|
172
172
|
threadId: Schema.String
|
|
173
173
|
})
|
|
174
174
|
}), Schema.Struct({
|
|
175
175
|
name: Schema.Literal("threads.undo-delete"),
|
|
176
176
|
properties: Schema.Struct({
|
|
177
|
-
spaceId:
|
|
177
|
+
spaceId: Key.SpaceId,
|
|
178
178
|
threadId: Schema.String
|
|
179
179
|
})
|
|
180
180
|
})),
|
|
@@ -189,4 +189,4 @@ export {
|
|
|
189
189
|
UserFeedback,
|
|
190
190
|
ObservabilityAction
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
192
|
+
//# sourceMappingURL=chunk-JA6DTCPS.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/types/schema.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Key } from '@dxos/echo';\n\nimport { meta } from '../meta';\n\nconst nonEmpty = <S extends Schema.Schema.Any>(field: string) =>\n Schema.nonEmptyString<S>({ message: () => `Missing field: ${field}` });\n\nconst maxLength = <S extends Schema.Schema.Any>(field: string, length: number) =>\n Schema.maxLength<S>(length, { message: () => `Exceeds max length (${length}): ${field}` });\n\nexport const UserFeedback = Schema.Struct({\n message: Schema.String.pipe(nonEmpty('Feedback'), maxLength('Feedback', 32_768)),\n});\n\nexport type UserFeedback = Schema.Schema.Type<typeof UserFeedback>;\n\nexport namespace ObservabilityAction {\n export class Toggle extends Schema.TaggedClass<Toggle>()(`${meta.id}/action/toggle`, {\n input: Schema.Struct({\n state: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Boolean,\n }) {}\n\n export class CaptureUserFeedback extends Schema.TaggedClass<CaptureUserFeedback>()(\n `${meta.id}/action/capture-feedback`,\n {\n input: UserFeedback,\n output: Schema.Void,\n },\n ) {}\n\n /** Base intent for sending events. */\n export class BaseSendEvent extends Schema.TaggedClass<BaseSendEvent>()(`${meta.id}/action/send-event`, {\n input: Schema.Struct({\n name: Schema.String,\n properties: Schema.optional(Schema.Object),\n }),\n output: Schema.Void,\n }) {}\n\n /** Intent with strict types for first-party events. */\n export class SendEvent extends Schema.TaggedClass<SendEvent>()(`${meta.id}/action/send-event`, {\n // NOTE: Sort alphabetically by name.\n input: Schema.Union(\n Schema.Struct({\n name: Schema.Literal('identity.create'),\n }),\n Schema.Struct({\n name: Schema.Literal('identity.join'),\n }),\n Schema.Struct({\n name: Schema.Literal('identity.recover'),\n }),\n Schema.Struct({\n name: Schema.Literal('identity.share'),\n }),\n Schema.Struct({\n name: Schema.Literal('navigation.activate'),\n properties: Schema.Struct({\n subjectId: Schema.String,\n typename: Schema.optional(Schema.String),\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('page.load'),\n properties: Schema.Struct({\n loadDuration: Schema.Number,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('plugins.toggle'),\n properties: Schema.Struct({\n plugin: Schema.String,\n enabled: Schema.Boolean,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.create'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.join'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.limit'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.lock'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.migrate'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n targetVersion: Schema.optional(Schema.String),\n version: Schema.optional(Schema.String),\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.schema.use'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n typename: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.schema.add'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n objectId: Schema.String,\n typename: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.object.add'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n objectId: Schema.String,\n typename: Schema.optional(Schema.String),\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.share'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('space.unlock'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.create'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.add'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n threadLength: Schema.Number,\n messageId: Schema.String,\n messageLength: Schema.Number,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n messageId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.undo-delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n messageId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.message.update'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n messageId: Schema.String,\n messageLength: Schema.Number,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.toggle-resolved'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n Schema.Struct({\n name: Schema.Literal('threads.undo-delete'),\n properties: Schema.Struct({\n spaceId: Key.SpaceId,\n threadId: Schema.String,\n }),\n }),\n ),\n output: Schema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Z;MACxB,CAAA;IACF,CAAA,GACOzB,cAAO;MACZgB,MAAaK,eAAQ,yBAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbI,UAAiBjC;MACnB,CAAA;IACF,CAAA,GACOD,cAAO;MACZgB,MAAaK,eAAQ,qBAAA;MACrBJ,YAAmBjB,cAAO;QACxB4B,SAASC,IAAIC;QACbI,UAAiBjC;MACnB,CAAA;IACF,CAAA,CAAA;IAEFW,QAAeE;EACjB,CAAA,EAAA;EAAI;AAvKiD,EAAAX,qBACxCgB,YAAAA;AAuKf,GAjMiBhB,wBAAAA,sBAAAA,CAAAA,EAAAA;;",
|
|
6
|
+
"names": ["Schema", "Key", "nonEmpty", "field", "nonEmptyString", "message", "maxLength", "length", "UserFeedback", "Struct", "String", "pipe", "ObservabilityAction", "Toggle", "TaggedClass", "meta", "id", "input", "state", "optional", "Boolean", "output", "CaptureUserFeedback", "Void", "BaseSendEvent", "name", "properties", "Object", "SendEvent", "Union", "Literal", "subjectId", "typename", "loadDuration", "Number", "plugin", "enabled", "spaceId", "Key", "SpaceId", "targetVersion", "version", "objectId", "threadId", "threadLength", "messageId", "messageLength"]
|
|
7
|
+
}
|