Skip to content

Commit 15722f8

Browse files
authored
Merge pull request #38 from sheibeck/develop
Develop
2 parents 07a8e26 + 840d622 commit 15722f8

36 files changed

Lines changed: 2392 additions & 425 deletions

amplify/backend/api/dungeonworldcompanio/schema.graphql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,12 @@ type Steading @model @auth(rules: [{allow: owner}, {allow: private, operations:
134134
type: String!
135135
name: String!
136136
description: String!
137+
}
138+
139+
type Map @model @auth(rules: [{allow: owner}, {allow: private, operations: [read], provider: iam}, {allow: private, operations: [read]}, {allow: public, operations: [read], provider: iam}]) {
140+
userId: ID!
141+
id: ID!
142+
name: String!
143+
mapFile: String!
144+
locations: AWSJSON
137145
}

amplify/backend/backend-config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,12 @@
9090
}
9191
]
9292
}
93+
},
94+
"storage": {
95+
"dwcmaps": {
96+
"dependsOn": [],
97+
"providerPlugin": "awscloudformation",
98+
"service": "S3"
99+
}
93100
}
94101
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"resourceName": "dwcmaps",
3+
"policyUUID": "dcd5f15c",
4+
"bucketName": "dungeonworldcompanionmaps",
5+
"storageAccess": "authAndGuest",
6+
"guestAccess": [
7+
"READ"
8+
],
9+
"authAccess": [
10+
"CREATE_AND_UPDATE",
11+
"READ",
12+
"DELETE"
13+
]
14+
}

amplify/backend/types/amplify-dependent-resources-ref.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,11 @@ export type AmplifyDependentResourcesAttributes = {
2222
"userPoolGroups": {
2323
"dungeonworldcompanionGroupRole": "string"
2424
}
25+
},
26+
"storage": {
27+
"dwcmaps": {
28+
"BucketName": "string",
29+
"Region": "string"
30+
}
2531
}
2632
}

amplify/team-provider-info.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
},
2121
"api": {
2222
"dungeonworldcompanio": {}
23+
},
24+
"storage": {
25+
"dwcmaps": {}
2326
}
2427
}
2528
}

public/maps/city.png

15.9 KB
Loading

public/maps/danger.png

17.1 KB
Loading

public/maps/keep.png

15.5 KB
Loading

public/maps/magic.png

15.6 KB
Loading

public/maps/map-icons.png

557 KB
Loading

0 commit comments

Comments
 (0)