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