@common-grants/core 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.
@@ -2,7 +2,7 @@ import "../types.tsp";
2
2
 
3
3
  namespace CommonGrants.Fields;
4
4
 
5
- using CommonGrants.Types;
5
+ using Types;
6
6
 
7
7
  // ########################################
8
8
  // Event type
@@ -2,7 +2,7 @@ import "../types.tsp";
2
2
 
3
3
  namespace CommonGrants.Fields;
4
4
 
5
- using CommonGrants.Types;
5
+ using Types;
6
6
 
7
7
  // ########################################
8
8
  // Model definition
@@ -6,8 +6,8 @@ import "../../types.tsp";
6
6
 
7
7
  namespace CommonGrants.Models;
8
8
 
9
- using CommonGrants.Fields;
10
- using CommonGrants.Types;
9
+ using Fields;
10
+ using Types;
11
11
 
12
12
  // ########################################
13
13
  // Model definition
@@ -3,7 +3,7 @@ import "../../fields/index.tsp";
3
3
 
4
4
  namespace CommonGrants.Models;
5
5
 
6
- using CommonGrants.Fields;
6
+ using Fields;
7
7
 
8
8
  // ########################################
9
9
  // Model definition
@@ -1,6 +1,3 @@
1
- import "@typespec/json-schema";
2
- import "@typespec/openapi3";
3
-
4
1
  namespace CommonGrants.Models;
5
2
 
6
3
  // ########################################
@@ -3,8 +3,8 @@ import "../../types.tsp";
3
3
 
4
4
  namespace CommonGrants.Models;
5
5
 
6
- using CommonGrants.Fields;
7
- using CommonGrants.Types;
6
+ using Fields;
7
+ using Types;
8
8
 
9
9
  // ########################################
10
10
  // Model definition
@@ -2,6 +2,7 @@ import "@typespec/http";
2
2
 
3
3
  using TypeSpec.Http;
4
4
  using TypeSpec.JsonSchema;
5
+
5
6
  /** Models and utilities for pagination */
6
7
  @jsonSchema
7
8
  namespace CommonGrants.Pagination;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-grants/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "TypeSpec library for defining grant opportunity data models and APIs",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -51,11 +51,11 @@
51
51
  "author": "CommonGrants",
52
52
  "license": "CC0-1.0",
53
53
  "peerDependencies": {
54
- "@typespec/compiler": "^0.66.0",
55
- "@typespec/http": "^0.66.0",
56
- "@typespec/json-schema": "^0.66.0",
57
- "@typespec/openapi3": "^0.66.0",
58
- "@typespec/rest": "^0.66.0"
54
+ "@typespec/compiler": "^1.1.0",
55
+ "@typespec/http": "^1.1.0",
56
+ "@typespec/json-schema": "1.0.0",
57
+ "@typespec/openapi3": "1.0.0",
58
+ "@typespec/rest": "0.70.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/node": "^20.10.6",