Skip to content

Commit

Permalink
minor (#1805)
Browse files Browse the repository at this point in the history
* core :: Makefile update;

* debug :: Sentry disable on local env; add logs;

* debug :: enhance color-coding;

* core :: Makefile update;

* Migbash/issue-1719 | fixture/competitions (#1795)

* Migbash/issue-1784 | Sentry Errors (#1796)

* fs :: move app.d.ts to types/*

* #1776 :: fix - probability widget;

* #1776 :: fix - scoreboard widget;

* #1791 :: fix - probability widget odds;

* fix :: +layout.svelte invalid route.id check;

* fix :: Header-Nav-Btn.svelte invalid route.id check;

* fix :: Header.svelte invalid route.id check;

* core :: platform-functions.ts 'dev' ignore redirect;

* fix :: patform-functions.ts invalid route.id check;

* feat :: improved error message of invalid url routes

* feat :: improved error message of invalid url routes (client)

* types :: add app.d.ts for Error (global);

* fix :: hooks.server.ts default error code + msg;

* fix :: fixture +page.ts update error handle;

* pkg :: scores-lib 1.8.2;

* Migbash/issue-1752 | competition lobby/highlights; (#1797)

* feat :: lobby/highlights data endpoint upgrade;

* doc :: OpenAPI update;

* feat :: Highlights-Grid-Row upgrade;

* feat :: Highlights-Grid upgrade;

* feat :: Highlights-Widget upgrade;

* core :: utils.ts update for 'white-space' removal of endpoints;

* pkg :: scores-lib 1.9.0;

* debug :: remove redundant console.log(..);

* #1798 :: fix;

* #1799 :: fix;

* #1776 :: fix;

* #1776 :: fix;

* test :: +page.server.ts;

* #1800 :: feat :: stable endpoint update limit;

* #1800 :: doc :: OpenApi update;

* pkg :: scores/lib 1.9.2

* Migbash/1801-FEATURE-Competitions-Cache (#1804)

* 🧪 :: test | debug :: performance improvements (2);

* #1801 :: feat :: extra corrections (cont);

* #1801 :: feat :: extra corrections (cont);
  • Loading branch information
migbash authored Oct 25, 2023
1 parent a0103c9 commit eeb5b8f
Show file tree
Hide file tree
Showing 56 changed files with 5,205 additions and 688 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ heroku-production-deploy-branch-current:
@git push heroku-prod $$(git branch --show-current):main -f
#

heroku-production-deploy-STOP:
@echo \
"$(COLOUR_R)\
\n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\
\n◼️ ❌ Heroku-Prod | Stopping Builds ◼️\
\n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\
$(END_COLOUR)\n"
@heroku builds:cancel --remote heroku-prod
@echo ""
#

heroku-production-secrets-update:
@echo \
"$(COLOUR_R)\
Expand All @@ -112,7 +123,10 @@ heroku-development-deploy-branch-current:
\n◼️ 🚀 Pushing current branch to Heroku-Dev ◼️\
\n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\
$(END_COLOUR)\n"
@heroku releases --remote heroku-dev
@echo ""
@git push heroku-dev $$(git branch --show-current):main -f
@echo ""
#

heroku-development-maintenance-OFF:
Expand Down
63 changes: 60 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,51 @@ paths:
description:
Target fixture H2H widget data

# ▓▓ ➤ FP Competition (widget)
/api/data/fixture/competition:
get:
summary:
Fixture ➤ Competition Widget

parameters:
- name: filter
in: query
description:
Fetch target fixture competition widget data.
required: true
style: form
explode: true
schema:
type: object
properties:
# ?seo=[...]
seo:
type: boolean
example: true
# ▓▓ ?fixtureId=[...]
fixtureId:
type: string
example: 18946409
# ▓▓ ?lang=[...]
lang:
type: string
example: es
additionalProperties: false
oneOf:
# ▓▓ translation
- required: [lang]
- required: [lang, hasura]
# ▓▓ SEO
- required: [seo, lang, fixtureId]
- required: [seo, lang, fixtureId, hasura]
# ▓▓ data (main)
- required: [fixtureId]

responses:
200:
description:
Success

# ===================
# 🤾 PLAYER PAGE
# ===================
Expand Down Expand Up @@ -1318,10 +1363,22 @@ paths:
schema:
type: object
properties:
# ?fixture_id=[...]
competition_id:
# ?competitionIds=[...]
competitionIds:
type: string
example: 175,190
# ?offset=[...]
offset:
type: number
example: 23
example: 5
# ?limit=[...]
limit:
type: number
example: 5
# ?offset=[...]
targetStatus:
type: string
example: "finished"
# ?seo=[...]
seo:
type: boolean
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@betarena/scores-lib": "^1.7.2",
"@betarena/scores-lib": "^1.9.4",
"@lukeed/uuid": "^2.0.1",
"@metamask/sdk": "^0.1.0",
"@moralisweb3/client-firebase-auth-utils": "^2.18.4",
Expand Down
Loading

0 comments on commit eeb5b8f

Please sign in to comment.