0.10.3 • Published 6 months ago
@aws-amplify/amplify-api-next-alpha v0.10.3
amplify-api-next
TypeScript-first AWS AppSync Schema Builder
import {
a,
type ClientSchema,
} from '@aws-amplify/amplify-api-next-alpha';
const schema = a.schema({
Post: a.model({
id: a.id(),
title: a.string(),
comments: a.hasMany('Comment'),
}),
Comment: a.model({
id: a.id(),
content: a.string(),
post: a.belongsTo('Post'),
}),
});
export type Schema = ClientSchema<typeof schema>;
export schema
Security
See CONTRIBUTING for more information.
License
This project is licensed under the Apache-2.0 License.
0.10.1
6 months ago
0.10.2
6 months ago
0.10.3
6 months ago
0.10.0
6 months ago
0.9.0
6 months ago
0.8.0
6 months ago
0.9.1
6 months ago
0.7.2
6 months ago
0.7.1
6 months ago
0.6.2
7 months ago
0.7.4
6 months ago
0.7.3
6 months ago
0.7.0
6 months ago
0.6.1
7 months ago
0.6.0
7 months ago
0.5.0
7 months ago
0.4.1
7 months ago
0.4.0
7 months ago
0.3.2
7 months ago
0.3.1
7 months ago
0.3.0
7 months ago
0.2.0
7 months ago
0.1.0
8 months ago
0.0.3
8 months ago
0.0.2
8 months ago