@confect/core 1.0.1 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @confect/core
2
2
 
3
+ ## 1.0.3
4
+
5
+ ## 1.0.2
6
+
3
7
  ## 1.0.1
4
8
 
5
9
  ### Patch Changes
package/dist/Spec.d.ts CHANGED
@@ -10,17 +10,17 @@ type TypeId = typeof TypeId;
10
10
  declare const isSpec: (u: unknown) => u is AnyWithProps;
11
11
  declare const isConvexSpec: (u: unknown) => u is AnyWithPropsWithRuntime<"Convex">;
12
12
  declare const isNodeSpec: (u: unknown) => u is AnyWithPropsWithRuntime<"Node">;
13
- interface Spec<Runtime$2 extends Runtime, Groups_ extends AnyWithPropsWithRuntime$1<Runtime$2> = never> {
13
+ interface Spec<Runtime$1 extends Runtime, Groups_ extends AnyWithPropsWithRuntime$1<Runtime$1> = never> {
14
14
  readonly [TypeId]: TypeId;
15
- readonly runtime: Runtime$2;
15
+ readonly runtime: Runtime$1;
16
16
  readonly groups: { [GroupName in Name<Groups_>]: WithName<Groups_, GroupName> };
17
- add<Group extends AnyWithPropsWithRuntime$1<Runtime$2>>(group: Group): Spec<Runtime$2, Groups_ | Group>;
17
+ add<Group extends AnyWithPropsWithRuntime$1<Runtime$1>>(group: Group): Spec<Runtime$1, Groups_ | Group>;
18
18
  }
19
19
  interface Any {
20
20
  readonly [TypeId]: TypeId;
21
21
  }
22
22
  interface AnyWithProps extends Spec<Runtime, AnyWithProps$1> {}
23
- interface AnyWithPropsWithRuntime<Runtime$1 extends Runtime> extends Spec<Runtime$1, AnyWithPropsWithRuntime$1<Runtime$1>> {}
23
+ interface AnyWithPropsWithRuntime<Runtime$2 extends Runtime> extends Spec<Runtime$2, AnyWithPropsWithRuntime$1<Runtime$2>> {}
24
24
  type Groups<Spec_ extends AnyWithProps> = Spec_["groups"][keyof Spec_["groups"]];
25
25
  declare const make: () => Spec<"Convex">;
26
26
  declare const makeNode: () => Spec<"Node">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confect/core",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Shared specs and schemas used by all Confect packages",
5
5
  "repository": {
6
6
  "type": "git",