@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.
- package/dist/cjs/src/invitation.d.ts +1 -1
- package/dist/cjs/src/invitation.d.ts.map +1 -1
- package/dist/cjs/src/invitation.js +6 -5
- package/dist/cjs/src/invitation.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/invitation.d.ts +1 -1
- package/dist/esm/src/invitation.d.ts.map +1 -1
- package/dist/esm/src/invitation.js +2 -1
- package/dist/esm/src/invitation.js.map +1 -1
- package/package.json +12 -8
- package/src/invitation.ts +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../src/invitation.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
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("
|
|
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.
|
|
10
|
-
accessToken: effect_1.
|
|
11
|
-
deviceInvitationCode: effect_1.
|
|
12
|
-
spaceInvitationCode: effect_1.
|
|
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,
|
|
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"}
|