Skip to content

Commit 6e0aa3f

Browse files
committed
task update
1 parent 733ac92 commit 6e0aa3f

File tree

3,532 files changed

+1024
-567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,532 files changed

+1024
-567
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
name: build
2-
on:
3-
push:
4-
branches:
5-
- master
6-
jobs:
7-
coverage:
8-
name: coverage
9-
runs-on: ubuntu-latest
10-
services:
11-
postgres:
12-
image: postgis/postgis:13-3.2-alpine
13-
ports:
14-
# Maps tcp port 5432 on service container to the host
15-
- 5432:5432
16-
env:
17-
POSTGRES_USER: postgres
18-
POSTGRES_PASSWORD: 'root'
19-
POSTGRES_DB: geofind
20-
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
21-
22-
steps:
23-
- uses: actions/checkout@master
24-
- uses: actions/setup-node@master
25-
with:
26-
node-version: '15'
27-
- run: npm install -g yarn
28-
- run: yarn install
29-
- run: yarn workspace @geofind/api build
30-
- run: |
31-
echo "localhost:5432:geofind:postgres:root" > ~/.pgpass
32-
chmod 600 ~/.pgpass
33-
pg_restore --dbname geofind --host=localhost --port=5432 --username=postgres ./config/dumps/db.dump
34-
- uses: paambaati/codeclimate-action@v3.0.0
35-
env:
36-
CC_TEST_REPORTER_ID: 67126294d2dca1578a26d1d9d843edcb99e8bb1c78d729e7f5887254475f077b
37-
NODE_ENV: production
38-
PORT: 3000
39-
DB_USER: postgres
40-
DB_PASSWORD: root
41-
DB_PORT: 5432
42-
DB_DATABASE: geofind
43-
DB_HOST: localhost
44-
NO_SSL: 1
45-
with:
46-
workingDirectory: ./packages/api
47-
coverageCommand: yarn run coverage
48-
1+
#name: build
2+
#on:
3+
# push:
4+
# branches:
5+
# - master
6+
#jobs:
7+
# coverage:
8+
# name: coverage
9+
# runs-on: ubuntu-latest
10+
# services:
11+
# postgres:
12+
# image: postgis/postgis:13-3.2-alpine
13+
# ports:
14+
# # Maps tcp port 5432 on service container to the host
15+
# - 5432:5432
16+
# env:
17+
# POSTGRES_USER: postgres
18+
# POSTGRES_PASSWORD: 'root'
19+
# POSTGRES_DB: geofind
20+
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
21+
#
22+
# steps:
23+
# - uses: actions/checkout@master
24+
# - uses: actions/setup-node@master
25+
# with:
26+
# node-version: '15'
27+
# - run: npm install -g yarn
28+
# - run: yarn install
29+
# - run: yarn workspace @geofind/api build
30+
# - run: |
31+
# echo "localhost:5432:geofind:postgres:root" > ~/.pgpass
32+
# chmod 600 ~/.pgpass
33+
# pg_restore --dbname geofind --host=localhost --port=5432 --username=postgres ./config/dumps/db.dump
34+
# - uses: paambaati/codeclimate-action@v3.0.0
35+
# env:
36+
# CC_TEST_REPORTER_ID: 67126294d2dca1578a26d1d9d843edcb99e8bb1c78d729e7f5887254475f077b
37+
# NODE_ENV: production
38+
# PORT: 3000
39+
# DB_USER: postgres
40+
# DB_PASSWORD: root
41+
# DB_PORT: 5432
42+
# DB_DATABASE: geofind
43+
# DB_HOST: localhost
44+
# NO_SSL: 1
45+
# with:
46+
# workingDirectory: ./packages/api
47+
# coverageCommand: yarn run coverage
48+
#
File renamed without changes.

build/Infrastructure/AggregateRoot.js

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

build/Infrastructure/Command.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { IMessage } from './IMessage';
2+
export declare class Command implements IMessage {
3+
readonly expectedAggregateVersion: number;
4+
constructor(expectedAggregateVersion: number);
5+
}

build/Infrastructure/Command.js

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

build/Infrastructure/Errors.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export declare class ConcurrencyViolationError extends Error {
2+
constructor(message?: string);
3+
}
4+
export declare class MissingParameterError extends Error {
5+
constructor(message?: string);
6+
}
7+
export declare class NotFoundError extends Error {
8+
constructor(message?: string);
9+
}
10+
export declare class DuplicateEntryError extends Error {
11+
constructor(message?: string);
12+
}

build/Infrastructure/Errors.js

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

build/Infrastructure/Event.d.ts

Whitespace-only changes.

build/Infrastructure/Event.js

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

build/Infrastructure/EventStore.d.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)