@vaiftech/client 1.0.0 → 1.0.2
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.
- package/README.md +8 -8
- package/dist/index.d.mts +628 -1
- package/dist/index.d.ts +628 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @vaiftech/client
|
|
2
2
|
|
|
3
3
|
The official TypeScript SDK for VAIF Studio - a Backend-as-a-Service platform.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @vaiftech/client
|
|
9
9
|
# or
|
|
10
|
-
pnpm add @
|
|
10
|
+
pnpm add @vaiftech/client
|
|
11
11
|
# or
|
|
12
|
-
yarn add @
|
|
12
|
+
yarn add @vaiftech/client
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Quick Start
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import { createVaifClient } from '@
|
|
18
|
+
import { createVaifClient } from '@vaiftech/client';
|
|
19
19
|
|
|
20
20
|
const vaif = createVaifClient({
|
|
21
21
|
baseUrl: 'https://api.myproject.vaif.io',
|
|
@@ -193,9 +193,9 @@ const posts = await vaif.from<Post>('posts').list();
|
|
|
193
193
|
|
|
194
194
|
## Related Packages
|
|
195
195
|
|
|
196
|
-
- [@
|
|
197
|
-
- [@
|
|
198
|
-
- [@
|
|
196
|
+
- [@vaiftech/react](https://www.npmjs.com/package/@vaiftech/react) - React hooks
|
|
197
|
+
- [@vaiftech/sdk-expo](https://www.npmjs.com/package/@vaiftech/sdk-expo) - React Native/Expo SDK
|
|
198
|
+
- [@vaiftech/cli](https://www.npmjs.com/package/@vaiftech/cli) - CLI tools
|
|
199
199
|
|
|
200
200
|
## License
|
|
201
201
|
|