@dxos/plugin-observability 0.8.4-main.2e9d522 → 0.8.4-main.3c1ae3b
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/{app-graph-builder-DCOBBL5B.mjs → app-graph-builder-3I6HZ5AR.mjs} +12 -11
- package/dist/lib/browser/app-graph-builder-3I6HZ5AR.mjs.map +7 -0
- package/dist/lib/browser/{chunk-UUOBAWT2.mjs → chunk-EC7HTFA5.mjs} +5 -5
- package/dist/lib/browser/chunk-EC7HTFA5.mjs.map +7 -0
- package/dist/lib/browser/chunk-RLY6UZDS.mjs +123 -0
- package/dist/lib/browser/chunk-RLY6UZDS.mjs.map +7 -0
- package/dist/lib/browser/{chunk-AL5RST75.mjs → chunk-RRMLEY35.mjs} +56 -29
- package/dist/lib/browser/chunk-RRMLEY35.mjs.map +7 -0
- package/dist/lib/browser/chunk-W7QWKVS3.mjs +16 -0
- package/dist/lib/browser/chunk-W7QWKVS3.mjs.map +7 -0
- package/dist/lib/browser/{client-ready-TAII5PYS.mjs → client-ready-XT27JB7J.mjs} +15 -15
- package/dist/lib/browser/client-ready-XT27JB7J.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +21 -49
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/{intent-resolver-5SA443WX.mjs → intent-resolver-QRKGLMMT.mjs} +10 -10
- package/dist/lib/browser/intent-resolver-QRKGLMMT.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-GQC3M7XY.mjs → react-surface-F5GY7AAC.mjs} +11 -11
- package/dist/lib/browser/react-surface-F5GY7AAC.mjs.map +7 -0
- package/dist/lib/browser/{settings-BG3S45SS.mjs → settings-SAFMS6TG.mjs} +6 -6
- package/dist/lib/browser/{settings-BG3S45SS.mjs.map → settings-SAFMS6TG.mjs.map} +1 -1
- package/dist/lib/browser/{state-VIOQS2IL.mjs → state-FJD6K3ZZ.mjs} +7 -7
- package/dist/lib/browser/state-FJD6K3ZZ.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +2 -2
- package/dist/lib/node-esm/{app-graph-builder-6JT2RPVM.mjs → app-graph-builder-KH2GA6G7.mjs} +12 -11
- package/dist/lib/node-esm/app-graph-builder-KH2GA6G7.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-AVJTLRX5.mjs +18 -0
- package/dist/lib/node-esm/chunk-AVJTLRX5.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-JTKEM7PT.mjs → chunk-HACSZKXD.mjs} +5 -5
- package/dist/lib/node-esm/chunk-HACSZKXD.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-JJBWCCSZ.mjs +124 -0
- package/dist/lib/node-esm/chunk-JJBWCCSZ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-5W5V4TVX.mjs → chunk-T5OWY73X.mjs} +56 -29
- package/dist/lib/node-esm/chunk-T5OWY73X.mjs.map +7 -0
- package/dist/lib/node-esm/{client-ready-KER2HNME.mjs → client-ready-AXZXR5EX.mjs} +15 -15
- package/dist/lib/node-esm/client-ready-AXZXR5EX.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +21 -49
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/{intent-resolver-YYBRI4TZ.mjs → intent-resolver-WXZEG7SP.mjs} +10 -10
- package/dist/lib/node-esm/intent-resolver-WXZEG7SP.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-ZYMR7TMY.mjs → react-surface-DNASLRFA.mjs} +11 -11
- package/dist/lib/node-esm/react-surface-DNASLRFA.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-HSLQO3OC.mjs → settings-22NXJMTF.mjs} +6 -6
- package/dist/lib/node-esm/{settings-HSLQO3OC.mjs.map → settings-22NXJMTF.mjs.map} +1 -1
- package/dist/lib/node-esm/{state-J2WS6L64.mjs → state-XNBMNLB7.mjs} +7 -7
- package/dist/lib/node-esm/state-XNBMNLB7.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +2 -2
- package/dist/types/src/ObservabilityPlugin.d.ts +3 -2
- package/dist/types/src/ObservabilityPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/client-ready.d.ts +1 -1
- package/dist/types/src/capabilities/client-ready.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +6 -6
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -1
- package/dist/types/src/capabilities/state.d.ts +1 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/FeedbackForm.d.ts +3 -3
- package/dist/types/src/components/FeedbackForm.d.ts.map +1 -1
- package/dist/types/src/components/FeedbackForm.stories.d.ts +34 -0
- package/dist/types/src/components/FeedbackForm.stories.d.ts.map +1 -0
- package/dist/types/src/components/HelpContainer.d.ts.map +1 -1
- package/dist/types/src/components/ObservabilitySettings.d.ts +1 -1
- package/dist/types/src/components/ObservabilitySettings.d.ts.map +1 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +3 -2
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +112 -112
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -32
- package/src/ObservabilityPlugin.ts +52 -49
- package/src/capabilities/app-graph-builder.ts +12 -10
- package/src/capabilities/capabilities.ts +4 -3
- package/src/capabilities/client-ready.ts +14 -13
- package/src/capabilities/intent-resolver.ts +5 -4
- package/src/capabilities/react-surface.tsx +5 -5
- package/src/capabilities/state.ts +3 -2
- package/src/components/FeedbackForm.stories.tsx +33 -0
- package/src/components/FeedbackForm.tsx +13 -69
- package/src/components/HelpContainer.tsx +10 -8
- package/src/components/ObservabilitySettings.tsx +21 -20
- package/src/events.ts +3 -3
- package/src/meta.ts +6 -3
- package/src/translations.ts +3 -2
- package/src/types/schema.ts +30 -26
- package/dist/lib/browser/app-graph-builder-DCOBBL5B.mjs.map +0 -7
- package/dist/lib/browser/chunk-57RVSKYP.mjs +0 -13
- package/dist/lib/browser/chunk-57RVSKYP.mjs.map +0 -7
- package/dist/lib/browser/chunk-AL5RST75.mjs.map +0 -7
- package/dist/lib/browser/chunk-UUOBAWT2.mjs.map +0 -7
- package/dist/lib/browser/chunk-YVKMVVGP.mjs +0 -175
- package/dist/lib/browser/chunk-YVKMVVGP.mjs.map +0 -7
- package/dist/lib/browser/client-ready-TAII5PYS.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-5SA443WX.mjs.map +0 -7
- package/dist/lib/browser/react-surface-GQC3M7XY.mjs.map +0 -7
- package/dist/lib/browser/state-VIOQS2IL.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-6JT2RPVM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5W5V4TVX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-7XR7KMAA.mjs +0 -15
- package/dist/lib/node-esm/chunk-7XR7KMAA.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JTKEM7PT.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-TYZLSIA4.mjs +0 -176
- package/dist/lib/node-esm/chunk-TYZLSIA4.mjs.map +0 -7
- package/dist/lib/node-esm/client-ready-KER2HNME.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-YYBRI4TZ.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-ZYMR7TMY.mjs.map +0 -7
- package/dist/lib/node-esm/state-J2WS6L64.mjs.map +0 -7
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-graph").BuilderExtensions>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
2
2
|
export declare const ClientReady: (props?: {
|
|
3
3
|
context: import("@dxos/app-framework").PluginContext;
|
|
4
4
|
namespace: string;
|
|
5
5
|
observability: import("@dxos/observability").Observability;
|
|
6
|
-
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/observability").Observability
|
|
6
|
+
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/observability").Observability>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
7
7
|
export declare const IntentResolver: (props?: {
|
|
8
8
|
context: import("@dxos/app-framework").PluginContext;
|
|
9
9
|
namespace: string;
|
|
10
|
-
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver
|
|
11
|
-
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface
|
|
12
|
-
export declare const ObservabilitySettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings
|
|
10
|
+
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.IntentResolver>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
11
|
+
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.ReactSurface>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
12
|
+
export declare const ObservabilitySettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.Settings>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
13
13
|
export declare const ObservabilityState: (props?: {
|
|
14
14
|
namespace: string;
|
|
15
|
-
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/
|
|
15
|
+
} | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("./capabilities").ObservabilityCapabilities.State>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
16
16
|
export * from './capabilities';
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,gRAA4C,CAAC;AACzE,eAAO,MAAM,WAAW;;;;2NAAuC,CAAC;AAChE,eAAO,MAAM,cAAc;;;yOAA0C,CAAC;AACtE,eAAO,MAAM,YAAY,4OAAwC,CAAC;AAClE,eAAO,MAAM,qBAAqB,wOAAmC,CAAC;AACtE,eAAO,MAAM,kBAAkB;;wOAAgC,CAAC;AAEhE,cAAc,gBAAgB,CAAC"}
|
|
@@ -2,6 +2,6 @@ import { Capabilities, type PluginContext } from '@dxos/app-framework';
|
|
|
2
2
|
declare const _default: ({ context, namespace }: {
|
|
3
3
|
context: PluginContext;
|
|
4
4
|
namespace: string;
|
|
5
|
-
}) => import("@dxos/app-framework").Capability<Capabilities.IntentResolver
|
|
5
|
+
}) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.IntentResolver>>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=intent-resolver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAgB,KAAK,aAAa,EAA+B,MAAM,qBAAqB,CAAC;yBAUlG,wBAAwB;IAAE,OAAO,EAAE,aAAa,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;AAArF,wBAsDK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Capabilities } from '@dxos/app-framework';
|
|
2
|
-
declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.ReactSurface
|
|
2
|
+
declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.ReactSurface>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAM/E,wBAcK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Capabilities } from '@dxos/app-framework';
|
|
2
|
-
declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.Settings
|
|
2
|
+
declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.Settings>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ObservabilityCapabilities } from './capabilities';
|
|
2
2
|
declare const _default: ({ namespace }: {
|
|
3
3
|
namespace: string;
|
|
4
|
-
}) => Promise<import("@dxos/app-framework").Capability<import("@dxos/
|
|
4
|
+
}) => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<ObservabilityCapabilities.State>>>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;yBAErC,eAAe;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE;AAA1D,wBASE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type FormRootProps } from '@dxos/react-ui-form';
|
|
2
3
|
import { UserFeedback } from '../types';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}) => React.JSX.Element;
|
|
4
|
+
export type FeedbackFormProps = Pick<FormRootProps<UserFeedback>, 'onSave'>;
|
|
5
|
+
export declare const FeedbackForm: ({ onSave }: FeedbackFormProps) => React.JSX.Element;
|
|
6
6
|
//# sourceMappingURL=FeedbackForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeedbackForm.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedbackForm.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"FeedbackForm.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedbackForm.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAG/D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,CAAC;AAE5E,eAAO,MAAM,YAAY,GAAI,YAAY,iBAAiB,sBAWzD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ onSave }: import("./FeedbackForm").FeedbackFormProps) => import("react").JSX.Element;
|
|
5
|
+
decorators: import("@storybook/react").Decorator[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
translations: [{
|
|
9
|
+
readonly 'en-US': {
|
|
10
|
+
readonly [meta.id]: {
|
|
11
|
+
readonly 'plugin name': "Telemetry";
|
|
12
|
+
readonly 'settings title': "Telemetry settings";
|
|
13
|
+
readonly 'observability toast label': "Privacy Notice";
|
|
14
|
+
readonly 'observability toast description': "Composer collects usage and performance metrics to improve the product. No user data is collected.";
|
|
15
|
+
readonly 'observability toast action label': "Settings";
|
|
16
|
+
readonly 'observability toast action alt': "Open settings to learn more or to disable.";
|
|
17
|
+
readonly 'observability toast close label': "Okay";
|
|
18
|
+
readonly 'observability enabled label': "Enable telemetry";
|
|
19
|
+
readonly 'observability description': "When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.";
|
|
20
|
+
readonly 'help label': "Feedback & Support";
|
|
21
|
+
readonly 'feedback textarea label': "Feedback";
|
|
22
|
+
readonly 'feedback textarea placeholder': "Please enter your feedback, technical issue, or feature request.";
|
|
23
|
+
readonly 'send feedback label': "Send Feedback";
|
|
24
|
+
readonly 'feedback toast label': "Thank you for your feedback!";
|
|
25
|
+
readonly 'feedback toast description': "We will review your feedback and get back to you as soon as possible.";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default meta;
|
|
32
|
+
type Story = StoryObj<typeof meta>;
|
|
33
|
+
export declare const Default: Story;
|
|
34
|
+
//# sourceMappingURL=FeedbackForm.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackForm.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedbackForm.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;;yBANoD,CAEzD,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;CAYwB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HelpContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,eAAO,MAAM,aAAa,yBA0BzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObservabilitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/ObservabilitySettings.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"ObservabilitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/ObservabilitySettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,2BAA2B;;GAQvC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhG,eAAO,MAAM,qBAAqB,GAAI,cAAc;IAAE,QAAQ,EAAE,0BAA0B,CAAA;CAAE,sBAqB3F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,mBAAmB,CAAC;IAC5B,MAAM,UAAU,+
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,mBAAmB,CAAC;IAC5B,MAAM,UAAU,+CAAmC,CAAC;CAC5D;AAGD,eAAO,MAAM,gBAAgB,+CAA2D,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,eAAO,MAAM,IAAI,EAAE,UAQlB,CAAC"}
|
|
@@ -3,6 +3,7 @@ export declare const translations: [{
|
|
|
3
3
|
readonly 'en-US': {
|
|
4
4
|
readonly [meta.id]: {
|
|
5
5
|
readonly 'plugin name': "Telemetry";
|
|
6
|
+
readonly 'settings title': "Telemetry settings";
|
|
6
7
|
readonly 'observability toast label': "Privacy Notice";
|
|
7
8
|
readonly 'observability toast description': "Composer collects usage and performance metrics to improve the product. No user data is collected.";
|
|
8
9
|
readonly 'observability toast action label': "Settings";
|
|
@@ -11,8 +12,8 @@ export declare const translations: [{
|
|
|
11
12
|
readonly 'observability enabled label': "Enable telemetry";
|
|
12
13
|
readonly 'observability description': "When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.";
|
|
13
14
|
readonly 'help label': "Feedback & Support";
|
|
14
|
-
readonly 'feedback
|
|
15
|
-
readonly 'feedback
|
|
15
|
+
readonly 'feedback textarea label': "Feedback";
|
|
16
|
+
readonly 'feedback textarea placeholder': "Please enter your feedback, technical issue, or feature request.";
|
|
16
17
|
readonly 'send feedback label': "Send Feedback";
|
|
17
18
|
readonly 'feedback toast label': "Thank you for your feedback!";
|
|
18
19
|
readonly 'feedback toast description': "We will review your feedback and get back to you as soon as possible.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;UAoBR;;EAGwB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { Key } from '@dxos/echo';
|
|
3
3
|
export declare const UserFeedback: Schema.Struct<{
|
|
4
|
-
message: Schema.
|
|
4
|
+
message: Schema.refine<string, Schema.filter<typeof Schema.String>>;
|
|
5
5
|
}>;
|
|
6
6
|
export type UserFeedback = Schema.Schema.Type<typeof UserFeedback>;
|
|
7
7
|
export declare namespace ObservabilityAction {
|
|
@@ -19,7 +19,7 @@ export declare namespace ObservabilityAction {
|
|
|
19
19
|
readonly _tag: Schema.tag<`${string}/action/capture-feedback`>;
|
|
20
20
|
} & {
|
|
21
21
|
input: Schema.Struct<{
|
|
22
|
-
message: Schema.
|
|
22
|
+
message: Schema.refine<string, Schema.filter<typeof Schema.String>>;
|
|
23
23
|
}>;
|
|
24
24
|
output: typeof Schema.Void;
|
|
25
25
|
}>;
|
|
@@ -68,61 +68,61 @@ export declare namespace ObservabilityAction {
|
|
|
68
68
|
}>, Schema.Struct<{
|
|
69
69
|
name: Schema.Literal<["space.create"]>;
|
|
70
70
|
properties: Schema.Struct<{
|
|
71
|
-
spaceId: Schema.Schema<
|
|
71
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
72
72
|
byteLength: number;
|
|
73
|
-
encode: (value: Uint8Array) =>
|
|
74
|
-
decode: (value:
|
|
75
|
-
isValid: (value:
|
|
76
|
-
make: (value: string) =>
|
|
77
|
-
random: () =>
|
|
73
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
74
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
75
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
76
|
+
make: (value: string) => Key.SpaceId;
|
|
77
|
+
random: () => Key.SpaceId;
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
80
|
}>, Schema.Struct<{
|
|
81
81
|
name: Schema.Literal<["space.join"]>;
|
|
82
82
|
properties: Schema.Struct<{
|
|
83
|
-
spaceId: Schema.Schema<
|
|
83
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
84
84
|
byteLength: number;
|
|
85
|
-
encode: (value: Uint8Array) =>
|
|
86
|
-
decode: (value:
|
|
87
|
-
isValid: (value:
|
|
88
|
-
make: (value: string) =>
|
|
89
|
-
random: () =>
|
|
85
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
86
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
87
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
88
|
+
make: (value: string) => Key.SpaceId;
|
|
89
|
+
random: () => Key.SpaceId;
|
|
90
90
|
};
|
|
91
91
|
}>;
|
|
92
92
|
}>, Schema.Struct<{
|
|
93
93
|
name: Schema.Literal<["space.limit"]>;
|
|
94
94
|
properties: Schema.Struct<{
|
|
95
|
-
spaceId: Schema.Schema<
|
|
95
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
96
96
|
byteLength: number;
|
|
97
|
-
encode: (value: Uint8Array) =>
|
|
98
|
-
decode: (value:
|
|
99
|
-
isValid: (value:
|
|
100
|
-
make: (value: string) =>
|
|
101
|
-
random: () =>
|
|
97
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
98
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
99
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
100
|
+
make: (value: string) => Key.SpaceId;
|
|
101
|
+
random: () => Key.SpaceId;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
104
104
|
}>, Schema.Struct<{
|
|
105
105
|
name: Schema.Literal<["space.lock"]>;
|
|
106
106
|
properties: Schema.Struct<{
|
|
107
|
-
spaceId: Schema.Schema<
|
|
107
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
108
108
|
byteLength: number;
|
|
109
|
-
encode: (value: Uint8Array) =>
|
|
110
|
-
decode: (value:
|
|
111
|
-
isValid: (value:
|
|
112
|
-
make: (value: string) =>
|
|
113
|
-
random: () =>
|
|
109
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
110
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
111
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
112
|
+
make: (value: string) => Key.SpaceId;
|
|
113
|
+
random: () => Key.SpaceId;
|
|
114
114
|
};
|
|
115
115
|
}>;
|
|
116
116
|
}>, Schema.Struct<{
|
|
117
117
|
name: Schema.Literal<["space.migrate"]>;
|
|
118
118
|
properties: Schema.Struct<{
|
|
119
|
-
spaceId: Schema.Schema<
|
|
119
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
120
120
|
byteLength: number;
|
|
121
|
-
encode: (value: Uint8Array) =>
|
|
122
|
-
decode: (value:
|
|
123
|
-
isValid: (value:
|
|
124
|
-
make: (value: string) =>
|
|
125
|
-
random: () =>
|
|
121
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
122
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
123
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
124
|
+
make: (value: string) => Key.SpaceId;
|
|
125
|
+
random: () => Key.SpaceId;
|
|
126
126
|
};
|
|
127
127
|
targetVersion: Schema.optional<typeof Schema.String>;
|
|
128
128
|
version: Schema.optional<typeof Schema.String>;
|
|
@@ -130,26 +130,26 @@ export declare namespace ObservabilityAction {
|
|
|
130
130
|
}>, Schema.Struct<{
|
|
131
131
|
name: Schema.Literal<["space.schema.use"]>;
|
|
132
132
|
properties: Schema.Struct<{
|
|
133
|
-
spaceId: Schema.Schema<
|
|
133
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
134
134
|
byteLength: number;
|
|
135
|
-
encode: (value: Uint8Array) =>
|
|
136
|
-
decode: (value:
|
|
137
|
-
isValid: (value:
|
|
138
|
-
make: (value: string) =>
|
|
139
|
-
random: () =>
|
|
135
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
136
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
137
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
138
|
+
make: (value: string) => Key.SpaceId;
|
|
139
|
+
random: () => Key.SpaceId;
|
|
140
140
|
};
|
|
141
141
|
typename: typeof Schema.String;
|
|
142
142
|
}>;
|
|
143
143
|
}>, Schema.Struct<{
|
|
144
144
|
name: Schema.Literal<["space.schema.add"]>;
|
|
145
145
|
properties: Schema.Struct<{
|
|
146
|
-
spaceId: Schema.Schema<
|
|
146
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
147
147
|
byteLength: number;
|
|
148
|
-
encode: (value: Uint8Array) =>
|
|
149
|
-
decode: (value:
|
|
150
|
-
isValid: (value:
|
|
151
|
-
make: (value: string) =>
|
|
152
|
-
random: () =>
|
|
148
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
149
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
150
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
151
|
+
make: (value: string) => Key.SpaceId;
|
|
152
|
+
random: () => Key.SpaceId;
|
|
153
153
|
};
|
|
154
154
|
objectId: typeof Schema.String;
|
|
155
155
|
typename: typeof Schema.String;
|
|
@@ -157,13 +157,13 @@ export declare namespace ObservabilityAction {
|
|
|
157
157
|
}>, Schema.Struct<{
|
|
158
158
|
name: Schema.Literal<["space.object.add"]>;
|
|
159
159
|
properties: Schema.Struct<{
|
|
160
|
-
spaceId: Schema.Schema<
|
|
160
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
161
161
|
byteLength: number;
|
|
162
|
-
encode: (value: Uint8Array) =>
|
|
163
|
-
decode: (value:
|
|
164
|
-
isValid: (value:
|
|
165
|
-
make: (value: string) =>
|
|
166
|
-
random: () =>
|
|
162
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
163
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
164
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
165
|
+
make: (value: string) => Key.SpaceId;
|
|
166
|
+
random: () => Key.SpaceId;
|
|
167
167
|
};
|
|
168
168
|
objectId: typeof Schema.String;
|
|
169
169
|
typename: Schema.optional<typeof Schema.String>;
|
|
@@ -171,63 +171,63 @@ export declare namespace ObservabilityAction {
|
|
|
171
171
|
}>, Schema.Struct<{
|
|
172
172
|
name: Schema.Literal<["space.share"]>;
|
|
173
173
|
properties: Schema.Struct<{
|
|
174
|
-
spaceId: Schema.Schema<
|
|
174
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
175
175
|
byteLength: number;
|
|
176
|
-
encode: (value: Uint8Array) =>
|
|
177
|
-
decode: (value:
|
|
178
|
-
isValid: (value:
|
|
179
|
-
make: (value: string) =>
|
|
180
|
-
random: () =>
|
|
176
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
177
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
178
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
179
|
+
make: (value: string) => Key.SpaceId;
|
|
180
|
+
random: () => Key.SpaceId;
|
|
181
181
|
};
|
|
182
182
|
}>;
|
|
183
183
|
}>, Schema.Struct<{
|
|
184
184
|
name: Schema.Literal<["space.unlock"]>;
|
|
185
185
|
properties: Schema.Struct<{
|
|
186
|
-
spaceId: Schema.Schema<
|
|
186
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
187
187
|
byteLength: number;
|
|
188
|
-
encode: (value: Uint8Array) =>
|
|
189
|
-
decode: (value:
|
|
190
|
-
isValid: (value:
|
|
191
|
-
make: (value: string) =>
|
|
192
|
-
random: () =>
|
|
188
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
189
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
190
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
191
|
+
make: (value: string) => Key.SpaceId;
|
|
192
|
+
random: () => Key.SpaceId;
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
195
195
|
}>, Schema.Struct<{
|
|
196
196
|
name: Schema.Literal<["threads.create"]>;
|
|
197
197
|
properties: Schema.Struct<{
|
|
198
|
-
spaceId: Schema.Schema<
|
|
198
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
199
199
|
byteLength: number;
|
|
200
|
-
encode: (value: Uint8Array) =>
|
|
201
|
-
decode: (value:
|
|
202
|
-
isValid: (value:
|
|
203
|
-
make: (value: string) =>
|
|
204
|
-
random: () =>
|
|
200
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
201
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
202
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
203
|
+
make: (value: string) => Key.SpaceId;
|
|
204
|
+
random: () => Key.SpaceId;
|
|
205
205
|
};
|
|
206
206
|
threadId: typeof Schema.String;
|
|
207
207
|
}>;
|
|
208
208
|
}>, Schema.Struct<{
|
|
209
209
|
name: Schema.Literal<["threads.delete"]>;
|
|
210
210
|
properties: Schema.Struct<{
|
|
211
|
-
spaceId: Schema.Schema<
|
|
211
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
212
212
|
byteLength: number;
|
|
213
|
-
encode: (value: Uint8Array) =>
|
|
214
|
-
decode: (value:
|
|
215
|
-
isValid: (value:
|
|
216
|
-
make: (value: string) =>
|
|
217
|
-
random: () =>
|
|
213
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
214
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
215
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
216
|
+
make: (value: string) => Key.SpaceId;
|
|
217
|
+
random: () => Key.SpaceId;
|
|
218
218
|
};
|
|
219
219
|
threadId: typeof Schema.String;
|
|
220
220
|
}>;
|
|
221
221
|
}>, Schema.Struct<{
|
|
222
222
|
name: Schema.Literal<["threads.message.add"]>;
|
|
223
223
|
properties: Schema.Struct<{
|
|
224
|
-
spaceId: Schema.Schema<
|
|
224
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
225
225
|
byteLength: number;
|
|
226
|
-
encode: (value: Uint8Array) =>
|
|
227
|
-
decode: (value:
|
|
228
|
-
isValid: (value:
|
|
229
|
-
make: (value: string) =>
|
|
230
|
-
random: () =>
|
|
226
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
227
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
228
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
229
|
+
make: (value: string) => Key.SpaceId;
|
|
230
|
+
random: () => Key.SpaceId;
|
|
231
231
|
};
|
|
232
232
|
threadId: typeof Schema.String;
|
|
233
233
|
threadLength: typeof Schema.Number;
|
|
@@ -237,13 +237,13 @@ export declare namespace ObservabilityAction {
|
|
|
237
237
|
}>, Schema.Struct<{
|
|
238
238
|
name: Schema.Literal<["threads.message.delete"]>;
|
|
239
239
|
properties: Schema.Struct<{
|
|
240
|
-
spaceId: Schema.Schema<
|
|
240
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
241
241
|
byteLength: number;
|
|
242
|
-
encode: (value: Uint8Array) =>
|
|
243
|
-
decode: (value:
|
|
244
|
-
isValid: (value:
|
|
245
|
-
make: (value: string) =>
|
|
246
|
-
random: () =>
|
|
242
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
243
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
244
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
245
|
+
make: (value: string) => Key.SpaceId;
|
|
246
|
+
random: () => Key.SpaceId;
|
|
247
247
|
};
|
|
248
248
|
threadId: typeof Schema.String;
|
|
249
249
|
messageId: typeof Schema.String;
|
|
@@ -251,13 +251,13 @@ export declare namespace ObservabilityAction {
|
|
|
251
251
|
}>, Schema.Struct<{
|
|
252
252
|
name: Schema.Literal<["threads.message.undo-delete"]>;
|
|
253
253
|
properties: Schema.Struct<{
|
|
254
|
-
spaceId: Schema.Schema<
|
|
254
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
255
255
|
byteLength: number;
|
|
256
|
-
encode: (value: Uint8Array) =>
|
|
257
|
-
decode: (value:
|
|
258
|
-
isValid: (value:
|
|
259
|
-
make: (value: string) =>
|
|
260
|
-
random: () =>
|
|
256
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
257
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
258
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
259
|
+
make: (value: string) => Key.SpaceId;
|
|
260
|
+
random: () => Key.SpaceId;
|
|
261
261
|
};
|
|
262
262
|
threadId: typeof Schema.String;
|
|
263
263
|
messageId: typeof Schema.String;
|
|
@@ -265,13 +265,13 @@ export declare namespace ObservabilityAction {
|
|
|
265
265
|
}>, Schema.Struct<{
|
|
266
266
|
name: Schema.Literal<["threads.message.update"]>;
|
|
267
267
|
properties: Schema.Struct<{
|
|
268
|
-
spaceId: Schema.Schema<
|
|
268
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
269
269
|
byteLength: number;
|
|
270
|
-
encode: (value: Uint8Array) =>
|
|
271
|
-
decode: (value:
|
|
272
|
-
isValid: (value:
|
|
273
|
-
make: (value: string) =>
|
|
274
|
-
random: () =>
|
|
270
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
271
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
272
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
273
|
+
make: (value: string) => Key.SpaceId;
|
|
274
|
+
random: () => Key.SpaceId;
|
|
275
275
|
};
|
|
276
276
|
messageId: typeof Schema.String;
|
|
277
277
|
messageLength: typeof Schema.Number;
|
|
@@ -279,26 +279,26 @@ export declare namespace ObservabilityAction {
|
|
|
279
279
|
}>, Schema.Struct<{
|
|
280
280
|
name: Schema.Literal<["threads.toggle-resolved"]>;
|
|
281
281
|
properties: Schema.Struct<{
|
|
282
|
-
spaceId: Schema.Schema<
|
|
282
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
283
283
|
byteLength: number;
|
|
284
|
-
encode: (value: Uint8Array) =>
|
|
285
|
-
decode: (value:
|
|
286
|
-
isValid: (value:
|
|
287
|
-
make: (value: string) =>
|
|
288
|
-
random: () =>
|
|
284
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
285
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
286
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
287
|
+
make: (value: string) => Key.SpaceId;
|
|
288
|
+
random: () => Key.SpaceId;
|
|
289
289
|
};
|
|
290
290
|
threadId: typeof Schema.String;
|
|
291
291
|
}>;
|
|
292
292
|
}>, Schema.Struct<{
|
|
293
293
|
name: Schema.Literal<["threads.undo-delete"]>;
|
|
294
294
|
properties: Schema.Struct<{
|
|
295
|
-
spaceId: Schema.Schema<
|
|
295
|
+
spaceId: Schema.Schema<Key.SpaceId, string, never> & {
|
|
296
296
|
byteLength: number;
|
|
297
|
-
encode: (value: Uint8Array) =>
|
|
298
|
-
decode: (value:
|
|
299
|
-
isValid: (value:
|
|
300
|
-
make: (value: string) =>
|
|
301
|
-
random: () =>
|
|
297
|
+
encode: (value: Uint8Array) => Key.SpaceId;
|
|
298
|
+
decode: (value: Key.SpaceId) => Uint8Array;
|
|
299
|
+
isValid: (value: unknown) => value is Key.SpaceId;
|
|
300
|
+
make: (value: string) => Key.SpaceId;
|
|
301
|
+
random: () => Key.SpaceId;
|
|
302
302
|
};
|
|
303
303
|
threadId: typeof Schema.String;
|
|
304
304
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAU,GAAG,EAAE,MAAM,YAAY,CAAC;AAOzC,eAAO,MAAM,YAAY;;EASvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEnE,yBAAiB,mBAAmB,CAAC;;;;;;;;;IACnC,MAAM,OAAO,MAAO,SAAQ,WAK1B;KAAG;;;;;;;;;IAEL,MAAM,OAAO,mBAAoB,SAAQ,wBAMxC;KAAG;;;;;;;;;;IAEJ,sCAAsC;IACtC,MAAM,OAAO,aAAc,SAAQ,kBAMjC;KAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEL,uDAAuD;IACvD,MAAM,OAAO,SAAU,SAAQ,cAsK7B;KAAG;;CACN"}
|