@apiquest/types 1.0.2 → 1.0.4

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.
Files changed (4) hide show
  1. package/README.md +54 -0
  2. package/package.json +27 -22
  3. package/src/index.ts +823 -823
  4. package/tsconfig.json +21 -21
package/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # @apiquest/types
2
+
3
+ Shared TypeScript type definitions for the ApiQuest ecosystem.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @apiquest/types
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import type {
15
+ Collection,
16
+ Request,
17
+ Folder,
18
+ Environment,
19
+ RunOptions,
20
+ RunResult,
21
+ IProtocolPlugin,
22
+ IAuthPlugin,
23
+ IValueProviderPlugin
24
+ } from '@apiquest/types';
25
+ ```
26
+
27
+ ## Type Exports
28
+
29
+ - **Collection Types:** Collection, Request, Folder, CollectionItem, CollectionInfo
30
+ - **Auth Types:** Auth
31
+ - **Environment:** Environment, Variable
32
+ - **Runtime:** RunOptions, RunResult, RuntimeOptions, ExecutionOptions
33
+ - **Plugins:** IProtocolPlugin, IAuthPlugin, IValueProviderPlugin
34
+ - **Execution:** ExecutionContext, ProtocolResponse, ExecutionRecord, TestResult
35
+ - **Logging:** ILogger, LogLevel
36
+ - **Cookies:** ICookieJar, Cookie, CookieSetOptions, CookieJarOptions
37
+
38
+ ## Schema
39
+
40
+ JSON Schema: https://apiquest.net/schemas/collection-v1.0.json
41
+
42
+ ## Compatibility
43
+
44
+ - TypeScript 5.0+
45
+ - Used with `@apiquest/fracture` and plugin development
46
+
47
+ ## Documentation
48
+
49
+ - [Fracture Documentation](https://apiquest.net/docs/fracture)
50
+ - [Schema Specification](https://apiquest.net/schemas/collection-v1.0.json)
51
+
52
+ ## License
53
+
54
+ Dual-licensed under AGPL-3.0-or-later and commercial license. See LICENSE.txt for details.
package/package.json CHANGED
@@ -1,22 +1,27 @@
1
- {
2
- "name": "@apiquest/types",
3
- "version": "1.0.2",
4
- "description": "Shared TypeScript types for ApiQuest",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "scripts": {
9
- "build": "tsc",
10
- "watch": "tsc --watch"
11
- },
12
- "keywords": [
13
- "apiquest",
14
- "types",
15
- "schema"
16
- ],
17
- "author": "ApiQuest",
18
- "license": "AGPL-3.0-or-later",
19
- "devDependencies": {
20
- "typescript": "^5.3.3"
21
- }
22
- }
1
+ {
2
+ "name": "@apiquest/types",
3
+ "version": "1.0.4",
4
+ "description": "Shared TypeScript types for ApiQuest",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/hh-apiquest/fracture.git",
11
+ "directory": "packages/types"
12
+ },
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "watch": "tsc --watch"
16
+ },
17
+ "keywords": [
18
+ "apiquest",
19
+ "types",
20
+ "schema"
21
+ ],
22
+ "author": "ApiQuest",
23
+ "license": "AGPL-3.0-or-later",
24
+ "devDependencies": {
25
+ "typescript": "^5.3.3"
26
+ }
27
+ }