Skip to content

Commit 08a52b5

Browse files
author
Alex Patterson
committed
add updated src location
1 parent f442bfd commit 08a52b5

File tree

10 files changed

+235
-6385
lines changed

10 files changed

+235
-6385
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@ amplifyconfiguration.json
1313
amplify-build-config.json
1414
amplify-gradle-config.json
1515
amplifytools.xcconfig
16-
amplify/team-provider-info.json
17-
18-
# cdk
19-
src/cdk-exports.json
16+
amplify/team-provider-info.json

.graphqlconfig.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
projects:
22
ccd:
3-
schemaPath: src/graphql/schema.json
3+
schemaPath: nextjs/src/graphql/schema.json
44
includes:
5-
- src/graphql/**/*.js
5+
- nextjs/src/graphql/**/*.js
66
excludes:
77
- ./amplify/**
88
extensions:
99
amplify:
1010
codeGenTarget: javascript
11-
generatedFileName: ''
12-
docsFilePath: src/graphql
11+
generatedFileName: ""
12+
docsFilePath: nextjs/src/graphql
1313
extensions:
1414
amplify:
1515
version: 3

amplify/.config/project-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"javascript": {
66
"framework": "react",
77
"config": {
8-
"SourceDir": "src",
8+
"SourceDir": "nextjs/src",
99
"DistributionDir": "build",
1010
"BuildCommand": "npm run-script build",
1111
"StartCommand": "npm run-script start"

nextjs/configureAmplify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Amplify from "aws-amplify";
2-
import config from "../src/aws-exports.js";
2+
import config from "./src/aws-exports.js";
33

44
// import CdkBackendStack from "../src/cdk-exports.json";
55

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const createBlog = /* GraphQL */ `
2222
comment_status
2323
ping_status
2424
comment_count
25+
post_featured_image
2526
createdAt
2627
updatedAt
2728
}
@@ -53,6 +54,7 @@ export const updateBlog = /* GraphQL */ `
5354
comment_status
5455
ping_status
5556
comment_count
57+
post_featured_image
5658
createdAt
5759
updatedAt
5860
}
@@ -84,6 +86,7 @@ export const deleteBlog = /* GraphQL */ `
8486
comment_status
8587
ping_status
8688
comment_count
89+
post_featured_image
8790
createdAt
8891
updatedAt
8992
}
@@ -111,6 +114,7 @@ export const createPost = /* GraphQL */ `
111114
comment_status
112115
ping_status
113116
comment_count
117+
post_featured_image
114118
blog {
115119
id
116120
title
@@ -120,6 +124,8 @@ export const createPost = /* GraphQL */ `
120124
createdAt
121125
updatedAt
122126
}
127+
createdAt
128+
updatedAt
123129
comments {
124130
items {
125131
id
@@ -139,8 +145,6 @@ export const createPost = /* GraphQL */ `
139145
}
140146
nextToken
141147
}
142-
createdAt
143-
updatedAt
144148
}
145149
}
146150
`;
@@ -161,6 +165,7 @@ export const updatePost = /* GraphQL */ `
161165
comment_status
162166
ping_status
163167
comment_count
168+
post_featured_image
164169
blog {
165170
id
166171
title
@@ -170,6 +175,8 @@ export const updatePost = /* GraphQL */ `
170175
createdAt
171176
updatedAt
172177
}
178+
createdAt
179+
updatedAt
173180
comments {
174181
items {
175182
id
@@ -189,8 +196,6 @@ export const updatePost = /* GraphQL */ `
189196
}
190197
nextToken
191198
}
192-
createdAt
193-
updatedAt
194199
}
195200
}
196201
`;
@@ -211,6 +216,7 @@ export const deletePost = /* GraphQL */ `
211216
comment_status
212217
ping_status
213218
comment_count
219+
post_featured_image
214220
blog {
215221
id
216222
title
@@ -220,6 +226,8 @@ export const deletePost = /* GraphQL */ `
220226
createdAt
221227
updatedAt
222228
}
229+
createdAt
230+
updatedAt
223231
comments {
224232
items {
225233
id
@@ -239,8 +247,6 @@ export const deletePost = /* GraphQL */ `
239247
}
240248
nextToken
241249
}
242-
createdAt
243-
updatedAt
244250
}
245251
}
246252
`;
@@ -264,20 +270,21 @@ export const createComment = /* GraphQL */ `
264270
comment_status
265271
ping_status
266272
comment_count
273+
post_featured_image
267274
blog {
268275
id
269276
title
270277
createdAt
271278
updatedAt
272279
}
280+
createdAt
281+
updatedAt
273282
comments {
274283
nextToken
275284
}
276285
category {
277286
nextToken
278287
}
279-
createdAt
280-
updatedAt
281288
}
282289
createdAt
283290
updatedAt
@@ -305,20 +312,21 @@ export const updateComment = /* GraphQL */ `
305312
comment_status
306313
ping_status
307314
comment_count
315+
post_featured_image
308316
blog {
309317
id
310318
title
311319
createdAt
312320
updatedAt
313321
}
322+
createdAt
323+
updatedAt
314324
comments {
315325
nextToken
316326
}
317327
category {
318328
nextToken
319329
}
320-
createdAt
321-
updatedAt
322330
}
323331
createdAt
324332
updatedAt
@@ -346,20 +354,21 @@ export const deleteComment = /* GraphQL */ `
346354
comment_status
347355
ping_status
348356
comment_count
357+
post_featured_image
349358
blog {
350359
id
351360
title
352361
createdAt
353362
updatedAt
354363
}
364+
createdAt
365+
updatedAt
355366
comments {
356367
nextToken
357368
}
358369
category {
359370
nextToken
360371
}
361-
createdAt
362-
updatedAt
363372
}
364373
createdAt
365374
updatedAt
@@ -387,20 +396,21 @@ export const createCategory = /* GraphQL */ `
387396
comment_status
388397
ping_status
389398
comment_count
399+
post_featured_image
390400
blog {
391401
id
392402
title
393403
createdAt
394404
updatedAt
395405
}
406+
createdAt
407+
updatedAt
396408
comments {
397409
nextToken
398410
}
399411
category {
400412
nextToken
401413
}
402-
createdAt
403-
updatedAt
404414
}
405415
createdAt
406416
updatedAt
@@ -427,20 +437,21 @@ export const updateCategory = /* GraphQL */ `
427437
comment_status
428438
ping_status
429439
comment_count
440+
post_featured_image
430441
blog {
431442
id
432443
title
433444
createdAt
434445
updatedAt
435446
}
447+
createdAt
448+
updatedAt
436449
comments {
437450
nextToken
438451
}
439452
category {
440453
nextToken
441454
}
442-
createdAt
443-
updatedAt
444455
}
445456
createdAt
446457
updatedAt
@@ -467,20 +478,21 @@ export const deleteCategory = /* GraphQL */ `
467478
comment_status
468479
ping_status
469480
comment_count
481+
post_featured_image
470482
blog {
471483
id
472484
title
473485
createdAt
474486
updatedAt
475487
}
488+
createdAt
489+
updatedAt
476490
comments {
477491
nextToken
478492
}
479493
category {
480494
nextToken
481495
}
482-
createdAt
483-
updatedAt
484496
}
485497
createdAt
486498
updatedAt
@@ -496,14 +508,14 @@ export const createVodAsset = /* GraphQL */ `
496508
id
497509
title
498510
description
511+
createdAt
512+
updatedAt
499513
video {
500514
id
501515
token
502516
createdAt
503517
updatedAt
504518
}
505-
createdAt
506-
updatedAt
507519
}
508520
}
509521
`;
@@ -516,14 +528,14 @@ export const updateVodAsset = /* GraphQL */ `
516528
id
517529
title
518530
description
531+
createdAt
532+
updatedAt
519533
video {
520534
id
521535
token
522536
createdAt
523537
updatedAt
524538
}
525-
createdAt
526-
updatedAt
527539
}
528540
}
529541
`;
@@ -536,14 +548,14 @@ export const deleteVodAsset = /* GraphQL */ `
536548
id
537549
title
538550
description
551+
createdAt
552+
updatedAt
539553
video {
540554
id
541555
token
542556
createdAt
543557
updatedAt
544558
}
545-
createdAt
546-
updatedAt
547559
}
548560
}
549561
`;

0 commit comments

Comments
 (0)