@dxos/plugin-space 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/{CollectionArticle-XPNA6EHZ.mjs → CollectionArticle-OQMUVFVV.mjs} +53 -57
- package/dist/lib/browser/CollectionArticle-OQMUVFVV.mjs.map +7 -0
- package/dist/lib/browser/{chunk-3X2EA2OA.mjs → chunk-TWUMNPG4.mjs} +2 -2
- package/dist/lib/browser/index.mjs +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-PI7VTZUZ.mjs → react-root-3SPMM45V.mjs} +2 -2
- package/dist/lib/browser/{react-surface-BPE7VWI7.mjs → react-surface-UUS7NDHS.mjs} +2 -2
- package/dist/lib/node-esm/{CollectionArticle-WGHNZNO2.mjs → CollectionArticle-V5OOJVJJ.mjs} +53 -57
- package/dist/lib/node-esm/CollectionArticle-V5OOJVJJ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-EYS3L2NO.mjs → chunk-FYSBFBSD.mjs} +2 -2
- package/dist/lib/node-esm/index.mjs +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-root-KUXM33JI.mjs → react-root-Y6JTGDTW.mjs} +2 -2
- package/dist/lib/node-esm/{react-surface-STCQKUZ4.mjs → react-surface-SQ4SK3OK.mjs} +2 -2
- package/dist/types/src/components/CollectionArticle.d.ts +1 -1
- package/dist/types/src/components/CollectionArticle.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/types/types.d.ts +8 -8
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +56 -56
- package/src/components/CollectionArticle.tsx +62 -67
- package/dist/lib/browser/CollectionArticle-XPNA6EHZ.mjs.map +0 -7
- package/dist/lib/node-esm/CollectionArticle-WGHNZNO2.mjs.map +0 -7
- /package/dist/lib/browser/{chunk-3X2EA2OA.mjs.map → chunk-TWUMNPG4.mjs.map} +0 -0
- /package/dist/lib/browser/{react-root-PI7VTZUZ.mjs.map → react-root-3SPMM45V.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-BPE7VWI7.mjs.map → react-surface-UUS7NDHS.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-EYS3L2NO.mjs.map → chunk-FYSBFBSD.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-root-KUXM33JI.mjs.map → react-root-Y6JTGDTW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-STCQKUZ4.mjs.map → react-surface-SQ4SK3OK.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
AwaitingObject
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FYSBFBSD.mjs";
|
|
5
5
|
import "./chunk-JOBIWCBC.mjs";
|
|
6
6
|
import "./chunk-7KMYUWSR.mjs";
|
|
7
7
|
import {
|
|
@@ -28,4 +28,4 @@ var react_root_default = Capability.makeModule(() => Effect.succeed(Capability.c
|
|
|
28
28
|
export {
|
|
29
29
|
react_root_default as default
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=react-root-
|
|
31
|
+
//# sourceMappingURL=react-root-Y6JTGDTW.mjs.map
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
SpaceSettingsContainer,
|
|
28
28
|
SyncStatus,
|
|
29
29
|
ViewEditor
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FYSBFBSD.mjs";
|
|
31
31
|
import {
|
|
32
32
|
useTypeOptions
|
|
33
33
|
} from "./chunk-JOBIWCBC.mjs";
|
|
@@ -380,4 +380,4 @@ var react_surface_default = Capability.makeModule(Effect.fnUntraced(function* (p
|
|
|
380
380
|
export {
|
|
381
381
|
react_surface_default as default
|
|
382
382
|
};
|
|
383
|
-
//# sourceMappingURL=react-surface-
|
|
383
|
+
//# sourceMappingURL=react-surface-SQ4SK3OK.mjs.map
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { type SurfaceComponentProps } from '@dxos/app-framework/react';
|
|
3
3
|
import { Collection } from '@dxos/schema';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Article view for collections.
|
|
6
6
|
*/
|
|
7
7
|
export declare const CollectionArticle: ({ subject }: SurfaceComponentProps<Collection.Collection | Collection.Managed>) => React.JSX.Element;
|
|
8
8
|
export default CollectionArticle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionArticle.d.ts","sourceRoot":"","sources":["../../../../src/components/CollectionArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"CollectionArticle.d.ts","sourceRoot":"","sources":["../../../../src/components/CollectionArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,KAAK,qBAAqB,EAAwC,MAAM,2BAA2B,CAAC;AAO7G,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAa1C;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,aAAa,qBAAqB,CAAC,UAAU,CAAC,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,sBAqB/G,CAAC;AAkCF,eAAe,iBAAiB,CAAC"}
|
|
@@ -14,7 +14,7 @@ export * from './SyncStatus';
|
|
|
14
14
|
export * from './ViewEditor';
|
|
15
15
|
export declare const CollectionArticle: import("react").LazyExoticComponent<({ subject }: import("@dxos/app-framework/react").SurfaceComponentProps<(import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
16
16
|
readonly name?: string | undefined;
|
|
17
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
17
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
18
18
|
}) | (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
19
19
|
readonly key: string;
|
|
20
20
|
})>) => import("react").JSX.Element>;
|
|
@@ -114,7 +114,7 @@ export declare namespace CollectionOperation {
|
|
|
114
114
|
readonly output: Schema.Struct<{
|
|
115
115
|
object: Type.Obj<{
|
|
116
116
|
readonly name?: string | undefined;
|
|
117
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
117
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
118
118
|
}, Schema.Struct.Fields>;
|
|
119
119
|
}>;
|
|
120
120
|
};
|
|
@@ -296,7 +296,7 @@ export declare namespace SpaceOperation {
|
|
|
296
296
|
} & import("@dxos/echo/internal").AnyProperties, never>;
|
|
297
297
|
target: Schema.Union<[Schema.Schema<Database.Database, Database.Database, never>, Type.Obj<{
|
|
298
298
|
readonly name?: string | undefined;
|
|
299
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
299
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
300
300
|
}, Schema.Struct.Fields>]>;
|
|
301
301
|
hidden: Schema.optional<typeof Schema.Boolean>;
|
|
302
302
|
}>;
|
|
@@ -321,7 +321,7 @@ export declare namespace SpaceOperation {
|
|
|
321
321
|
} & import("@dxos/echo/internal").TypeMeta>;
|
|
322
322
|
parentCollection: Type.Obj<{
|
|
323
323
|
readonly name?: string | undefined;
|
|
324
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
324
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
325
325
|
}, Schema.Struct.Fields>;
|
|
326
326
|
indices: Schema.Array$<typeof Schema.Number>;
|
|
327
327
|
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any, {
|
|
@@ -348,7 +348,7 @@ export declare namespace SpaceOperation {
|
|
|
348
348
|
} & import("@dxos/echo/internal").TypeMeta>;
|
|
349
349
|
target: Schema.optional<Type.Obj<{
|
|
350
350
|
readonly name?: string | undefined;
|
|
351
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
351
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
352
352
|
}, Schema.Struct.Fields>>;
|
|
353
353
|
}>;
|
|
354
354
|
readonly output: Schema.Struct<{
|
|
@@ -359,7 +359,7 @@ export declare namespace SpaceOperation {
|
|
|
359
359
|
} & import("@dxos/echo/internal").TypeMeta>;
|
|
360
360
|
parentCollection: Type.Obj<{
|
|
361
361
|
readonly name?: string | undefined;
|
|
362
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
362
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
363
363
|
}, Schema.Struct.Fields>;
|
|
364
364
|
indices: Schema.Array$<typeof Schema.Number>;
|
|
365
365
|
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any, {
|
|
@@ -421,7 +421,7 @@ export declare namespace SpaceOperation {
|
|
|
421
421
|
readonly input: Schema.Struct<{
|
|
422
422
|
target: Schema.Union<[Schema.Schema<Database.Database, Database.Database, never>, Type.Obj<{
|
|
423
423
|
readonly name?: string | undefined;
|
|
424
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
424
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
425
425
|
}, Schema.Struct.Fields>]>;
|
|
426
426
|
views: Schema.optional<typeof Schema.Boolean>;
|
|
427
427
|
typename: Schema.optional<typeof Schema.String>;
|
|
@@ -649,7 +649,7 @@ export declare namespace SpaceOperation {
|
|
|
649
649
|
} & import("@dxos/echo/internal").TypeMeta;
|
|
650
650
|
target: Schema.Union<[Schema.Schema<Database.Database, Database.Database, never>, Type.Obj<{
|
|
651
651
|
readonly name?: string | undefined;
|
|
652
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
652
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
653
653
|
}, Schema.Struct.Fields>]>;
|
|
654
654
|
}>;
|
|
655
655
|
readonly output: typeof Schema.Void;
|
|
@@ -703,7 +703,7 @@ export declare namespace SpaceOperation {
|
|
|
703
703
|
} & import("@dxos/echo/internal").TypeMeta>;
|
|
704
704
|
parentCollection: Type.Obj<{
|
|
705
705
|
readonly name?: string | undefined;
|
|
706
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
706
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
707
707
|
}, Schema.Struct.Fields>;
|
|
708
708
|
indices: Schema.Array$<typeof Schema.Number>;
|
|
709
709
|
nestedObjectsList: Schema.Array$<Schema.Array$<Schema.Schema<any, {
|