Compare commits

...

32 Commits

Author SHA1 Message Date
standardci
7d498d4b75 chore(release): publish new version
- @standardnotes/auth-server@1.11.24
2022-07-15 07:53:55 +00:00
Karol Sójko
ec0fb98b72 chore(deps): upgrade crypto-random-string 2022-07-15 09:51:52 +02:00
Karol Sójko
9689be445c Merge pull request #10 from standardnotes/dependabot/github_actions/convictional/trigger-workflow-and-wait-1.6.3
chore(deps): bump convictional/trigger-workflow-and-wait from 1.6.1 to 1.6.3
2022-07-15 09:46:30 +02:00
Karol Sójko
adba3ce0b5 chore(infra): remove deploying to DEV environment 2022-07-14 16:09:23 +02:00
standardci
ee43cecaaf chore(release): publish new version
- @standardnotes/api-gateway@1.6.24
 - @standardnotes/auth-server@1.11.23
 - @standardnotes/files-server@1.5.22
 - @standardnotes/scheduler-server@1.5.20
 - @standardnotes/syncing-server@1.6.24
2022-07-14 14:06:36 +00:00
Karol Sójko
56fb33999e chore(deps): upgrade npm-check-updates 2022-07-14 16:04:34 +02:00
standardci
a421630a2d chore(release): publish new version
- @standardnotes/api-gateway@1.6.23
 - @standardnotes/auth-server@1.11.22
 - @standardnotes/common@1.30.0
 - @standardnotes/domain-events-infra@1.7.23
 - @standardnotes/domain-events@2.49.0
 - @standardnotes/event-store@1.1.22
 - @standardnotes/files-server@1.5.21
 - @standardnotes/predicates@1.2.6
 - @standardnotes/scheduler-server@1.5.19
 - @standardnotes/security@1.2.6
 - @standardnotes/syncing-server@1.6.23
2022-07-14 13:46:31 +00:00
Karol Sójko
7e95eea337 feat(domain-events): add refund requested event 2022-07-14 15:44:24 +02:00
standardci
eec76a7ec3 chore(release): publish new version
- @standardnotes/api-gateway@1.6.22
 - @standardnotes/auth-server@1.11.21
 - @standardnotes/domain-events-infra@1.7.22
 - @standardnotes/domain-events@2.48.1
 - @standardnotes/event-store@1.1.21
 - @standardnotes/files-server@1.5.20
 - @standardnotes/scheduler-server@1.5.18
 - @standardnotes/syncing-server@1.6.22
2022-07-14 13:01:50 +00:00
Karol Sójko
4184843e1d fix(domain-events): rate and adjustment formatted 2022-07-14 14:59:59 +02:00
standardci
84bb0d6bec chore(release): publish new version
- @standardnotes/api-gateway@1.6.21
 - @standardnotes/auth-server@1.11.20
 - @standardnotes/domain-events-infra@1.7.21
 - @standardnotes/domain-events@2.48.0
 - @standardnotes/event-store@1.1.20
 - @standardnotes/files-server@1.5.19
 - @standardnotes/scheduler-server@1.5.17
 - @standardnotes/syncing-server@1.6.21
2022-07-14 12:05:20 +00:00
Karol Sójko
54f769c6db feat(domain-events): add subscription rate adjusted event 2022-07-14 14:03:45 +02:00
standardci
b7eed64074 chore(release): publish new version
- @standardnotes/api-gateway@1.6.20
 - @standardnotes/auth-server@1.11.19
 - @standardnotes/domain-events-infra@1.7.20
 - @standardnotes/domain-events@2.47.0
 - @standardnotes/event-store@1.1.19
 - @standardnotes/files-server@1.5.18
 - @standardnotes/scheduler-server@1.5.16
 - @standardnotes/syncing-server@1.6.20
2022-07-14 11:46:36 +00:00
Karol Sójko
0134553cbb feat(domain-events): add refund processed event 2022-07-14 13:45:05 +02:00
standardci
f0b42c77c2 chore(release): publish new version
- @standardnotes/api-gateway@1.6.19
 - @standardnotes/auth-server@1.11.18
 - @standardnotes/domain-events-infra@1.7.19
 - @standardnotes/domain-events@2.46.0
 - @standardnotes/event-store@1.1.18
 - @standardnotes/files-server@1.5.17
 - @standardnotes/scheduler-server@1.5.15
 - @standardnotes/syncing-server@1.6.19
2022-07-14 11:20:30 +00:00
Karol Sójko
40b0f937bd feat(domain-events): add discount applied event 2022-07-14 13:19:04 +02:00
standardci
48c2c5af65 chore(release): publish new version
- @standardnotes/api-gateway@1.6.18
 - @standardnotes/auth-server@1.11.17
 - @standardnotes/domain-events-infra@1.7.18
 - @standardnotes/domain-events@2.45.0
 - @standardnotes/event-store@1.1.17
 - @standardnotes/files-server@1.5.16
 - @standardnotes/scheduler-server@1.5.14
 - @standardnotes/syncing-server@1.6.18
2022-07-14 10:41:09 +00:00
Karol Sójko
4384ba2f47 feat(domain-events): add payment failed event 2022-07-14 12:39:06 +02:00
standardci
11c2e08353 chore(release): publish new version
- @standardnotes/api-gateway@1.6.17
 - @standardnotes/auth-server@1.11.16
 - @standardnotes/common@1.29.0
 - @standardnotes/domain-events-infra@1.7.17
 - @standardnotes/domain-events@2.44.2
 - @standardnotes/event-store@1.1.16
 - @standardnotes/files-server@1.5.15
 - @standardnotes/predicates@1.2.5
 - @standardnotes/scheduler-server@1.5.13
 - @standardnotes/security@1.2.5
 - @standardnotes/syncing-server@1.6.17
2022-07-14 10:20:10 +00:00
Karol Sójko
dc55bd1fb9 fix(common): duplicate reset identifier 2022-07-14 12:18:08 +02:00
Karol Sójko
f7c04bc35f feat(common): add message identifiers from payment emails 2022-07-14 12:17:32 +02:00
standardci
ca801e321e chore(release): publish new version
- @standardnotes/api-gateway@1.6.16
 - @standardnotes/auth-server@1.11.15
 - @standardnotes/common@1.28.0
 - @standardnotes/domain-events-infra@1.7.16
 - @standardnotes/domain-events@2.44.1
 - @standardnotes/event-store@1.1.15
 - @standardnotes/files-server@1.5.14
 - @standardnotes/predicates@1.2.4
 - @standardnotes/scheduler-server@1.5.12
 - @standardnotes/security@1.2.4
 - @standardnotes/syncing-server@1.6.16
2022-07-13 17:28:39 +00:00
Karol Sójko
a3359e8c77 feat(common): add account reset email identifier 2022-07-13 19:27:05 +02:00
standardci
ab0ad2b26a chore(release): publish new version
- @standardnotes/api-gateway@1.6.15
 - @standardnotes/auth-server@1.11.14
 - @standardnotes/domain-events-infra@1.7.15
 - @standardnotes/domain-events@2.44.0
 - @standardnotes/event-store@1.1.14
 - @standardnotes/files-server@1.5.13
 - @standardnotes/scheduler-server@1.5.11
 - @standardnotes/syncing-server@1.6.15
2022-07-13 17:19:22 +00:00
Karol Sójko
4900b21047 feat(domain-events): add account reset requested event 2022-07-13 19:17:28 +02:00
standardci
0ee852aa84 chore(release): publish new version
- @standardnotes/api-gateway@1.6.14
 - @standardnotes/auth-server@1.11.13
 - @standardnotes/common@1.27.0
 - @standardnotes/domain-events-infra@1.7.14
 - @standardnotes/domain-events@2.43.1
 - @standardnotes/event-store@1.1.13
 - @standardnotes/files-server@1.5.12
 - @standardnotes/predicates@1.2.3
 - @standardnotes/scheduler-server@1.5.10
 - @standardnotes/security@1.2.3
 - @standardnotes/syncing-server@1.6.14
2022-07-13 09:58:45 +00:00
Karol Sójko
2de4362f8e feat(common): add student discount approved identifier 2022-07-13 11:57:02 +02:00
standardci
400913aaac chore(release): publish new version
- @standardnotes/api-gateway@1.6.13
 - @standardnotes/auth-server@1.11.12
 - @standardnotes/domain-events-infra@1.7.13
 - @standardnotes/domain-events@2.43.0
 - @standardnotes/event-store@1.1.12
 - @standardnotes/files-server@1.5.11
 - @standardnotes/scheduler-server@1.5.9
 - @standardnotes/syncing-server@1.6.13
2022-07-13 09:45:42 +00:00
Karol Sójko
f0d736cd1d feat(domain-events): add student discount approved event 2022-07-13 11:44:09 +02:00
standardci
54d1758eee chore(release): publish new version
- @standardnotes/api-gateway@1.6.12
 - @standardnotes/auth-server@1.11.11
 - @standardnotes/common@1.26.0
 - @standardnotes/domain-events-infra@1.7.12
 - @standardnotes/domain-events@2.42.1
 - @standardnotes/event-store@1.1.11
 - @standardnotes/files-server@1.5.10
 - @standardnotes/predicates@1.2.2
 - @standardnotes/scheduler-server@1.5.8
 - @standardnotes/security@1.2.2
 - @standardnotes/syncing-server@1.6.12
2022-07-13 09:12:42 +00:00
Karol Sójko
36bb98e2af feat(common): add student discount identifier 2022-07-13 11:10:38 +02:00
dependabot[bot]
82495fa724 chore(deps): bump convictional/trigger-workflow-and-wait
Bumps [convictional/trigger-workflow-and-wait](https://github.com/convictional/trigger-workflow-and-wait) from 1.6.1 to 1.6.3.
- [Release notes](https://github.com/convictional/trigger-workflow-and-wait/releases)
- [Commits](https://github.com/convictional/trigger-workflow-and-wait/compare/v1.6.1...v1.6.3)

---
updated-dependencies:
- dependency-name: convictional/trigger-workflow-and-wait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 10:26:33 +00:00
111 changed files with 1667 additions and 359 deletions

View File

@@ -41,7 +41,7 @@ jobs:
docker push standardnotes/api-gateway:${{ github.sha }}
- name: Run E2E test suite
uses: convictional/trigger-workflow-and-wait@v1.6.1
uses: convictional/trigger-workflow-and-wait@v1.6.3
with:
owner: standardnotes
repo: e2e
@@ -114,40 +114,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition api-gateway-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="api-gateway-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: api-gateway-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/api-gateway:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: api-gateway-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition api-gateway-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="api-gateway-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: api-gateway-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/api-gateway:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}

View File

@@ -44,7 +44,7 @@ jobs:
docker push standardnotes/auth:${{ github.sha }}
- name: Run E2E test suite
uses: convictional/trigger-workflow-and-wait@v1.6.1
uses: convictional/trigger-workflow-and-wait@v1.6.3
with:
owner: standardnotes
repo: e2e
@@ -117,40 +117,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition auth-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="auth-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: auth-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/auth:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: auth-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition auth-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="auth-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: auth-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/auth:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}
@@ -170,40 +150,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition auth-worker-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="auth-worker-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: auth-worker-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/auth:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: auth-worker-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition auth-worker-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="auth-worker-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: auth-worker-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/auth:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}

View File

@@ -88,20 +88,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition event-store-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="event-store-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: event-store-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/event-store:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}

View File

@@ -44,7 +44,7 @@ jobs:
docker push standardnotes/files:${{ github.sha }}
- name: Run E2E test suite
uses: convictional/trigger-workflow-and-wait@v1.6.1
uses: convictional/trigger-workflow-and-wait@v1.6.3
with:
owner: standardnotes
repo: e2e
@@ -117,40 +117,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition files-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="files-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: files-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/files:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: files-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition files-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="files-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: files-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/files:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}
@@ -170,40 +150,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition files-worker-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="files-worker-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: files-worker-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/files:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: files-worker-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition files-worker-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="files-worker-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: files-worker-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/files:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}

View File

@@ -88,40 +88,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition scheduler-worker-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="scheduler-worker-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: scheduler-worker-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/scheduler-worker:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: scheduler-worker-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition scheduler-worker-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="scheduler-worker-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: scheduler-worker-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/scheduler-worker:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}

View File

@@ -44,7 +44,7 @@ jobs:
docker push standardnotes/syncing-server-js:${{ github.sha }}
- name: Run E2E test suite
uses: convictional/trigger-workflow-and-wait@v1.6.1
uses: convictional/trigger-workflow-and-wait@v1.6.3
with:
owner: standardnotes
repo: e2e
@@ -117,40 +117,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition syncing-server-js-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="syncing-server-js-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: syncing-server-js-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/syncing-server-js:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: syncing-server-js-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition syncing-server-js-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="syncing-server-js-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: syncing-server-js-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/syncing-server-js:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}
@@ -170,40 +150,20 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: DEV - Download task definition
run: |
aws ecs describe-task-definition --task-definition syncing-server-js-worker-dev --query taskDefinition > task-definition.json
- name: DEV - Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="syncing-server-js-worker-dev") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: DEV - Fill in the new image ID in the Amazon ECS task definition
id: task-def-dev
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: syncing-server-js-worker-dev
image: ${{ secrets.AWS_ECR_REGISTRY }}/syncing-server-js:${{ github.sha }}
- name: DEV - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-dev.outputs.task-definition }}
service: syncing-server-js-worker-dev
cluster: dev
wait-for-service-stability: true
- name: PROD - Download task definition
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition syncing-server-js-worker-prod --query taskDefinition > task-definition.json
- name: PROD - Fill in the new version in the Amazon ECS task definition
- name: Fill in the new version in the Amazon ECS task definition
run: |
jq '(.containerDefinitions[] | select(.name=="syncing-server-js-worker-prod") | .environment[] | select(.name=="VERSION")).value = "${{ github.sha }}"' task-definition.json > tmp.json && mv tmp.json task-definition.json
- name: PROD - Fill in the new image ID in the Amazon ECS task definition
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def-prod
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: syncing-server-js-worker-prod
image: ${{ secrets.AWS_ECR_REGISTRY }}/syncing-server-js:${{ github.sha }}
- name: PROD - Deploy Amazon ECS task definition
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def-prod.outputs.task-definition }}

548
.pnp.cjs generated
View File

@@ -122,7 +122,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["eslint-config-prettier", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:8.5.0"],\
["ini", "npm:3.0.0"],\
["newrelic", "npm:8.14.1"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["prettier", "npm:2.7.1"],\
["ts-node", "virtual:c0eab07e71af57f5501e97e7ca7a2a4f4965035bd2455ad124a8b09fa55780657c55fe3df41019fa6c2c44487c897668c842a0939e380b3c1f13b3756d128543#npm:10.8.2"],\
["typescript", "patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"]\
@@ -2249,6 +2249,27 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@pnpm/network.ca-file", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/@pnpm-network.ca-file-npm-1.0.1-42bfe40bec-c847d86187.zip/node_modules/@pnpm/network.ca-file/",\
"packageDependencies": [\
["@pnpm/network.ca-file", "npm:1.0.1"],\
["graceful-fs", "npm:4.2.10"]\
],\
"linkType": "HARD"\
}]\
]],\
["@pnpm/npm-conf", [\
["npm:1.0.4", {\
"packageLocation": "./.yarn/cache/@pnpm-npm-conf-npm-1.0.4-cc4c19088e-f94afa48ce.zip/node_modules/@pnpm/npm-conf/",\
"packageDependencies": [\
["@pnpm/npm-conf", "npm:1.0.4"],\
["@pnpm/network.ca-file", "npm:1.0.1"],\
["config-chain", "npm:1.1.13"]\
],\
"linkType": "HARD"\
}]\
]],\
["@protobufjs/aspromise", [\
["npm:1.1.2", {\
"packageLocation": "./.yarn/cache/@protobufjs-aspromise-npm-1.1.2-71d00b938f-011fe7ef08.zip/node_modules/@protobufjs/aspromise/",\
@@ -2419,6 +2440,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@sindresorhus/is", "npm:0.14.0"]\
],\
"linkType": "HARD"\
}],\
["npm:4.6.0", {\
"packageLocation": "./.yarn/cache/@sindresorhus-is-npm-4.6.0-7cad05c55e-83839f13da.zip/node_modules/@sindresorhus/is/",\
"packageDependencies": [\
["@sindresorhus/is", "npm:4.6.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@sinonjs/commons", [\
@@ -2517,7 +2545,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["jsonwebtoken", "npm:8.5.1"],\
["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.19"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["prettyjson", "npm:1.2.5"],\
["reflect-metadata", "npm:0.1.13"],\
["ts-jest", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:28.0.5"],\
@@ -2572,7 +2600,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["axios", "npm:0.27.2"],\
["bcryptjs", "npm:2.4.3"],\
["cors", "npm:2.8.5"],\
["crypto-random-string", "npm:3.3.0"],\
["crypto-random-string", "npm:5.0.0"],\
["dayjs", "npm:1.11.3"],\
["dotenv", "npm:16.0.1"],\
["eslint", "npm:8.19.0"],\
@@ -2585,7 +2613,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["mysql2", "npm:2.3.3"],\
["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.19"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["otplib", "npm:12.0.1"],\
["prettyjson", "npm:1.2.5"],\
["reflect-metadata", "npm:0.1.13"],\
@@ -2769,7 +2797,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["jsonwebtoken", "npm:8.5.1"],\
["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.19"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["prettyjson", "npm:1.2.5"],\
["reflect-metadata", "npm:0.1.13"],\
["ts-jest", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:28.0.5"],\
@@ -2861,7 +2889,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["jest", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:28.1.2"],\
["mysql2", "npm:2.3.3"],\
["newrelic", "npm:8.14.1"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["reflect-metadata", "npm:0.1.13"],\
["ts-jest", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:28.0.5"],\
["typeorm", "virtual:31b5a94a105c89c9294c3d524a7f8929fe63ee5a2efadf21951ca4c0cfd2ecf02e8f4ef5a066bbda091f1e3a56e57c6749069a080618c96b22e51131a330fc4a#npm:0.3.7"],\
@@ -2907,7 +2935,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["eslint-config-prettier", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:8.5.0"],\
["ini", "npm:3.0.0"],\
["newrelic", "npm:8.14.1"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["prettier", "npm:2.7.1"],\
["ts-node", "virtual:c0eab07e71af57f5501e97e7ca7a2a4f4965035bd2455ad124a8b09fa55780657c55fe3df41019fa6c2c44487c897668c842a0939e380b3c1f13b3756d128543#npm:10.8.2"],\
["typescript", "patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"]\
@@ -3014,7 +3042,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["mysql2", "npm:2.3.3"],\
["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.7"],\
["npm-check-updates", "npm:14.1.1"],\
["npm-check-updates", "npm:15.3.3"],\
["prettyjson", "npm:1.2.5"],\
["reflect-metadata", "npm:0.1.13"],\
["ts-jest", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:28.0.5"],\
@@ -3064,6 +3092,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["defer-to-connect", "npm:1.1.3"]\
],\
"linkType": "HARD"\
}],\
["npm:5.0.1", {\
"packageLocation": "./.yarn/cache/@szmarczak-http-timer-npm-5.0.1-52261e5986-fc9cb993e8.zip/node_modules/@szmarczak/http-timer/",\
"packageDependencies": [\
["@szmarczak/http-timer", "npm:5.0.1"],\
["defer-to-connect", "npm:2.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@tootallnate/once", [\
@@ -3186,6 +3222,19 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@types/cacheable-request", [\
["npm:6.0.2", {\
"packageLocation": "./.yarn/cache/@types-cacheable-request-npm-6.0.2-894b6992d5-667d25808d.zip/node_modules/@types/cacheable-request/",\
"packageDependencies": [\
["@types/cacheable-request", "npm:6.0.2"],\
["@types/http-cache-semantics", "npm:4.0.1"],\
["@types/keyv", "npm:3.1.4"],\
["@types/node", "npm:18.0.3"],\
["@types/responselike", "npm:1.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/connect", [\
["npm:3.4.35", {\
"packageLocation": "./.yarn/cache/@types-connect-npm-3.4.35-7337eee0a3-fe81351470.zip/node_modules/@types/connect/",\
@@ -3262,6 +3311,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@types/http-cache-semantics", [\
["npm:4.0.1", {\
"packageLocation": "./.yarn/cache/@types-http-cache-semantics-npm-4.0.1-90863c7a3e-1048aacf62.zip/node_modules/@types/http-cache-semantics/",\
"packageDependencies": [\
["@types/http-cache-semantics", "npm:4.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/inversify-express-utils", [\
["npm:2.0.0", {\
"packageLocation": "./.yarn/cache/@types-inversify-express-utils-npm-2.0.0-e78182955d-848aa75f0f.zip/node_modules/@types/inversify-express-utils/",\
@@ -3322,6 +3380,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["@types/json-buffer", [\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/@types-json-buffer-npm-3.0.0-9f2fe89eaa-6b0a371dd6.zip/node_modules/@types/json-buffer/",\
"packageDependencies": [\
["@types/json-buffer", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/json-schema", [\
["npm:7.0.11", {\
"packageLocation": "./.yarn/cache/@types-json-schema-npm-7.0.11-79462ae5ca-527bddfe62.zip/node_modules/@types/json-schema/",\
@@ -4054,6 +4121,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ansi-regex", "npm:5.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:6.0.1", {\
"packageLocation": "./.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip/node_modules/ansi-regex/",\
"packageDependencies": [\
["ansi-regex", "npm:6.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["ansi-styles", [\
@@ -4079,6 +4153,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ansi-styles", "npm:5.2.0"]\
],\
"linkType": "HARD"\
}],\
["npm:6.1.0", {\
"packageLocation": "./.yarn/cache/ansi-styles-npm-6.1.0-4f6a594d04-7a7f8528c0.zip/node_modules/ansi-styles/",\
"packageDependencies": [\
["ansi-styles", "npm:6.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["any-promise", [\
@@ -4486,18 +4567,18 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
"linkType": "HARD"\
}],\
["npm:5.1.2", {\
"packageLocation": "./.yarn/cache/boxen-npm-5.1.2-364ee34f2f-82d03e42a7.zip/node_modules/boxen/",\
["npm:7.0.0", {\
"packageLocation": "./.yarn/cache/boxen-npm-7.0.0-86e7bcbd8c-b917cf7a16.zip/node_modules/boxen/",\
"packageDependencies": [\
["boxen", "npm:5.1.2"],\
["boxen", "npm:7.0.0"],\
["ansi-align", "npm:3.0.1"],\
["camelcase", "npm:6.3.0"],\
["chalk", "npm:4.1.2"],\
["cli-boxes", "npm:2.2.1"],\
["string-width", "npm:4.2.3"],\
["type-fest", "npm:0.20.2"],\
["widest-line", "npm:3.1.0"],\
["wrap-ansi", "npm:7.0.0"]\
["camelcase", "npm:7.0.0"],\
["chalk", "npm:5.0.1"],\
["cli-boxes", "npm:3.0.0"],\
["string-width", "npm:5.1.2"],\
["type-fest", "npm:2.16.0"],\
["widest-line", "npm:4.0.1"],\
["wrap-ansi", "npm:8.0.1"]\
],\
"linkType": "HARD"\
}]\
@@ -4677,6 +4758,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["cacheable-lookup", [\
["npm:6.0.4", {\
"packageLocation": "./.yarn/cache/cacheable-lookup-npm-6.0.4-fe6f8fb6da-7aea70f5ea.zip/node_modules/cacheable-lookup/",\
"packageDependencies": [\
["cacheable-lookup", "npm:6.0.4"]\
],\
"linkType": "HARD"\
}]\
]],\
["cacheable-request", [\
["npm:6.1.0", {\
"packageLocation": "./.yarn/cache/cacheable-request-npm-6.1.0-684b834873-b510b237b1.zip/node_modules/cacheable-request/",\
@@ -4691,6 +4781,20 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["responselike", "npm:1.0.2"]\
],\
"linkType": "HARD"\
}],\
["npm:7.0.2", {\
"packageLocation": "./.yarn/cache/cacheable-request-npm-7.0.2-e64cc641fc-6152813982.zip/node_modules/cacheable-request/",\
"packageDependencies": [\
["cacheable-request", "npm:7.0.2"],\
["clone-response", "npm:1.0.2"],\
["get-stream", "npm:5.2.0"],\
["http-cache-semantics", "npm:4.1.0"],\
["keyv", "npm:4.3.2"],\
["lowercase-keys", "npm:2.0.0"],\
["normalize-url", "npm:6.1.0"],\
["responselike", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["call-bind", [\
@@ -4727,6 +4831,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["camelcase", "npm:6.3.0"]\
],\
"linkType": "HARD"\
}],\
["npm:7.0.0", {\
"packageLocation": "./.yarn/cache/camelcase-npm-7.0.0-5041fb20b5-162d59607b.zip/node_modules/camelcase/",\
"packageDependencies": [\
["camelcase", "npm:7.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["camelcase-keys", [\
@@ -4778,6 +4889,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["supports-color", "npm:7.2.0"]\
],\
"linkType": "HARD"\
}],\
["npm:5.0.1", {\
"packageLocation": "./.yarn/cache/chalk-npm-5.0.1-6afcb94227-7b45300372.zip/node_modules/chalk/",\
"packageDependencies": [\
["chalk", "npm:5.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["char-regex", [\
@@ -4840,15 +4958,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["cint", [\
["npm:8.2.1", {\
"packageLocation": "./.yarn/cache/cint-npm-8.2.1-958b3dddeb-5f32feed16.zip/node_modules/cint/",\
"packageDependencies": [\
["cint", "npm:8.2.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["cjs-module-lexer", [\
["npm:1.2.2", {\
"packageLocation": "./.yarn/cache/cjs-module-lexer-npm-1.2.2-473ce063ea-977f3f042b.zip/node_modules/cjs-module-lexer/",\
@@ -4874,6 +4983,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["cli-boxes", "npm:2.2.1"]\
],\
"linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/cli-boxes-npm-3.0.0-e5de3a0d5e-637d84419d.zip/node_modules/cli-boxes/",\
"packageDependencies": [\
["cli-boxes", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["cli-cursor", [\
@@ -5132,6 +5248,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["compress-brotli", [\
["npm:1.3.8", {\
"packageLocation": "./.yarn/cache/compress-brotli-npm-1.3.8-9b6ceac281-de7589d692.zip/node_modules/compress-brotli/",\
"packageDependencies": [\
["compress-brotli", "npm:1.3.8"],\
["@types/json-buffer", "npm:3.0.0"],\
["json-buffer", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["concat-map", [\
["npm:0.0.1", {\
"packageLocation": "./.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip/node_modules/concat-map/",\
@@ -5178,6 +5305,18 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["xdg-basedir", "npm:4.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:6.0.0", {\
"packageLocation": "./.yarn/cache/configstore-npm-6.0.0-410b4e0bf5-81995351c1.zip/node_modules/configstore/",\
"packageDependencies": [\
["configstore", "npm:6.0.0"],\
["dot-prop", "npm:6.0.1"],\
["graceful-fs", "npm:4.2.10"],\
["unique-string", "npm:3.0.0"],\
["write-file-atomic", "npm:3.0.3"],\
["xdg-basedir", "npm:5.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["connect-busboy", [\
@@ -5461,11 +5600,19 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
"linkType": "HARD"\
}],\
["npm:3.3.0", {\
"packageLocation": "./.yarn/cache/crypto-random-string-npm-3.3.0-4f73472f10-deff986631.zip/node_modules/crypto-random-string/",\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/crypto-random-string-npm-4.0.0-b9f0f76168-91f148f27b.zip/node_modules/crypto-random-string/",\
"packageDependencies": [\
["crypto-random-string", "npm:3.3.0"],\
["type-fest", "npm:0.8.1"]\
["crypto-random-string", "npm:4.0.0"],\
["type-fest", "npm:1.4.0"]\
],\
"linkType": "HARD"\
}],\
["npm:5.0.0", {\
"packageLocation": "./.yarn/cache/crypto-random-string-npm-5.0.0-1063dfc0f9-42c8ad0076.zip/node_modules/crypto-random-string/",\
"packageDependencies": [\
["crypto-random-string", "npm:5.0.0"],\
["type-fest", "npm:2.16.0"]\
],\
"linkType": "HARD"\
}]\
@@ -5608,6 +5755,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["mimic-response", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:6.0.0", {\
"packageLocation": "./.yarn/cache/decompress-response-npm-6.0.0-359de2878c-d377cf47e0.zip/node_modules/decompress-response/",\
"packageDependencies": [\
["decompress-response", "npm:6.0.0"],\
["mimic-response", "npm:3.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["dedent", [\
@@ -5663,6 +5818,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["defer-to-connect", "npm:1.1.3"]\
],\
"linkType": "HARD"\
}],\
["npm:2.0.1", {\
"packageLocation": "./.yarn/cache/defer-to-connect-npm-2.0.1-9005cc8c60-8a9b50d2f2.zip/node_modules/defer-to-connect/",\
"packageDependencies": [\
["defer-to-connect", "npm:2.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["delayed-stream", [\
@@ -5813,6 +5975,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["is-obj", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:6.0.1", {\
"packageLocation": "./.yarn/cache/dot-prop-npm-6.0.1-de66211710-0f47600a4b.zip/node_modules/dot-prop/",\
"packageDependencies": [\
["dot-prop", "npm:6.0.1"],\
["is-obj", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["dotenv", [\
@@ -5842,6 +6012,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["eastasianwidth", [\
["npm:0.2.0", {\
"packageLocation": "./.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip/node_modules/eastasianwidth/",\
"packageDependencies": [\
["eastasianwidth", "npm:0.2.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["ecdsa-sig-formatter", [\
["npm:1.0.11", {\
"packageLocation": "./.yarn/cache/ecdsa-sig-formatter-npm-1.0.11-b6784e7852-207f9ab1c2.zip/node_modules/ecdsa-sig-formatter/",\
@@ -5886,6 +6065,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["emoji-regex", "npm:8.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:9.2.2", {\
"packageLocation": "./.yarn/cache/emoji-regex-npm-9.2.2-e6fac8d058-8487182da7.zip/node_modules/emoji-regex/",\
"packageDependencies": [\
["emoji-regex", "npm:9.2.2"]\
],\
"linkType": "HARD"\
}]\
]],\
["enabled", [\
@@ -5990,6 +6176,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["escape-goat", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}],\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/escape-goat-npm-4.0.0-31eb65b6cc-7034e0025e.zip/node_modules/escape-goat/",\
"packageDependencies": [\
["escape-goat", "npm:4.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["escape-html", [\
@@ -6695,6 +6888,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["form-data-encoder", [\
["npm:1.7.1", {\
"packageLocation": "./.yarn/cache/form-data-encoder-npm-1.7.1-7c80545199-a2a360d558.zip/node_modules/form-data-encoder/",\
"packageDependencies": [\
["form-data-encoder", "npm:1.7.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["forwarded", [\
["npm:0.2.0", {\
"packageLocation": "./.yarn/cache/forwarded-npm-0.2.0-6473dabe35-fd27e2394d.zip/node_modules/forwarded/",\
@@ -7065,6 +7267,26 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\
]],\
["got", [\
["npm:12.1.0", {\
"packageLocation": "./.yarn/cache/got-npm-12.1.0-5d0f237e8e-1cc9af6ca5.zip/node_modules/got/",\
"packageDependencies": [\
["got", "npm:12.1.0"],\
["@sindresorhus/is", "npm:4.6.0"],\
["@szmarczak/http-timer", "npm:5.0.1"],\
["@types/cacheable-request", "npm:6.0.2"],\
["@types/responselike", "npm:1.0.0"],\
["cacheable-lookup", "npm:6.0.4"],\
["cacheable-request", "npm:7.0.2"],\
["decompress-response", "npm:6.0.0"],\
["form-data-encoder", "npm:1.7.1"],\
["get-stream", "npm:6.0.1"],\
["http2-wrapper", "npm:2.1.11"],\
["lowercase-keys", "npm:3.0.0"],\
["p-cancelable", "npm:3.0.0"],\
["responselike", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:9.6.0", {\
"packageLocation": "./.yarn/cache/got-npm-9.6.0-80edc15fd0-941807bd97.zip/node_modules/got/",\
"packageDependencies": [\
@@ -7169,6 +7391,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["has-yarn", "npm:2.1.0"]\
],\
"linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/has-yarn-npm-3.0.0-951e36133f-b9e14e78e0.zip/node_modules/has-yarn/",\
"packageDependencies": [\
["has-yarn", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["helmet", [\
@@ -7281,6 +7510,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["http2-wrapper", [\
["npm:2.1.11", {\
"packageLocation": "./.yarn/cache/http2-wrapper-npm-2.1.11-a7577d6368-5da05aa2c7.zip/node_modules/http2-wrapper/",\
"packageDependencies": [\
["http2-wrapper", "npm:2.1.11"],\
["quick-lru", "npm:5.1.1"],\
["resolve-alpn", "npm:1.2.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["https-proxy-agent", [\
["npm:5.0.1", {\
"packageLocation": "./.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip/node_modules/https-proxy-agent/",\
@@ -7391,6 +7631,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["import-lazy", "npm:2.1.0"]\
],\
"linkType": "HARD"\
}],\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/import-lazy-npm-4.0.0-3215653869-22f5e51702.zip/node_modules/import-lazy/",\
"packageDependencies": [\
["import-lazy", "npm:4.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["import-local", [\
@@ -7731,10 +7978,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
"linkType": "HARD"\
}],\
["npm:5.0.0", {\
"packageLocation": "./.yarn/cache/is-npm-npm-5.0.0-2758bcd54b-9baff02b0c.zip/node_modules/is-npm/",\
["npm:6.0.0", {\
"packageLocation": "./.yarn/cache/is-npm-npm-6.0.0-d8d9039032-fafe1ddc77.zip/node_modules/is-npm/",\
"packageDependencies": [\
["is-npm", "npm:5.0.0"]\
["is-npm", "npm:6.0.0"]\
],\
"linkType": "HARD"\
}]\
@@ -7862,6 +8109,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["is-yarn-global", "npm:0.3.0"]\
],\
"linkType": "HARD"\
}],\
["npm:0.4.0", {\
"packageLocation": "./.yarn/cache/is-yarn-global-npm-0.4.0-8b8bf14f52-a5fcf09c3a.zip/node_modules/is-yarn-global/",\
"packageDependencies": [\
["is-yarn-global", "npm:0.4.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["isarray", [\
@@ -8540,6 +8794,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["json-buffer", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:3.0.1", {\
"packageLocation": "./.yarn/cache/json-buffer-npm-3.0.1-f8f6d20603-9026b03edc.zip/node_modules/json-buffer/",\
"packageDependencies": [\
["json-buffer", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["json-parse-better-errors", [\
@@ -8692,6 +8953,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["json-buffer", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:4.3.2", {\
"packageLocation": "./.yarn/cache/keyv-npm-4.3.2-036dc9c0ad-237952f5fa.zip/node_modules/keyv/",\
"packageDependencies": [\
["keyv", "npm:4.3.2"],\
["compress-brotli", "npm:1.3.8"],\
["json-buffer", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["kind-of", [\
@@ -8736,6 +9006,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["package-json", "npm:6.5.0"]\
],\
"linkType": "HARD"\
}],\
["npm:7.0.0", {\
"packageLocation": "./.yarn/cache/latest-version-npm-7.0.0-2849fd29d3-1f0deba00d.zip/node_modules/latest-version/",\
"packageDependencies": [\
["latest-version", "npm:7.0.0"],\
["package-json", "npm:8.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["leven", [\
@@ -9028,6 +9306,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["lowercase-keys", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/lowercase-keys-npm-3.0.0-f8c4730215-67a3f81409.zip/node_modules/lowercase-keys/",\
"packageDependencies": [\
["lowercase-keys", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["lru-cache", [\
@@ -9276,6 +9561,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["mimic-response", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:3.1.0", {\
"packageLocation": "./.yarn/cache/mimic-response-npm-3.1.0-a4a24b4e96-25739fee32.zip/node_modules/mimic-response/",\
"packageDependencies": [\
["mimic-response", "npm:3.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["min-indent", [\
@@ -9778,12 +10070,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\
]],\
["npm-check-updates", [\
["npm:14.1.1", {\
"packageLocation": "./.yarn/cache/npm-check-updates-npm-14.1.1-c02bfe3d02-a3ec52312c.zip/node_modules/npm-check-updates/",\
["npm:15.3.3", {\
"packageLocation": "./.yarn/cache/npm-check-updates-npm-15.3.3-146d2ff74b-3ee33fe369.zip/node_modules/npm-check-updates/",\
"packageDependencies": [\
["npm-check-updates", "npm:14.1.1"],\
["chalk", "npm:4.1.2"],\
["cint", "npm:8.2.1"],\
["npm-check-updates", "npm:15.3.3"],\
["chalk", "npm:5.0.1"],\
["cli-table", "npm:0.3.11"],\
["commander", "npm:9.3.0"],\
["fast-memoize", "npm:2.5.2"],\
@@ -9800,7 +10091,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["pacote", "npm:13.6.1"],\
["parse-github-url", "npm:1.0.2"],\
["progress", "npm:2.0.3"],\
["prompts-ncu", "npm:2.5.0"],\
["prompts-ncu", "npm:2.5.1"],\
["rc-config-loader", "npm:4.1.0"],\
["remote-git-tags", "npm:3.0.0"],\
["rimraf", "npm:3.0.2"],\
@@ -9808,7 +10099,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["semver-utils", "npm:1.1.4"],\
["source-map-support", "npm:0.5.21"],\
["spawn-please", "npm:1.0.0"],\
["update-notifier", "npm:5.1.0"],\
["update-notifier", "npm:6.0.2"],\
["yaml", "npm:2.1.1"]\
],\
"linkType": "HARD"\
@@ -10039,6 +10330,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["p-cancelable", "npm:1.1.0"]\
],\
"linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/p-cancelable-npm-3.0.0-e6c8101c97-2b5ae34218.zip/node_modules/p-cancelable/",\
"packageDependencies": [\
["p-cancelable", "npm:3.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["p-finally", [\
@@ -10185,6 +10483,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["semver", "npm:6.3.0"]\
],\
"linkType": "HARD"\
}],\
["npm:8.1.0", {\
"packageLocation": "./.yarn/cache/package-json-npm-8.1.0-79fa6df898-28c16ef029.zip/node_modules/package-json/",\
"packageDependencies": [\
["package-json", "npm:8.1.0"],\
["got", "npm:12.1.0"],\
["registry-auth-token", "npm:5.0.1"],\
["registry-url", "npm:6.0.1"],\
["semver", "npm:7.3.7"]\
],\
"linkType": "HARD"\
}]\
]],\
["pacote", [\
@@ -10608,10 +10917,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\
]],\
["prompts-ncu", [\
["npm:2.5.0", {\
"packageLocation": "./.yarn/cache/prompts-ncu-npm-2.5.0-5d11c7d5b9-e050961c30.zip/node_modules/prompts-ncu/",\
["npm:2.5.1", {\
"packageLocation": "./.yarn/cache/prompts-ncu-npm-2.5.1-586a5abf0b-e8b6479305.zip/node_modules/prompts-ncu/",\
"packageDependencies": [\
["prompts-ncu", "npm:2.5.0"],\
["prompts-ncu", "npm:2.5.1"],\
["kleur", "npm:4.1.5"],\
["sisteransi", "npm:1.0.5"]\
],\
@@ -10729,6 +11038,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["escape-goat", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}],\
["npm:3.1.0", {\
"packageLocation": "./.yarn/cache/pupa-npm-3.1.0-8d0c9815fb-0e4f4ab6bb.zip/node_modules/pupa/",\
"packageDependencies": [\
["pupa", "npm:3.1.0"],\
["escape-goat", "npm:4.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["q", [\
@@ -10796,6 +11113,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["quick-lru", "npm:4.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:5.1.1", {\
"packageLocation": "./.yarn/cache/quick-lru-npm-5.1.1-e38e0edce3-a516faa255.zip/node_modules/quick-lru/",\
"packageDependencies": [\
["quick-lru", "npm:5.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["range-parser", [\
@@ -11033,6 +11357,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["rc", "npm:1.2.8"]\
],\
"linkType": "HARD"\
}],\
["npm:5.0.1", {\
"packageLocation": "./.yarn/cache/registry-auth-token-npm-5.0.1-e4154b97dd-abd3a3b14a.zip/node_modules/registry-auth-token/",\
"packageDependencies": [\
["registry-auth-token", "npm:5.0.1"],\
["@pnpm/npm-conf", "npm:1.0.4"]\
],\
"linkType": "HARD"\
}]\
]],\
["registry-url", [\
@@ -11043,6 +11375,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["rc", "npm:1.2.8"]\
],\
"linkType": "HARD"\
}],\
["npm:6.0.1", {\
"packageLocation": "./.yarn/cache/registry-url-npm-6.0.1-44fabb0bc1-33712aa1b4.zip/node_modules/registry-url/",\
"packageDependencies": [\
["registry-url", "npm:6.0.1"],\
["rc", "npm:1.2.8"]\
],\
"linkType": "HARD"\
}]\
]],\
["remote-git-tags", [\
@@ -11084,6 +11424,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"linkType": "HARD"\
}]\
]],\
["resolve-alpn", [\
["npm:1.2.1", {\
"packageLocation": "./.yarn/cache/resolve-alpn-npm-1.2.1-af77edd28b-f558071fcb.zip/node_modules/resolve-alpn/",\
"packageDependencies": [\
["resolve-alpn", "npm:1.2.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["resolve-cwd", [\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip/node_modules/resolve-cwd/",\
@@ -11137,6 +11486,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["lowercase-keys", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:2.0.0", {\
"packageLocation": "./.yarn/cache/responselike-npm-2.0.0-7813864e97-6a4d32c37d.zip/node_modules/responselike/",\
"packageDependencies": [\
["responselike", "npm:2.0.0"],\
["lowercase-keys", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["restore-cursor", [\
@@ -11296,6 +11653,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["semver", "npm:6.3.0"]\
],\
"linkType": "HARD"\
}],\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/semver-diff-npm-4.0.0-33162befa2-4a958d6f76.zip/node_modules/semver-diff/",\
"packageDependencies": [\
["semver-diff", "npm:4.0.0"],\
["semver", "npm:7.3.7"]\
],\
"linkType": "HARD"\
}]\
]],\
["semver-utils", [\
@@ -11752,6 +12117,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["strip-ansi", "npm:6.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:5.1.2", {\
"packageLocation": "./.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip/node_modules/string-width/",\
"packageDependencies": [\
["string-width", "npm:5.1.2"],\
["eastasianwidth", "npm:0.2.0"],\
["emoji-regex", "npm:9.2.2"],\
["strip-ansi", "npm:7.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["string_decoder", [\
@@ -11780,6 +12155,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ansi-regex", "npm:5.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:7.0.1", {\
"packageLocation": "./.yarn/cache/strip-ansi-npm-7.0.1-668c121204-257f78fa43.zip/node_modules/strip-ansi/",\
"packageDependencies": [\
["strip-ansi", "npm:7.0.1"],\
["ansi-regex", "npm:6.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["strip-bom", [\
@@ -12421,6 +12804,20 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["type-fest", "npm:0.8.1"]\
],\
"linkType": "HARD"\
}],\
["npm:1.4.0", {\
"packageLocation": "./.yarn/cache/type-fest-npm-1.4.0-7dd848962a-b011c33886.zip/node_modules/type-fest/",\
"packageDependencies": [\
["type-fest", "npm:1.4.0"]\
],\
"linkType": "HARD"\
}],\
["npm:2.16.0", {\
"packageLocation": "./.yarn/cache/type-fest-npm-2.16.0-8d42df3332-897fc5f683.zip/node_modules/type-fest/",\
"packageDependencies": [\
["type-fest", "npm:2.16.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["type-is", [\
@@ -12620,6 +13017,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["crypto-random-string", "npm:2.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:3.0.0", {\
"packageLocation": "./.yarn/cache/unique-string-npm-3.0.0-1a556e406a-1a1e2e7d02.zip/node_modules/unique-string/",\
"packageDependencies": [\
["unique-string", "npm:3.0.0"],\
["crypto-random-string", "npm:4.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["universal-user-agent", [\
@@ -12703,24 +13108,24 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
"linkType": "HARD"\
}],\
["npm:5.1.0", {\
"packageLocation": "./.yarn/cache/update-notifier-npm-5.1.0-6bf595ecee-461e5e5b00.zip/node_modules/update-notifier/",\
["npm:6.0.2", {\
"packageLocation": "./.yarn/cache/update-notifier-npm-6.0.2-76fda24881-4bae7b3eca.zip/node_modules/update-notifier/",\
"packageDependencies": [\
["update-notifier", "npm:5.1.0"],\
["boxen", "npm:5.1.2"],\
["chalk", "npm:4.1.2"],\
["configstore", "npm:5.0.1"],\
["has-yarn", "npm:2.1.0"],\
["import-lazy", "npm:2.1.0"],\
["is-ci", "npm:2.0.0"],\
["update-notifier", "npm:6.0.2"],\
["boxen", "npm:7.0.0"],\
["chalk", "npm:5.0.1"],\
["configstore", "npm:6.0.0"],\
["has-yarn", "npm:3.0.0"],\
["import-lazy", "npm:4.0.0"],\
["is-ci", "npm:3.0.1"],\
["is-installed-globally", "npm:0.4.0"],\
["is-npm", "npm:5.0.0"],\
["is-yarn-global", "npm:0.3.0"],\
["latest-version", "npm:5.1.0"],\
["pupa", "npm:2.1.1"],\
["is-npm", "npm:6.0.0"],\
["is-yarn-global", "npm:0.4.0"],\
["latest-version", "npm:7.0.0"],\
["pupa", "npm:3.1.0"],\
["semver", "npm:7.3.7"],\
["semver-diff", "npm:3.1.1"],\
["xdg-basedir", "npm:4.0.0"]\
["semver-diff", "npm:4.0.0"],\
["xdg-basedir", "npm:5.1.0"]\
],\
"linkType": "HARD"\
}]\
@@ -12944,6 +13349,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["string-width", "npm:4.2.3"]\
],\
"linkType": "HARD"\
}],\
["npm:4.0.1", {\
"packageLocation": "./.yarn/cache/widest-line-npm-4.0.1-e0740b8930-64c48cf271.zip/node_modules/widest-line/",\
"packageDependencies": [\
["widest-line", "npm:4.0.1"],\
["string-width", "npm:5.1.2"]\
],\
"linkType": "HARD"\
}]\
]],\
["winston", [\
@@ -13005,6 +13418,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["strip-ansi", "npm:6.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:8.0.1", {\
"packageLocation": "./.yarn/cache/wrap-ansi-npm-8.0.1-b8ba4ced36-5d7816e64f.zip/node_modules/wrap-ansi/",\
"packageDependencies": [\
["wrap-ansi", "npm:8.0.1"],\
["ansi-styles", "npm:6.1.0"],\
["string-width", "npm:5.1.2"],\
["strip-ansi", "npm:7.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["wrappy", [\
@@ -13095,6 +13518,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["xdg-basedir", "npm:4.0.0"]\
],\
"linkType": "HARD"\
}],\
["npm:5.1.0", {\
"packageLocation": "./.yarn/cache/xdg-basedir-npm-5.1.0-589d73b54c-b60e8a2c66.zip/node_modules/xdg-basedir/",\
"packageDependencies": [\
["xdg-basedir", "npm:5.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["xml2js", [\

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -58,7 +58,7 @@
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"ini": "^3.0.0",
"npm-check-updates": "^14.1.1",
"npm-check-updates": "^15.3.3",
"prettier": "^2.7.1",
"ts-node": "^10.8.1",
"typescript": "^4.7.4"

View File

@@ -3,6 +3,58 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.6.24](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.23...@standardnotes/api-gateway@1.6.24) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.23](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.22...@standardnotes/api-gateway@1.6.23) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.22](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.21...@standardnotes/api-gateway@1.6.22) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.21](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.20...@standardnotes/api-gateway@1.6.21) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.20](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.19...@standardnotes/api-gateway@1.6.20) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.19](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.18...@standardnotes/api-gateway@1.6.19) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.18](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.17...@standardnotes/api-gateway@1.6.18) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.17](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.16...@standardnotes/api-gateway@1.6.17) (2022-07-14)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.16](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.15...@standardnotes/api-gateway@1.6.16) (2022-07-13)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.15](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.14...@standardnotes/api-gateway@1.6.15) (2022-07-13)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.14](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.13...@standardnotes/api-gateway@1.6.14) (2022-07-13)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.13](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.12...@standardnotes/api-gateway@1.6.13) (2022-07-13)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.12](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.11...@standardnotes/api-gateway@1.6.12) (2022-07-13)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.6.11](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.6.10...@standardnotes/api-gateway@1.6.11) (2022-07-13)
**Note:** Version bump only for package @standardnotes/api-gateway

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api-gateway",
"version": "1.6.11",
"version": "1.6.24",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -57,7 +57,7 @@
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.2",
"nodemon": "^2.0.16",
"npm-check-updates": "^14.1.1",
"npm-check-updates": "^15.3.3",
"ts-jest": "^28.0.5"
}
}

View File

@@ -3,6 +3,62 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.11.24](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.23...@standardnotes/auth-server@1.11.24) (2022-07-15)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.23](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.22...@standardnotes/auth-server@1.11.23) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.22](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.21...@standardnotes/auth-server@1.11.22) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.21](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.20...@standardnotes/auth-server@1.11.21) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.20](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.19...@standardnotes/auth-server@1.11.20) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.19](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.18...@standardnotes/auth-server@1.11.19) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.18](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.17...@standardnotes/auth-server@1.11.18) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.17](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.16...@standardnotes/auth-server@1.11.17) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.16](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.15...@standardnotes/auth-server@1.11.16) (2022-07-14)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.15](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.14...@standardnotes/auth-server@1.11.15) (2022-07-13)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.14](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.13...@standardnotes/auth-server@1.11.14) (2022-07-13)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.13](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.12...@standardnotes/auth-server@1.11.13) (2022-07-13)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.12](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.11...@standardnotes/auth-server@1.11.12) (2022-07-13)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.11](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.10...@standardnotes/auth-server@1.11.11) (2022-07-13)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.11.10](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.11.9...@standardnotes/auth-server@1.11.10) (2022-07-13)
**Note:** Version bump only for package @standardnotes/auth-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/auth-server",
"version": "1.11.10",
"version": "1.11.24",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -49,7 +49,7 @@
"axios": "^0.27.2",
"bcryptjs": "2.4.3",
"cors": "2.8.5",
"crypto-random-string": "3.3.0",
"crypto-random-string": "^5.0.0",
"dayjs": "^1.11.3",
"dotenv": "^16.0.1",
"express": "^4.18.1",
@@ -82,7 +82,7 @@
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.2",
"nodemon": "^2.0.16",
"npm-check-updates": "^14.1.1",
"npm-check-updates": "^15.3.3",
"ts-jest": "^28.0.5"
}
}

View File

@@ -1,7 +1,7 @@
import * as crypto from 'crypto'
import * as winston from 'winston'
import * as dayjs from 'dayjs'
import * as cryptoRandomString from 'crypto-random-string'
import cryptoRandomString from 'crypto-random-string'
import { UAParser } from 'ua-parser-js'
import { inject, injectable } from 'inversify'
import { v4 as uuidv4 } from 'uuid'

View File

@@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.30.0](https://github.com/standardnotes/server/compare/@standardnotes/common@1.29.0...@standardnotes/common@1.30.0) (2022-07-14)
### Features
* **domain-events:** add refund requested event ([7e95eea](https://github.com/standardnotes/server/commit/7e95eea337a228bc57644727806b804e22e63603))
# [1.29.0](https://github.com/standardnotes/server/compare/@standardnotes/common@1.28.0...@standardnotes/common@1.29.0) (2022-07-14)
### Bug Fixes
* **common:** duplicate reset identifier ([dc55bd1](https://github.com/standardnotes/server/commit/dc55bd1fb9a109d9588af9f8d7c1bb27c2ee7059))
### Features
* **common:** add message identifiers from payment emails ([f7c04bc](https://github.com/standardnotes/server/commit/f7c04bc35f99ad76912c6dec93164303276f6926))
# [1.28.0](https://github.com/standardnotes/server/compare/@standardnotes/common@1.27.0...@standardnotes/common@1.28.0) (2022-07-13)
### Features
* **common:** add account reset email identifier ([a3359e8](https://github.com/standardnotes/server/commit/a3359e8c770b6b919ca740838aa321a2d552d181))
# [1.27.0](https://github.com/standardnotes/server/compare/@standardnotes/common@1.26.0...@standardnotes/common@1.27.0) (2022-07-13)
### Features
* **common:** add student discount approved identifier ([2de4362](https://github.com/standardnotes/server/commit/2de4362f8e7b07d5b3544a5ce26d7f744002928a))
# [1.26.0](https://github.com/standardnotes/server/compare/@standardnotes/common@1.25.1...@standardnotes/common@1.26.0) (2022-07-13)
### Features
* **common:** add student discount identifier ([36bb98e](https://github.com/standardnotes/server/commit/36bb98e2af3d677a1096f3732ee8c346b9202ba7))
## [1.25.1](https://github.com/standardnotes/server/compare/@standardnotes/common@1.25.0...@standardnotes/common@1.25.1) (2022-07-12)
**Note:** Version bump only for package @standardnotes/common

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/common",
"version": "1.25.1",
"version": "1.30.0",
"engines": {
"node": ">=16.0.0 <17.0.0"
},

View File

@@ -1,6 +1,7 @@
export enum EmailMessageIdentifier {
WELCOME_EMAIL = 'WELCOME_EMAIL',
ACCOUNT_CLAIM = 'ACCOUNT_CLAIM',
ACCOUNT_RESET = 'ACCOUNT_RESET',
ACTIVATION_CODE = 'ACTIVATION_CODE',
VERSION_ADOPTION_REPORT = 'VERSION_ADOPTION_REPORT',
FAILED_DROPBOX_BACKUP = 'FAILED_DROPBOX_BACKUP',
@@ -14,5 +15,13 @@ export enum EmailMessageIdentifier {
ENCOURAGE_EMAIL_BACKUPS = 'ENCOURAGE_EMAIL_BACKUPS',
ENCOURAGE_SUBSCRIPTION_PURCHASING = 'ENCOURAGE_SUBSCRIPTION_PURCHASING',
EXIT_INTERVIEW = 'EXIT_INTERVIEW',
STUDENT_DISCOUNT_REQUESTED = 'STUDENT_DISCOUNT_REQUESTED',
STUDENT_DISCOUNT_APPROVED = 'STUDENT_DISCOUNT_APPROVED',
MARKETING_CAMPAIGN_FILES = 'MARKETING_CAMPAIGN_FILES',
PAYMENT_FAILED = 'PAYMENT_FAILED',
SEND_INVOICE = 'SEND_INVOICE',
DISCOUNT_NOTICE = 'DISCOUNT_NOTICE',
REFUND_NOTICE = 'REFUND_NOTICE',
REFUND_REQUESTED = 'REFUND_REQUESTED',
RATE_ADJUSTMENT_NOTICE = 'RATE_ADJUSTMENT_NOTICE',
}

View File

@@ -3,6 +3,54 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.7.23](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.22...@standardnotes/domain-events-infra@1.7.23) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.22](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.21...@standardnotes/domain-events-infra@1.7.22) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.21](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.20...@standardnotes/domain-events-infra@1.7.21) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.20](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.19...@standardnotes/domain-events-infra@1.7.20) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.19](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.18...@standardnotes/domain-events-infra@1.7.19) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.18](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.17...@standardnotes/domain-events-infra@1.7.18) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.17](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.16...@standardnotes/domain-events-infra@1.7.17) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.16](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.15...@standardnotes/domain-events-infra@1.7.16) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.15](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.14...@standardnotes/domain-events-infra@1.7.15) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.14](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.13...@standardnotes/domain-events-infra@1.7.14) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.13](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.12...@standardnotes/domain-events-infra@1.7.13) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.12](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.11...@standardnotes/domain-events-infra@1.7.12) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.7.11](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.7.10...@standardnotes/domain-events-infra@1.7.11) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events-infra

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/domain-events-infra",
"version": "1.7.11",
"version": "1.7.23",
"engines": {
"node": ">=16.0.0 <17.0.0"
},

View File

@@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.49.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.48.1...@standardnotes/domain-events@2.49.0) (2022-07-14)
### Features
* **domain-events:** add refund requested event ([7e95eea](https://github.com/standardnotes/server/commit/7e95eea337a228bc57644727806b804e22e63603))
## [2.48.1](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.48.0...@standardnotes/domain-events@2.48.1) (2022-07-14)
### Bug Fixes
* **domain-events:** rate and adjustment formatted ([4184843](https://github.com/standardnotes/server/commit/4184843e1d31e16b88eb54ccc1471b8f1c02271c))
# [2.48.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.47.0...@standardnotes/domain-events@2.48.0) (2022-07-14)
### Features
* **domain-events:** add subscription rate adjusted event ([54f769c](https://github.com/standardnotes/server/commit/54f769c6db5f8c5d18c276b3dc075613a4ff276d))
# [2.47.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.46.0...@standardnotes/domain-events@2.47.0) (2022-07-14)
### Features
* **domain-events:** add refund processed event ([0134553](https://github.com/standardnotes/server/commit/0134553cbb1a78eaa7c10d018a580506c981bde5))
# [2.46.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.45.0...@standardnotes/domain-events@2.46.0) (2022-07-14)
### Features
* **domain-events:** add discount applied event ([40b0f93](https://github.com/standardnotes/server/commit/40b0f937bd22507003968e31121c211edfba6544))
# [2.45.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.44.2...@standardnotes/domain-events@2.45.0) (2022-07-14)
### Features
* **domain-events:** add payment failed event ([4384ba2](https://github.com/standardnotes/server/commit/4384ba2f4773ec7289cc206dcc23b0d2c3138487))
## [2.44.2](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.44.1...@standardnotes/domain-events@2.44.2) (2022-07-14)
**Note:** Version bump only for package @standardnotes/domain-events
## [2.44.1](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.44.0...@standardnotes/domain-events@2.44.1) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events
# [2.44.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.43.1...@standardnotes/domain-events@2.44.0) (2022-07-13)
### Features
* **domain-events:** add account reset requested event ([4900b21](https://github.com/standardnotes/server/commit/4900b210471de87c77ebba66565520d63a707704))
## [2.43.1](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.43.0...@standardnotes/domain-events@2.43.1) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events
# [2.43.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.42.1...@standardnotes/domain-events@2.43.0) (2022-07-13)
### Features
* **domain-events:** add student discount approved event ([f0d736c](https://github.com/standardnotes/server/commit/f0d736cd1d15892824dea905c7cced966870d741))
## [2.42.1](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.42.0...@standardnotes/domain-events@2.42.1) (2022-07-13)
**Note:** Version bump only for package @standardnotes/domain-events
# [2.42.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.41.1...@standardnotes/domain-events@2.42.0) (2022-07-13)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/domain-events",
"version": "2.42.0",
"version": "2.49.0",
"engines": {
"node": ">=16.0.0 <17.0.0"
},

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { AccountResetRequestedEventPayload } from './AccountResetRequestedEventPayload'
export interface AccountResetRequestedEvent extends DomainEventInterface {
type: 'ACCOUNT_RESET_REQUESTED'
payload: AccountResetRequestedEventPayload
}

View File

@@ -0,0 +1,4 @@
export interface AccountResetRequestedEventPayload {
resetRequestToken: string
userEmail: string
}

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { DiscountAppliedEventPayload } from './DiscountAppliedEventPayload'
export interface DiscountAppliedEvent extends DomainEventInterface {
type: 'DISCOUNT_APPLIED'
payload: DiscountAppliedEventPayload
}

View File

@@ -0,0 +1,4 @@
export interface DiscountAppliedEventPayload {
userEmail: string
discountRate: number
}

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { PaymentFailedEventPayload } from './PaymentFailedEventPayload'
export interface PaymentFailedEvent extends DomainEventInterface {
type: 'PAYMENT_FAILED'
payload: PaymentFailedEventPayload
}

View File

@@ -0,0 +1,3 @@
export interface PaymentFailedEventPayload {
userEmail: string
}

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { RefundProcessedEventPayload } from './RefundProcessedEventPayload'
export interface RefundProcessedEvent extends DomainEventInterface {
type: 'REFUND_PROCESSED'
payload: RefundProcessedEventPayload
}

View File

@@ -0,0 +1,3 @@
export interface RefundProcessedEventPayload {
userEmail: string
}

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { RefundRequestedEventPayload } from './RefundRequestedEventPayload'
export interface RefundRequestedEvent extends DomainEventInterface {
type: 'REFUND_REQUESTED'
payload: RefundRequestedEventPayload
}

View File

@@ -0,0 +1,4 @@
export interface RefundRequestedEventPayload {
userEmail: string
refundProcessingLink: string
}

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { StudentDiscountApprovedEventPayload } from './StudentDiscountApprovedEventPayload'
export interface StudentDiscountApprovedEvent extends DomainEventInterface {
type: 'STUDENT_DISCOUNT_APPROVED'
payload: StudentDiscountApprovedEventPayload
}

View File

@@ -0,0 +1,3 @@
export interface StudentDiscountApprovedEventPayload {
userEmail: string
}

View File

@@ -0,0 +1,8 @@
import { DomainEventInterface } from './DomainEventInterface'
import { SubscriptionRateAdjustedEventPayload } from './SubscriptionRateAdjustedEventPayload'
export interface SubscriptionRateAdjustedEvent extends DomainEventInterface {
type: 'SUBSCRIPTION_RATE_ADJUSTED'
payload: SubscriptionRateAdjustedEventPayload
}

View File

@@ -0,0 +1,5 @@
export interface SubscriptionRateAdjustedEventPayload {
userEmail: string
newRateFormatted: string
refundAmountInDollarsFormatted: string
}

View File

@@ -2,12 +2,16 @@ export * from './Event/AccountClaimRequestedEvent'
export * from './Event/AccountClaimRequestedEventPayload'
export * from './Event/AccountDeletionRequestedEvent'
export * from './Event/AccountDeletionRequestedEventPayload'
export * from './Event/AccountResetRequestedEvent'
export * from './Event/AccountResetRequestedEventPayload'
export * from './Event/ActivationCodeRequestedEvent'
export * from './Event/ActivationCodeRequestedEventPayload'
export * from './Event/CloudBackupRequestedEvent'
export * from './Event/CloudBackupRequestedEventPayload'
export * from './Event/DailyAnalyticsReportGeneratedEvent'
export * from './Event/DailyAnalyticsReportGeneratedEventPayload'
export * from './Event/DiscountAppliedEvent'
export * from './Event/DiscountAppliedEventPayload'
export * from './Event/DiscountApplyRequestedEvent'
export * from './Event/DiscountApplyRequestedEventPayload'
export * from './Event/DiscountWithdrawRequestedEvent'
@@ -46,20 +50,30 @@ export * from './Event/OfflineSubscriptionTokenCreatedEvent'
export * from './Event/OfflineSubscriptionTokenCreatedEventPayload'
export * from './Event/OneDriveBackupFailedEvent'
export * from './Event/OneDriveBackupFailedEventPayload'
export * from './Event/PaymentFailedEvent'
export * from './Event/PaymentFailedEventPayload'
export * from './Event/PredicateVerificationRequestedEvent'
export * from './Event/PredicateVerificationRequestedEventPayload'
export * from './Event/PredicateVerifiedEvent'
export * from './Event/PredicateVerifiedEventPayload'
export * from './Event/RefundRequestedEvent'
export * from './Event/RefundRequestedEventPayload'
export * from './Event/RefundProcessedEvent'
export * from './Event/RefundProcessedEventPayload'
export * from './Event/SharedSubscriptionInvitationCanceledEvent'
export * from './Event/SharedSubscriptionInvitationCanceledEventPayload'
export * from './Event/SharedSubscriptionInvitationCreatedEvent'
export * from './Event/SharedSubscriptionInvitationCreatedEventPayload'
export * from './Event/StudentDiscountApprovedEvent'
export * from './Event/StudentDiscountApprovedEventPayload'
export * from './Event/StudentDiscountRequestedEvent'
export * from './Event/StudentDiscountRequestedEventPayload'
export * from './Event/SubscriptionCancelledEvent'
export * from './Event/SubscriptionCancelledEventPayload'
export * from './Event/SubscriptionPurchasedEvent'
export * from './Event/SubscriptionPurchasedEventPayload'
export * from './Event/SubscriptionRateAdjustedEvent'
export * from './Event/SubscriptionRateAdjustedEventPayload'
export * from './Event/SubscriptionReassignedEvent'
export * from './Event/SubscriptionReassignedEventPayload'
export * from './Event/SubscriptionRefundedEvent'

View File

@@ -3,6 +3,54 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.22](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.21...@standardnotes/event-store@1.1.22) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.21](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.20...@standardnotes/event-store@1.1.21) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.20](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.19...@standardnotes/event-store@1.1.20) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.19](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.18...@standardnotes/event-store@1.1.19) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.18](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.17...@standardnotes/event-store@1.1.18) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.17](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.16...@standardnotes/event-store@1.1.17) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.16](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.15...@standardnotes/event-store@1.1.16) (2022-07-14)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.15](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.14...@standardnotes/event-store@1.1.15) (2022-07-13)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.14](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.13...@standardnotes/event-store@1.1.14) (2022-07-13)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.13](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.12...@standardnotes/event-store@1.1.13) (2022-07-13)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.12](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.11...@standardnotes/event-store@1.1.12) (2022-07-13)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.11](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.10...@standardnotes/event-store@1.1.11) (2022-07-13)
**Note:** Version bump only for package @standardnotes/event-store
## [1.1.10](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.1.9...@standardnotes/event-store@1.1.10) (2022-07-13)
**Note:** Version bump only for package @standardnotes/event-store

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/event-store",
"version": "1.1.10",
"version": "1.1.22",
"description": "Event Store Service",
"private": true,
"main": "dist/src/index.js",

Some files were not shown because too many files have changed in this diff Show More