@dxos/client-protocol 0.8.4-main.d05539e30a → 0.8.4-main.d9fc60f731

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.
@@ -5,17 +5,16 @@ import { Ref, Type } from '@dxos/echo';
5
5
  */
6
6
  export declare const ComputeEnvironment: Schema.Literal<["disabled", "local", "edge"]>;
7
7
  export type ComputeEnvironment = Schema.Schema.Type<typeof ComputeEnvironment>;
8
- export declare const SpacePropertiesSchema: Schema.TypeLiteral<{
9
- archived: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
8
+ export declare const SpacePropertiesSchema: Schema.Struct<{
10
9
  edgeReplication: Schema.optional<typeof Schema.Boolean>;
11
10
  /**
12
11
  * @deprecated
13
12
  */
14
- invocationTraceFeed: Schema.optional<Ref.RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
13
+ invocationTraceFeed: Schema.optional<Ref.RefSchema<{
15
14
  readonly name?: string | undefined;
16
15
  readonly kind?: string | undefined;
17
16
  readonly namespace?: "data" | "trace" | undefined;
18
- }>>;
17
+ } & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>>;
19
18
  /**
20
19
  * Preference for trigger execution.
21
20
  * *disabled* - triggers do not run locally or on EDGE.
@@ -24,44 +23,25 @@ export declare const SpacePropertiesSchema: Schema.TypeLiteral<{
24
23
  */
25
24
  computeEnvironment: Schema.optional<Schema.Literal<["disabled", "local", "edge"]>>;
26
25
  name: Schema.optional<typeof Schema.String>;
26
+ description: Schema.optional<typeof Schema.String>;
27
27
  icon: Schema.optional<typeof Schema.String>;
28
+ iconHue: Schema.optional<typeof Schema.String>;
28
29
  hue: Schema.optional<typeof Schema.String>;
29
- }, readonly [{
30
- readonly key: typeof Schema.String;
31
- readonly value: typeof Schema.Any;
32
- }]>;
30
+ }>;
33
31
  export type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSchema>;
34
- /** @deprecated Use SpaceProperties instead. */
35
- export declare const LegacySpaceProperties: Type.Obj<{
36
- readonly [x: string]: any;
37
- readonly archived?: boolean | undefined;
38
- readonly edgeReplication?: boolean | undefined;
39
- readonly invocationTraceFeed?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
40
- readonly name?: string | undefined;
41
- readonly kind?: string | undefined;
42
- readonly namespace?: "data" | "trace" | undefined;
43
- }> | undefined;
44
- readonly computeEnvironment?: "disabled" | "edge" | "local" | undefined;
45
- readonly name?: string | undefined;
46
- readonly icon?: string | undefined;
47
- readonly hue?: string | undefined;
48
- }, Schema.Struct.Fields>;
49
- export interface LegacySpaceProperties extends Schema.Schema.Type<typeof LegacySpaceProperties> {
50
- }
51
32
  export declare const SpaceProperties: Type.Obj<{
52
- readonly [x: string]: any;
53
- readonly archived?: boolean | undefined;
54
33
  readonly edgeReplication?: boolean | undefined;
55
- readonly invocationTraceFeed?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
34
+ readonly invocationTraceFeed?: import("@dxos/echo/internal").Ref<{
56
35
  readonly name?: string | undefined;
57
36
  readonly kind?: string | undefined;
58
37
  readonly namespace?: "data" | "trace" | undefined;
59
- }> | undefined;
38
+ } & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
60
39
  readonly computeEnvironment?: "disabled" | "edge" | "local" | undefined;
61
40
  readonly name?: string | undefined;
41
+ readonly description?: string | undefined;
62
42
  readonly icon?: string | undefined;
43
+ readonly iconHue?: string | undefined;
63
44
  readonly hue?: string | undefined;
64
45
  }, Schema.Struct.Fields>;
65
- export interface SpaceProperties extends Schema.Schema.Type<typeof SpaceProperties> {
66
- }
46
+ export type SpaceProperties = Type.InstanceType<typeof SpaceProperties>;
67
47
  //# sourceMappingURL=SpaceProperties.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceProperties.d.ts","sourceRoot":"","sources":["../../../../src/types/SpaceProperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAoB,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,kBAAkB,+CAA8C,CAAC;AAC9E,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE/E,eAAO,MAAM,qBAAqB;;;IAW9B;;OAEG;;;;;;IAGH;;;;;OAKG;;;;;;;;GAeN,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErF,+CAA+C;AAC/C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;wBAMjC,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC;CAAG;AAIlG,eAAO,MAAM,eAAe;;;;;;;;;;;;;wBAM3B,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC;CAAG"}
1
+ {"version":3,"file":"SpaceProperties.d.ts","sourceRoot":"","sources":["../../../../src/types/SpaceProperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAyB,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,kBAAkB,+CAA8C,CAAC;AAC9E,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE/E,eAAO,MAAM,qBAAqB;;IAShC;;OAEG;;;;;;IAGH;;;;;OAKG;;;;;;;EAYH,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAIrF,eAAO,MAAM,eAAe;;;;;;;;;;;;;wBAG3B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}