@dxos/client-protocol 0.4.9 → 0.4.10-main.05b9ab6

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.
Files changed (36) hide show
  1. package/dist/lib/browser/index.mjs +19 -43
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/node/index.cjs +19 -43
  5. package/dist/lib/node/index.cjs.map +4 -4
  6. package/dist/lib/node/meta.json +1 -1
  7. package/dist/types/src/echo.d.ts +8 -4
  8. package/dist/types/src/echo.d.ts.map +1 -1
  9. package/dist/types/src/halo.d.ts +18 -5
  10. package/dist/types/src/halo.d.ts.map +1 -1
  11. package/dist/types/src/index.d.ts +0 -1
  12. package/dist/types/src/index.d.ts.map +1 -1
  13. package/dist/types/src/invitations/encoder.d.ts +1 -1
  14. package/dist/types/src/invitations/encoder.d.ts.map +1 -1
  15. package/dist/types/src/schema.d.ts +19 -9
  16. package/dist/types/src/schema.d.ts.map +1 -1
  17. package/dist/types/src/service-definitions.d.ts +3 -2
  18. package/dist/types/src/service-definitions.d.ts.map +1 -1
  19. package/dist/types/src/space.d.ts +6 -6
  20. package/dist/types/src/space.d.ts.map +1 -1
  21. package/package.json +12 -17
  22. package/src/echo.ts +8 -5
  23. package/src/halo.ts +22 -5
  24. package/src/index.ts +1 -1
  25. package/src/invitations/encoder.test.ts +29 -23
  26. package/src/invitations/encoder.ts +8 -2
  27. package/src/schema.ts +9 -9
  28. package/src/service-definitions.ts +3 -3
  29. package/src/space.ts +7 -7
  30. package/dist/types/src/proto/gen/schema.d.ts +0 -15
  31. package/dist/types/src/proto/gen/schema.d.ts.map +0 -1
  32. package/dist/types/src/proto/index.d.ts +0 -2
  33. package/dist/types/src/proto/index.d.ts.map +0 -1
  34. package/src/proto/gen/schema.ts +0 -41
  35. package/src/proto/index.ts +0 -5
  36. package/src/proto/schema.proto +0 -16
@@ -1,41 +0,0 @@
1
- /**
2
- * @generated @dxos/echo-typegen src/proto/schema.proto
3
- **/
4
-
5
- import * as dxos_echo_schema from "@dxos/echo-schema";
6
-
7
- export const types = new dxos_echo_schema.TypeCollection();
8
-
9
- export type PropertiesProps = {
10
- name: string;
11
- };
12
-
13
- export class Properties extends dxos_echo_schema.TypedObject<PropertiesProps> {
14
- declare static readonly schema: dxos_echo_schema.Schema;
15
-
16
- static filter(
17
- filter?:
18
- | Partial<PropertiesProps>
19
- | dxos_echo_schema.OperatorFilter<Properties>,
20
- ): dxos_echo_schema.Filter<Properties> {
21
- return dxos_echo_schema.Filter.typename(
22
- "dxos.sdk.client.Properties",
23
- filter,
24
- );
25
- }
26
-
27
- constructor(
28
- initValues?: Partial<PropertiesProps>,
29
- opts?: dxos_echo_schema.TypedObjectOptions,
30
- ) {
31
- super({ ...initValues }, { schema: Properties.schema, ...opts });
32
- }
33
- declare name: string;
34
- }
35
-
36
- types.registerPrototype(Properties, {
37
- typename: "dxos.sdk.client.Properties",
38
- props: [{ id: "name", type: 1, repeated: false }],
39
- });
40
-
41
- types.link();
@@ -1,5 +0,0 @@
1
- //
2
- // Copyright 2022 DXOS.org
3
- //
4
-
5
- export * from './gen/schema';
@@ -1,16 +0,0 @@
1
- //
2
- // Copyright 2022 DXOS.org
3
- //
4
-
5
- syntax = "proto3";
6
-
7
- package dxos.sdk.client;
8
-
9
- /**
10
- * Space metadata object.
11
- */
12
- message Properties {
13
- option (object) = true;
14
-
15
- string name = 1;
16
- }