Skip to content

Commit 5527fb9

Browse files
authored
Merge pull request #996 from objectstack-ai/copilot/fix-ci-build-and-test-errors-another-one
2 parents bcda470 + dcb19b6 commit 5527fb9

45 files changed

Lines changed: 375 additions & 97 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"baseUrl": ".",
4+
"ignoreDeprecations": "6.0",
45
"target": "ESNext",
56
"lib": [
67
"dom",

apps/studio/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"noUnusedParameters": true,
2121
"noFallthroughCasesInSwitch": true,
2222
"baseUrl": ".",
23+
"ignoreDeprecations": "6.0",
2324
"paths": {
2425
"@/*": ["./src/*"]
2526
}

content/docs/references/api/discovery.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const result = ApiRoutes.parse(data);
3333
| :--- | :--- | :--- | :--- |
3434
| **data** | `string` || e.g. /api/v1/data |
3535
| **metadata** | `string` || e.g. /api/v1/meta |
36+
| **discovery** | `string` | optional | e.g. /api/v1/discovery |
3637
| **ui** | `string` | optional | e.g. /api/v1/ui |
3738
| **auth** | `string` | optional | e.g. /api/v1/auth |
3839
| **automation** | `string` | optional | e.g. /api/v1/automation |
@@ -45,6 +46,7 @@ const result = ApiRoutes.parse(data);
4546
| **notifications** | `string` | optional | e.g. /api/v1/notifications |
4647
| **ai** | `string` | optional | e.g. /api/v1/ai |
4748
| **i18n** | `string` | optional | e.g. /api/v1/i18n |
49+
| **feed** | `string` | optional | e.g. /api/v1/feed |
4850

4951

5052
---

content/docs/references/api/protocol.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,16 @@ const result = AiChatRequest.parse(data);
429429

430430
| Property | Type | Required | Description |
431431
| :--- | :--- | :--- | :--- |
432-
| **version** | `string` || API version (e.g., "v1", "2024-01") |
433-
| **apiName** | `string` || API name |
434-
| **routes** | `Object` | optional | Available endpoint paths |
435-
| **services** | `Record<string, Object>` | optional | Per-service availability map |
436-
| **capabilities** | `Object` | optional | Well-known capability flags for frontend adaptation |
432+
| **name** | `string` | optional | |
433+
| **version** | `string` || |
434+
| **environment** | `Enum<'production' \| 'sandbox' \| 'development'>` | optional | |
435+
| **routes** | `Object` | optional | |
436+
| **locale** | `Object` | optional | |
437+
| **services** | `Record<string, Object>` | optional | Per-service availability map keyed by CoreServiceName |
438+
| **capabilities** | `Record<string, Object>` | optional | Hierarchical capability descriptors for frontend intelligent adaptation |
439+
| **schemaDiscovery** | `Object` | optional | Schema discovery endpoints for API toolchain integration |
440+
| **metadata** | `Record<string, any>` | optional | Custom metadata key-value pairs for extensibility |
441+
| **apiName** | `string` | optional | API name (deprecated — use name) |
437442

438443

439444
---

examples/app-crm/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"esModuleInterop": true,
88
"forceConsistentCasingInFileNames": true,
99
"skipLibCheck": true,
10-
"outDir": "./dist"
10+
"outDir": "./dist",
11+
"rootDir": "./src"
1112
},
1213
"include": ["src/**/*"]
1314
}

examples/app-host/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./dist",
5+
"rootDir": "./src",
56
"module": "NodeNext"
67
},
78
"include": ["src/**/*"],

examples/app-todo/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"esModuleInterop": true,
88
"forceConsistentCasingInFileNames": true,
99
"skipLibCheck": true,
10-
"outDir": "./dist"
10+
"outDir": "./dist",
11+
"rootDir": "./src"
1112
},
1213
"include": ["src/**/*"]
1314
}

packages/adapters/express/tsconfig.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,21 @@
66
"module": "NodeNext",
77
"moduleResolution": "NodeNext",
88
"esModuleInterop": true,
9-
"skipLibCheck": true
9+
"skipLibCheck": true,
10+
"lib": [
11+
"ES2020",
12+
"DOM",
13+
"DOM.Iterable"
14+
],
15+
"types": [
16+
"node"
17+
]
1018
},
11-
"include": ["src/**/*"],
12-
"exclude": ["node_modules", "dist"]
19+
"include": [
20+
"src/**/*"
21+
],
22+
"exclude": [
23+
"node_modules",
24+
"dist"
25+
]
1326
}

packages/adapters/fastify/tsconfig.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,21 @@
66
"module": "NodeNext",
77
"moduleResolution": "NodeNext",
88
"esModuleInterop": true,
9-
"skipLibCheck": true
9+
"skipLibCheck": true,
10+
"lib": [
11+
"ES2020",
12+
"DOM",
13+
"DOM.Iterable"
14+
],
15+
"types": [
16+
"node"
17+
]
1018
},
11-
"include": ["src/**/*"],
12-
"exclude": ["node_modules", "dist"]
19+
"include": [
20+
"src/**/*"
21+
],
22+
"exclude": [
23+
"node_modules",
24+
"dist"
25+
]
1326
}

packages/adapters/hono/tsconfig.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,21 @@
66
"module": "NodeNext",
77
"moduleResolution": "NodeNext",
88
"esModuleInterop": true,
9-
"skipLibCheck": true
9+
"skipLibCheck": true,
10+
"lib": [
11+
"ES2020",
12+
"DOM",
13+
"DOM.Iterable"
14+
],
15+
"types": [
16+
"node"
17+
]
1018
},
11-
"include": ["src/**/*"],
12-
"exclude": ["node_modules", "dist"]
19+
"include": [
20+
"src/**/*"
21+
],
22+
"exclude": [
23+
"node_modules",
24+
"dist"
25+
]
1326
}

0 commit comments

Comments
 (0)