-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac5b733
commit ad7c0c0
Showing
17 changed files
with
5,256 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
appsync/graphql.ts: graphql/schema.graphql | ||
appsync/graphql.ts: graphql/schema.graphql appsync/node_modules | ||
if [ -z "$(IN_PIPELINE)" ] ; then \ | ||
docker run --rm --user $$(id -u):$$(id -g) -v $(PWD):/app -w /app/appsync --entrypoint ./node_modules/.bin/graphql-code-generator node:20 --config codegen.ts ; \ | ||
else \ | ||
echo Not re-auto-generating types file in pipeline ; \ | ||
fi | ||
|
||
appsync/make-schema.js: appsync/make-schema.ts | ||
appsync/make-schema.js: appsync/make-schema.ts appsync/node_modules | ||
cd appsync ; esbuild make-schema.ts --bundle --format=esm --platform=node --target=esnext --sourcemap=inline --sources-content=false > make-schema.js | ||
|
||
appsync/schema.ts: graphql/schema.graphql appsync/make-schema.js | ||
appsync/schema.ts: graphql/schema.graphql appsync/make-schema.js appsync/node_modules | ||
if [ -z "$(IN_PIPELINE)" ] ; then \ | ||
docker run --rm -i --user $$(id -u):$$(id -g) -v $(PWD):/app -w /app/appsync node:20 ./make-schema.js < $< > $@ ; \ | ||
else \ | ||
echo Not re-auto-generating types file in pipeline ; \ | ||
fi | ||
|
||
appsync/node_modules: | ||
cd appsync ; npm install |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
output "cognito_identity_pool_id" { | ||
value = module.wildsea.cognito_identity_pool_id | ||
} | ||
|
||
output "cognito_user_pool_id" { | ||
value = module.wildsea.cognito_user_pool_id | ||
} | ||
|
||
output "cognito_web_client_id" { | ||
value = module.wildsea.cognito_web_client_id | ||
} | ||
|
||
output "graphql_uri" { | ||
value = module.wildsea.graphql_uri | ||
} | ||
|
||
output "region" { | ||
value = module.wildsea.region | ||
} | ||
|
||
output "cognito_login_domain" { | ||
value = module.wildsea.cognito_login_domain | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
output "cognito_identity_pool_id" { | ||
value = aws_cognito_identity_pool.cognito.id | ||
} | ||
|
||
output "cognito_user_pool_id" { | ||
value = aws_cognito_user_pool.cognito.id | ||
} | ||
|
||
output "cognito_web_client_id" { | ||
value = aws_cognito_user_pool_client.cognito.id | ||
} | ||
|
||
output "graphql_uri" { | ||
value = aws_appsync_graphql_api.graphql.uris["GRAPHQL"] | ||
} | ||
|
||
output "region" { | ||
value = data.aws_region.current.name | ||
} | ||
|
||
output "cognito_login_domain" { | ||
value = "${aws_cognito_user_pool_domain.cognito.domain}.auth.${data.aws_region.current.name}.amazoncognito.com" | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" type="image/webp" href="/favicon.webp"> | ||
<title>Wildsea</title> | ||
</head> | ||
<body> | ||
<div class="controls"> | ||
<button id="login-button">Log In</button> | ||
<button id="logout-button">Log Out</button> | ||
</div> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.