Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/tender-buckets-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
6 changes: 3 additions & 3 deletions coverages/docs-site/docs-page/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Page: https://docs.amplify.aws/

Coverage: 0.0%
Coverage: 100.0%

#### `amplify/backend.ts`

Expand All @@ -30,11 +30,11 @@ new sns.Topic(customResourceStack, "CustomTopic");
| | |
| -- | -- |
| Hash | `fe8797e13aaa1221` |
| Covered | |
| Covered | |

##### Covering Regions

- *None*
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/root.ts](../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/root.ts#12)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Page: https://docs.amplify.aws/react/deploy-and-host/fullstack-branching/secrets-and-vars/

Coverage: 60.0%
Coverage: 100.0%

#### `Terminal`

Expand All @@ -22,11 +22,11 @@ Done!
| | |
| -- | -- |
| Hash | `1877f2be69c8f496` |
| Covered | |
| Covered | |

##### Covering Regions

- *None*
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/deploy-and-host/index.ts](../../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/deploy-and-host/index.ts#22)

---

Expand Down Expand Up @@ -91,11 +91,11 @@ build:
| | |
| -- | -- |
| Hash | `89f1b18d54b81799` |
| Covered | |
| Covered | |

##### Covering Regions

- *None*
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/deploy-and-host/index.ts](../../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/deploy-and-host/index.ts#22)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Page: https://docs.amplify.aws/react/how-amplify-works/concepts/

Coverage: 66.7%
Coverage: 100.0%

#### `Unnamed Snippet`

Expand All @@ -26,11 +26,11 @@ chatId: a.id(),
| | |
| -- | -- |
| Hash | `821a39b70747c164` |
| Covered | |
| Covered | |

##### Covering Regions

- *None*
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/1-patterns/how-amplify-works/concepts.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/1-patterns/how-amplify-works/concepts.ts#19)

---

Expand All @@ -53,11 +53,11 @@ const { errors, data: newMessage } = await client.models.Message.create({
| | |
| -- | -- |
| Hash | `b9d80a938dc6ed37` |
| Covered | |
| Covered | |

##### Covering Regions

- *None*
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/1-patterns/how-amplify-works/concepts.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/1-patterns/how-amplify-works/concepts.ts#69)

---

Expand Down
6 changes: 3 additions & 3 deletions coverages/docs-site/docs-page/react/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Page: https://docs.amplify.aws/react/

Coverage: 0.0%
Coverage: 100.0%

#### `amplify/backend.ts`

Expand All @@ -30,11 +30,11 @@ new sns.Topic(customResourceStack, "CustomTopic");
| | |
| -- | -- |
| Hash | `193a2a390fb5a565` |
| Covered | |
| Covered | |

##### Covering Regions

- *None*
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/root.ts](../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/root.ts#8)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ defineBackend({

##### Covering Regions

- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/start/manual-installation.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/start/manual-installation.ts#11)
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/reference/project-structure.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/reference/project-structure.ts#9)
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/start/manual-installation.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/start/manual-installation.ts#11)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,14 @@ email: true,
~~~
import { a, defineData, type ClientSchema } from "@aws-amplify/backend";

const schema = a.schema({});
const schema = a.schema({
Todo: a
.model({
content: a.string(),
isDone: a.boolean(),
})
.authorization((allow) => [allow.publicApiKey()]),
});

export type Schema = ClientSchema<typeof schema>;
export const data = defineData({
Expand All @@ -188,7 +195,7 @@ export const data = defineData({

| | |
| -- | -- |
| Hash | `b497a376ca20c1f5` |
| Hash | `b4bb627dcd4ecce5` |
| Covered | ✅ |

##### Covering Regions
Expand Down Expand Up @@ -218,8 +225,8 @@ defineBackend({

##### Covering Regions

- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/start/manual-installation.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/start/manual-installation.ts#11)
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/reference/project-structure.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/reference/project-structure.ts#9)
- [../../packages/integration-tests/\_\_tests\_\_/defined-behavior/4-uncovered/start/manual-installation.ts](../../../../../../packages/integration-tests/__tests__/defined-behavior/4-uncovered/start/manual-installation.ts#11)

---

Expand Down
Loading
Loading