Skip to content

Commit 69227ad

Browse files
authored
Merge pull request #726 from constructive-io/feat/sdk-initialization
feature: inital setup for the sdk
2 parents 5948811 + f9cd15d commit 69227ad

432 files changed

Lines changed: 137184 additions & 7557 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.

pnpm-lock.yaml

Lines changed: 2678 additions & 7557 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ packages:
22
- 'packages/*'
33
- 'pgpm/*'
44
- 'graphql/*'
5+
- 'sdk/*'
56
- 'examples/*'
67
- 'uploads/*'
78
- 'postgres/*'

sdk/constructive-sdk/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# GraphQL SDK
2+
3+
<p align="center" width="100%">
4+
<img height="120" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
5+
</p>
6+
7+
> @generated by @constructive-io/graphql-codegen - DO NOT EDIT
8+
9+
## APIs
10+
11+
| API | Endpoint | Generators | Docs |
12+
|-----|----------|------------|------|
13+
| admin | - | ORM | [./src/admin/README.md](./src/admin/README.md) |
14+
| auth | - | ORM | [./src/auth/README.md](./src/auth/README.md) |
15+
| objects | - | ORM | [./src/objects/README.md](./src/objects/README.md) |
16+
| public | - | ORM | [./src/public/README.md](./src/public/README.md) |
17+
18+
---
19+
20+
Built by the [Constructive](https://constructive.io) team.
21+
22+
## Disclaimer
23+
24+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
25+
26+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.

sdk/constructive-sdk/package.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "@constructive-io/sdk",
3+
"version": "0.0.1",
4+
"author": "Constructive <developers@constructive.io>",
5+
"description": "Constructive SDK - Auto-generated GraphQL types and ORM client",
6+
"main": "index.js",
7+
"module": "esm/index.js",
8+
"types": "index.d.ts",
9+
"homepage": "https://github.com/constructive-io/constructive",
10+
"license": "MIT",
11+
"publishConfig": {
12+
"access": "public",
13+
"directory": "dist"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/constructive-io/constructive"
18+
},
19+
"bugs": {
20+
"url": "https://github.com/constructive-io/constructive/issues"
21+
},
22+
"scripts": {
23+
"clean": "makage clean",
24+
"prepack": "npm run build",
25+
"build": "makage build",
26+
"build:dev": "makage build --dev",
27+
"generate": "tsx scripts/generate-sdk.ts",
28+
"lint": "eslint . --fix",
29+
"test": "jest --passWithNoTests",
30+
"test:watch": "jest --watch"
31+
},
32+
"keywords": [
33+
"graphql",
34+
"sdk",
35+
"orm",
36+
"constructive",
37+
"postgraphile",
38+
"schema-dir"
39+
],
40+
"dependencies": {
41+
"@0no-co/graphql.web": "^1.1.2",
42+
"@constructive-io/graphql-types": "workspace:^",
43+
"gql-ast": "workspace:^",
44+
"graphql": "^16.12.0"
45+
},
46+
"devDependencies": {
47+
"@constructive-io/graphql-codegen": "workspace:^",
48+
"@types/node": "^20.12.7",
49+
"makage": "^0.1.12",
50+
"tsx": "^4.19.0",
51+
"typescript": "^5.9.3"
52+
}
53+
}

0 commit comments

Comments
 (0)