Skip to content

Commit 8e53de7

Browse files
authored
Merge pull request #49 from sheibeck/develop
Add Campaigns
2 parents e9abd11 + 41b99dc commit 8e53de7

23 files changed

Lines changed: 3629 additions & 799 deletions

amplify/backend/api/dungeonworldcompanio/schema.graphql

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,23 @@ type Map @model @auth(rules: [{allow: owner}, {allow: private, operations: [read
144144
name: String!
145145
mapFile: String!
146146
locations: AWSJSON
147-
}
147+
}
148+
149+
type Campaign @model @auth(rules: [{allow: owner}, {allow: private, operations: [read], provider: iam}, {allow: private, operations: [read]}, {allow: public, operations: [read], provider: iam}]) {
150+
userId: ID!
151+
id: ID!
152+
name: String!
153+
description: String
154+
characterIds: [String]
155+
frontIds: [String]
156+
mapIds: [String]
157+
steadingIds: [String]
158+
sessions: [SessionEntry]
159+
}
160+
161+
type SessionEntry {
162+
id: ID!
163+
title: String!
164+
date: AWSDate!
165+
notes: String
166+
}

package-lock.json

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

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@vueform/multiselect": "^2.6.6",
1616
"aws-amplify": "^6.0.5",
1717
"bootstrap": "^5.3.2",
18+
"markdown-it": "^14.1.0",
1819
"pinia": "^2.1.7",
1920
"vue": "^3.3.4",
2021
"vue-router": "^4.2.5"
@@ -23,6 +24,7 @@
2324
"@tsconfig/node18": "^18.2.2",
2425
"@types/bootstrap": "^5.2.10",
2526
"@types/jsdom": "^21.1.3",
27+
"@types/markdown-it": "^14.1.2",
2628
"@types/node": "^18.18.5",
2729
"@types/remarkable": "^2.0.8",
2830
"@vitejs/plugin-basic-ssl": "^1.0.2",

0 commit comments

Comments
 (0)