@sessionplan/contracts 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -34,7 +34,7 @@ were built against.
34
34
  ```ts
35
35
  import { ContractVersion } from '@sessionplan/contracts';
36
36
 
37
- console.log(ContractVersion); // "0.1.0"
37
+ console.log(ContractVersion); // "0.1.1"
38
38
  ```
39
39
 
40
40
  ## Scope
package/dist/common.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /**
2
3
  * Shared primitives used across the SessionPlan contract modules.
3
4
  *
@@ -5,5 +6,5 @@
5
6
  * `JsonValue` alias below mirrors the Supabase `Json` type used server-side so
6
7
  * that JSONB payload fields stay structurally compatible without a dependency.
7
8
  */
8
- export {};
9
+ Object.defineProperty(exports, "__esModule", { value: true });
9
10
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
package/dist/context.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=context.js.map
package/dist/exercises.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=exercises.js.map
package/dist/health.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=health.js.map
package/dist/index.d.ts CHANGED
@@ -19,5 +19,5 @@ export * from './health.js';
19
19
  * The contract revision this build was published at. Mirrors package.json
20
20
  * version so clients can report the contract they were compiled against.
21
21
  */
22
- export declare const ContractVersion = "0.1.0";
22
+ export declare const ContractVersion = "0.1.1";
23
23
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /**
2
3
  * @sessionplan/contracts
3
4
  *
@@ -6,18 +7,34 @@
6
7
  *
7
8
  * Public for installation convenience; not a stable external contract until 1.0.
8
9
  */
9
- export * from './common.js';
10
- export * from './profile.js';
11
- export * from './context.js';
12
- export * from './workspaces.js';
13
- export * from './sessions.js';
14
- export * from './logs.js';
15
- export * from './exercises.js';
16
- export * from './reports.js';
17
- export * from './health.js';
10
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ var desc = Object.getOwnPropertyDescriptor(m, k);
13
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14
+ desc = { enumerable: true, get: function() { return m[k]; } };
15
+ }
16
+ Object.defineProperty(o, k2, desc);
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ContractVersion = void 0;
26
+ __exportStar(require("./common.js"), exports);
27
+ __exportStar(require("./profile.js"), exports);
28
+ __exportStar(require("./context.js"), exports);
29
+ __exportStar(require("./workspaces.js"), exports);
30
+ __exportStar(require("./sessions.js"), exports);
31
+ __exportStar(require("./logs.js"), exports);
32
+ __exportStar(require("./exercises.js"), exports);
33
+ __exportStar(require("./reports.js"), exports);
34
+ __exportStar(require("./health.js"), exports);
18
35
  /**
19
36
  * The contract revision this build was published at. Mirrors package.json
20
37
  * version so clients can report the contract they were compiled against.
21
38
  */
22
- export const ContractVersion = '0.1.0';
39
+ exports.ContractVersion = '0.1.1';
23
40
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAE5B;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;AAEH,8CAA4B;AAC5B,+CAA6B;AAC7B,+CAA6B;AAC7B,kDAAgC;AAChC,gDAA8B;AAC9B,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,8CAA4B;AAE5B;;;GAGG;AACU,QAAA,eAAe,GAAG,OAAO,CAAC"}
package/dist/logs.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=logs.js.map
package/dist/profile.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=profile.js.map
package/dist/reports.js CHANGED
@@ -1,5 +1,6 @@
1
+ "use strict";
1
2
  /**
2
3
  * Progress report content and list/detail responses.
3
4
  */
4
- export {};
5
+ Object.defineProperty(exports, "__esModule", { value: true });
5
6
  //# sourceMappingURL=reports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reports.js","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAAA;;GAEG"}
1
+ {"version":3,"file":"reports.js","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":";AAAA;;GAEG"}
package/dist/sessions.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=sessions.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=workspaces.js.map
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@sessionplan/contracts",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared TypeScript wire contracts for the SessionPlan API. Public for installation convenience; not a stable external contract until 1.0.",
5
5
  "license": "UNLICENSED",
6
- "type": "module",
7
6
  "main": "dist/index.js",
8
7
  "types": "dist/index.d.ts",
9
8
  "exports": {
10
9
  ".": {
11
10
  "types": "./dist/index.d.ts",
11
+ "require": "./dist/index.js",
12
12
  "import": "./dist/index.js"
13
13
  }
14
14
  },