updated service inits

This commit is contained in:
Berkay 2025-05-29 21:54:05 +03:00
parent 98b90ca4ec
commit d2983e9bad
2 changed files with 14 additions and 66 deletions

View File

@ -1,4 +1,4 @@
from schemas.account.account import (
from Schemas.account.account import (
AccountBooks,
AccountCodes,
AccountCodeParser,
@ -7,11 +7,11 @@ from schemas.account.account import (
AccountRecordExchanges,
AccountRecords,
)
from schemas.account.iban import (
from Schemas.account.iban import (
BuildIbans,
BuildIbanDescription,
)
from schemas.address.address import (
from Schemas.address.address import (
RelationshipEmployee2PostCode,
AddressPostcode,
Addresses,
@ -24,7 +24,7 @@ from schemas.address.address import (
AddressNeighborhood,
AddressStreet,
)
from schemas.building.build import (
from Schemas.building.build import (
BuildTypes,
Part2Employee,
RelationshipEmployee2Build,
@ -37,7 +37,7 @@ from schemas.building.build import (
BuildCompaniesProviding,
BuildPersonProviding,
)
from schemas.building.decision_book import (
from Schemas.building.decision_book import (
BuildDecisionBook,
BuildDecisionBookInvitations,
BuildDecisionBookPerson,
@ -50,28 +50,28 @@ from schemas.building.decision_book import (
BuildDecisionBookProjectPerson,
BuildDecisionBookProjectItems,
)
from schemas.building.budget import (
from Schemas.building.budget import (
DecisionBookBudgetBooks,
DecisionBookBudgetCodes,
DecisionBookBudgetMaster,
DecisionBookBudgets,
)
from schemas.company.company import (
from Schemas.company.company import (
Companies,
RelationshipDutyCompany,
)
from schemas.company.employee import (
from Schemas.company.employee import (
Employees,
EmployeesSalaries,
EmployeeHistory,
Staff,
)
from schemas.company.department import (
from Schemas.company.department import (
Duty,
Duties,
Departments,
)
from schemas.event.event import (
from Schemas.event.event import (
Modules,
Services,
Service2Events,
@ -87,7 +87,7 @@ from schemas.event.event import (
Application2EmployeeExtra,
Application2OccupantExtra,
)
from schemas.identity.identity import (
from Schemas.identity.identity import (
UsersTokens,
OccupantTypes,
People,
@ -96,7 +96,7 @@ from schemas.identity.identity import (
RelationshipDutyPeople,
Contracts,
)
from schemas.address.address import (
from Schemas.address.address import (
Addresses,
AddressCity,
AddressStreet,
@ -109,10 +109,10 @@ from schemas.address.address import (
AddressGeographicLocations,
RelationshipEmployee2PostCode,
)
from schemas.others.enums import (
from Schemas.others.enums import (
ApiEnumDropdown,
)
from schemas.rules.rules import (
from Schemas.rules.rules import (
EndpointRestriction,
)

View File

@ -1,52 +0,0 @@
# List of all components to install
components=(
"accordion"
"alert"
"alert-dialog"
"aspect-ratio"
"avatar"
"badge"
"button"
"calendar"
"card"
"checkbox"
"collapsible"
"combobox"
"command"
"context-menu"
"data-table"
"date-picker"
"dialog"
"dropdown-menu"
"form"
"hover-card"
"input"
"label"
"menubar"
"navigation-menu"
"popover"
"progress"
"radio-group"
"scroll-area"
"select"
"separator"
"sheet"
"skeleton"
"slider"
"sonner"
"switch"
"table"
"tabs"
"textarea"
"toast"
"toggle"
"tooltip"
)
# Loop and install each component, skipping prompts (to the extent allowed)
for component in "${components[@]}"; do
echo "Installing $component..."
npx --legacy-peer-deps shadcn@latest add "$component" -y || true
done
echo "✅ Next.js with TypeScript and all shadcn components installed successfully!"