@dxos/protocols 0.8.0 → 0.8.1-main.ae460ac

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.
@@ -1,4 +1,4 @@
1
- import { S } from '@dxos/effect';
1
+ import { Schema as S } from 'effect';
2
2
  export declare const InvitationUrl: S.Struct<{
3
3
  accessToken: typeof S.String;
4
4
  deviceInvitationCode: S.SchemaClass<string, string, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsB,CAAC,EAAE,MAAM,cAAc,CAAC;AAGrD,eAAO,MAAM,aAAa;;;;EAIxB,CAAC"}
1
+ {"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAKrC,eAAO,MAAM,aAAa;;;;EAIxB,CAAC"}
@@ -4,11 +4,12 @@
4
4
  //
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.InvitationUrl = void 0;
7
- const effect_1 = require("@dxos/effect");
7
+ const effect_1 = require("effect");
8
+ const effect_2 = require("@dxos/effect");
8
9
  // TODO(burdon): Use uniformly for processing HTTP params.
9
- exports.InvitationUrl = effect_1.S.Struct({
10
- accessToken: effect_1.S.String, // TODO(burdon): Remove.
11
- deviceInvitationCode: effect_1.S.String.pipe((0, effect_1.ParamKeyAnnotation)({ key: 'deviceInvitationCode' })),
12
- spaceInvitationCode: effect_1.S.String.pipe((0, effect_1.ParamKeyAnnotation)({ key: 'spaceInvitationCode' })),
10
+ exports.InvitationUrl = effect_1.Schema.Struct({
11
+ accessToken: effect_1.Schema.String, // TODO(burdon): Remove.
12
+ deviceInvitationCode: effect_1.Schema.String.pipe((0, effect_2.ParamKeyAnnotation)({ key: 'deviceInvitationCode' })),
13
+ spaceInvitationCode: effect_1.Schema.String.pipe((0, effect_2.ParamKeyAnnotation)({ key: 'spaceInvitationCode' })),
13
14
  });
14
15
  //# sourceMappingURL=invitation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,yCAAqD;AAErD,0DAA0D;AAC7C,QAAA,aAAa,GAAG,UAAC,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,UAAC,CAAC,MAAM,EAAE,wBAAwB;IAC/C,oBAAoB,EAAE,UAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAkB,EAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACxF,mBAAmB,EAAE,UAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAkB,EAAC,EAAE,GAAG,EAAE,qBAAqB,EAAE,CAAC,CAAC;CACvF,CAAC,CAAC"}
1
+ {"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,mCAAqC;AAErC,yCAAkD;AAElD,0DAA0D;AAC7C,QAAA,aAAa,GAAG,eAAC,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,eAAC,CAAC,MAAM,EAAE,wBAAwB;IAC/C,oBAAoB,EAAE,eAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAkB,EAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACxF,mBAAmB,EAAE,eAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,2BAAkB,EAAC,EAAE,GAAG,EAAE,qBAAqB,EAAE,CAAC,CAAC;CACvF,CAAC,CAAC"}