@dalmore/api-contracts 1.0.5 → 1.0.7

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.
@@ -12,6 +12,8 @@ import { AppRouter } from '@ts-rest/core';
12
12
  * baseUrl: 'https://api.example.com',
13
13
  * baseHeaders: { 'x-api-key': 'your-key' },
14
14
  * });
15
+ *
16
+ * const accounts = await client.accounts.getAccounts();
15
17
  * ```
16
18
  */
17
19
  export declare const clientsContract: AppRouter;
package/index.mjs CHANGED
@@ -10967,4 +10967,7 @@ var clientsContract = c17.router(
10967
10967
  }
10968
10968
  );
10969
10969
 
10970
- export { clientsContract };
10970
+ // src/contracts/clients/package-entry.ts
10971
+ var clientsContract2 = clientsContract;
10972
+
10973
+ export { clientsContract2 as clientsContract };
package/package.json CHANGED
@@ -1,21 +1,20 @@
1
1
  {
2
2
  "name": "@dalmore/api-contracts",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Type-safe API contracts for Dalmore Client Portal",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
7
- "types": "./index.d.mts",
7
+ "types": "./dist/contracts/clients/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./index.d.mts",
10
+ "types": "./dist/contracts/clients/index.d.ts",
11
11
  "import": "./index.mjs",
12
12
  "default": "./index.mjs"
13
13
  }
14
14
  },
15
15
  "files": [
16
16
  "index.mjs",
17
- "index.d.ts",
18
- "index.d.mts"
17
+ "dist"
19
18
  ],
20
19
  "keywords": [
21
20
  "dalmore",
package/index.d.mts DELETED
@@ -1,17 +0,0 @@
1
- import { AppRouter } from '@ts-rest/core';
2
-
3
- /**
4
- * Type-safe API contract for Dalmore Client Portal
5
- *
6
- * @example
7
- * ```typescript
8
- * import { clientsContract } from '@dalmore/api-contracts';
9
- * import { initClient } from '@ts-rest/core';
10
- *
11
- * const client = initClient(clientsContract, {
12
- * baseUrl: 'https://api.example.com',
13
- * baseHeaders: { 'x-api-key': 'your-key' },
14
- * });
15
- * ```
16
- */
17
- export declare const clientsContract: AppRouter;