Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/authors/draft/0 #2037

Merged
merged 25 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
398b0b8
Feature/investor section/draft/0 (#1918)
migbash Jan 26, 2024
219f4fa
Chore/setup/draft/0 (#1923)
migbash Jan 28, 2024
b73913f
fix months (#1935)
reiacosta Jan 30, 2024
d55eab9
Chore/node/draft/0 (#1944)
migbash Feb 2, 2024
331d865
ci(github-actions): update workflow (#1946)
migbash Feb 4, 2024
6302588
feat(authors): first commit
migbash Feb 7, 2024
d9b2699
Merge branch 'dev' into feature/authors/draft/0
migbash Mar 1, 2024
b968603
chore(header): restructure to latest (V.8.0) structure
migbash Mar 1, 2024
f360279
chore(footer): restructure to latest (V.8.0) structure
migbash Mar 1, 2024
867d5be
chore: update root files
migbash Mar 1, 2024
1fa55ee
chore(boilerplate): new project .svelte format (V.8.0)
migbash Mar 1, 2024
d080157
chore: update stores; types; common logic;
migbash Mar 1, 2024
2e6ec03
chore(hooks): restructure to latest (V.8.0) structure
migbash Mar 1, 2024
7f5ca32
chore: restructure to latest (V.8.0) structure
migbash Mar 1, 2024
12655ef
chore(header): restructure to latest (V.8.0) structure
migbash Mar 1, 2024
1a764ad
fix: corrections
migbash Mar 2, 2024
b486c3f
chore: restructure to latest (V.8.0) structure
migbash Mar 3, 2024
0b6694b
chore: restructure to latest (V.8.0) structure
migbash Mar 3, 2024
360c4ff
chore: backup commit
migbash Mar 3, 2024
7526da3
fix: corrections
migbash Mar 3, 2024
e8a9056
fix: corrections
migbash Mar 4, 2024
a92ce6b
fix: corrections
migbash Mar 4, 2024
97a0d35
fix: corrections
migbash Mar 5, 2024
675299e
fix: corrections
migbash Mar 5, 2024
f5f7f4c
fix: corrections
migbash Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 36 additions & 18 deletions .docs/.templates/Boilerplate.Widget.svelte
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
<!--
╭────────────────────────────────────────────────────────────────────────╮
│ NOTE: │
│ This is a 'boilerplate' example for a .svelte component, │
│ used by Betarena | Scores. │
│ It acts as a guidance on internal development standards and │
│ code style used throughout this project. │
│ NOTE: | IMPORTANT │
│ Use _this_ Boilerplate / Template when creating your next Svelte │
│ Component of Type Widget. │
│ NOTE: | IMPORTANT │
│ ❗️ Please Remove _this_ comment after adding this to a target file. │
╰────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────╮
│ NOTE: │
│ ➤ This is a 'boilerplate' example for a .svelte component, │
│ ➤ used by Betarena | Scores. │
│ ➤ It acts as a guidance on internal development standards and │
│ ➤ code style used throughout this project. │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ NOTE: IMPORTANT │
│ Use _this_ Boilerplate / Template when creating your next Svelte │
│ Component of Type Widget. │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ NOTE: IMPORTANT │
│ ❗️ Please Remove _this_ comment after adding this to a target file. │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

<!--
╭──────────────────────────────────────────────────────────────────────────────────╮
│ High Order Component Overview │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ ➤ Internal Svelte Code Format :|: V.X.Y │
│ ➤ Status :|: 🔒 LOCKED │
│ ➤ Author(s) :|: @migbash │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

<!--
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Svelte Component JS/TS │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ - access custom Betarena Scores JS VScode Snippets by typing 'script...' │
│ ➤ HINT: │ Access snippets for '<script> [..] </script>' those found in │
│ │ '.vscode/snippets.code-snippets' via intellisense using 'doc' │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

Expand Down Expand Up @@ -198,14 +211,18 @@
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Svelte Component HTML │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ - use 'Ctrl+Space' to autocomplete global class="(cursor)" styles │
│ - access custom Betarena Scores VScode Snippets by typing emmet-like abbrev. │
│ ➤ HINT: │ Use 'Ctrl + Space' to autocomplete global class=styles, dynamically │
│ │ imported from './static/app.css' │
│ ➤ HINT: │ access custom Betarena Scores VScode Snippets by typing emmet-like │
│ │ abbrev. │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

<SeoBox>
<!--
SEO CONTENT GOES HERE
╭─────
│ > Note goes here
╰─────
-->
</SeoBox>

Expand Down Expand Up @@ -260,8 +277,9 @@
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Svelte Component CSS/SCSS │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ - auto-fill/auto-complete iniside <style> for var() values by typing/CTRL+SPACE │
│ - access custom Betarena Scores CSS VScode Snippets by typing 'style...' │
│ ➤ HINT: │ auto-fill/auto-complete iniside <style> for var() │
│ │ values by typing/CTRL+SPACE │
│ ➤ HINT: │ access custom Betarena Scores CSS VScode Snippets by typing 'style...' │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

Expand Down
41 changes: 41 additions & 0 deletions .docs/.templates/Bolierplate.+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Svelte Component JS/TS │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ - access custom Betarena Scores JS VScode Snippets by typing 'script...' │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

<script lang="ts">

// #region ➤ 📦 Package Imports

// ╭────────────────────────────────────────────────────────────────────────╮
// │ NOTE: │
// │ Please add inside 'this' region the 'imports' that are required │
// │ by 'this' .svelte file is ran. │
// │ IMPORTANT │
// │ Please, structure the imports as follows: │
// │ 1. svelte/sveltekit imports │
// │ 2. project-internal files and logic │
// │ 3. component import(s) │
// │ 4. assets import(s) │
// │ 5. type(s) imports(s) │
// ╰────────────────────────────────────────────────────────────────────────╯

import Layout from "$lib/components/section/authors/page/author/Layout.svelte";

// #endregion ➤ 📦 Package Imports

</script>

<!--
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Svelte Component HTML │
┣──────────────────────────────────────────────────────────────────────────────────┫
│ - use 'Ctrl+Space' to autocomplete global class=styles │
│ - access custom Betarena Scores VScode Snippets by typing emmet-like abbrev. │
╰──────────────────────────────────────────────────────────────────────────────────╯
-->

<Layout />
42 changes: 42 additions & 0 deletions .docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,48 @@ paths:
200:
description: Target competition HIGHLIGHTS widget data

# ╭──────────────────────────────────────────────────────────────────────────────────╮
# │ 🎟️ AUTHORS SECTION │
# ╰──────────────────────────────────────────────────────────────────────────────────╯

/api/data/author:
get:
summary:
Returns a targets' competition (id) main Scoreboard widget (data).
#
parameters:
- name: filter
in: query
description: Target fixture (main) SCOREBOARD widget data parameters
required: true
style: form
explode: true
schema:
type: object
properties:
hasura:
type: boolean
example: true
permalink:
type: string
example: "betarena-tennis-it/australian-open-men-singles-ryan-peniston-vs-elias-ymer-2023-2024-pronostici-probabili-formazioni-e-consigli-per-le-scommesse-8yomojf34kyzq0j1707239136"
lang:
type: string
example: "es"
additionalProperties: false
oneOf:
# translation
- required: [permalink]
- required: [permalink, hasura]
- required: [lang]
- required: [lang, hasura]
#
responses:
200:
description: Target competition HIGHLIGHTS widget data
#
#

components:

schemas:
Expand Down
Loading
Loading