Skip to content

Commit 875fc35

Browse files
committed
chore: merge
2 parents fc0f104 + c19169d commit 875fc35

5 files changed

Lines changed: 106 additions & 17 deletions

File tree

.github/workflows/ci-pipeline.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
generator:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: ⚙️ Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 8.0.x
19+
- name: 🔄 Restore dependencies
20+
run: dotnet restore
21+
- name: 🔨 Build
22+
run: dotnet build --no-restore
23+
- name: 🧪 Test
24+
run: dotnet test --no-restore --no-build --verbosity normal
25+
26+
website:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: ⚙️ Setup Node.js 22.x
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: 22.x
35+
cache: 'npm'
36+
cache-dependency-path: Website/package-lock.json
37+
- name: 📦 Install dependencies
38+
run: npm ci
39+
working-directory: Website
40+
- name: 🔨 Build
41+
run: npm run build
42+
working-directory: Website
43+
- name: 📝 Lint
44+
run: npm run lint
45+
working-directory: Website

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# .github/workflows/release.yml
2+
name: Release
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: ⚙️ Setup Node.js 22.x
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 22.x
22+
cache: 'npm'
23+
cache-dependency-path: Website/package-lock.json
24+
25+
- name: 📦 Install dependencies
26+
run: npm ci
27+
working-directory: Website
28+
29+
- name: ⭐ Create new release
30+
run: npm run release
31+
working-directory: Website
32+
33+
- name: 🏷️ Push new tag
34+
run: git push --follow-tags origin main
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Website/components/datamodelview/Attributes.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ import { EntityType, AttributeType } from "@/lib/Types"
44
import { TableHeader, TableRow, TableHead, TableBody, TableCell, Table } from "../ui/table"
55
import { Button } from "../ui/button"
66
import { useState } from "react"
7-
import { ArrowUpDown, ArrowUp, ArrowDown, Search, X, PencilOff, Pencil, EyeOff, Eye } from "lucide-react"
8-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../ui/select"
9-
import { Input } from "../ui/input"
10-
import { AttributeDetails } from "../entity/AttributeDetails"
11-
import BooleanAttribute from "../attributes/BooleanAttribute"
12-
import ChoiceAttribute from "../attributes/ChoiceAttribute"
13-
import DateTimeAttribute from "../attributes/DateTimeAttribute"
14-
import DecimalAttribute from "../attributes/DecimalAttribute"
15-
import FileAttribute from "../attributes/FileAttribute"
16-
import GenericAttribute from "../attributes/GenericAttribute"
17-
import IntegerAttribute from "../attributes/IntegerAttribute"
18-
import LookupAttribute from "../attributes/LookupAttribute"
19-
import StatusAttribute from "../attributes/StatusAttribute"
20-
import StringAttribute from "../attributes/StringAttribute"
7+
import { ArrowUpDown, ArrowUp, ArrowDown, Search, X, EyeOff, Eye } from "lucide-react"
8+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./ui/select"
9+
import { Input } from "./ui/input"
10+
import { AttributeDetails } from "./entity/AttributeDetails"
11+
import BooleanAttribute from "./attributes/BooleanAttribute"
12+
import ChoiceAttribute from "./attributes/ChoiceAttribute"
13+
import DateTimeAttribute from "./attributes/DateTimeAttribute"
14+
import DecimalAttribute from "./attributes/DecimalAttribute"
15+
import FileAttribute from "./attributes/FileAttribute"
16+
import GenericAttribute from "./attributes/GenericAttribute"
17+
import IntegerAttribute from "./attributes/IntegerAttribute"
18+
import LookupAttribute from "./attributes/LookupAttribute"
19+
import StatusAttribute from "./attributes/StatusAttribute"
20+
import StringAttribute from "./attributes/StringAttribute"
2121

2222
type SortDirection = 'asc' | 'desc' | null
2323
type SortColumn = 'displayName' | 'schemaName' | 'type' | 'description' | null

Website/components/entity/SecurityRoles.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { HybridTooltip, HybridTooltipContent, HybridTooltipTrigger } from "../ui
66

77
export function SecurityRoles({ roles }: { roles: SecurityRole[] }) {
88
return (
9-
<div className="flex flex-col gap-2 w-full overflow-x-auto">
9+
<div className="flex flex-col gap-2 w-full">
1010
{roles.map(role => (
1111
<SecurityRoleRow key={role.Name} role={role} />
1212
))}
@@ -17,8 +17,8 @@ export function SecurityRoles({ roles }: { roles: SecurityRole[] }) {
1717
function SecurityRoleRow({ role }: { role: SecurityRole }) {
1818
return (
1919
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-2 bg-gray-50 rounded-lg p-4 border border-gray-100 w-full min-w-[320px]">
20-
<p className="font-bold text-base text-wrap truncate max-w-full sm:max-w-[180px] md:max-w-[240px]">{role.Name}</p>
21-
<div className="flex flex-wrap sm:flex-nowrap gap-2 align-bottom overflow-x-auto">
20+
<p className="font-bold text-base text-wrap max-w-full sm:max-w-[180px] md:max-w-[240px]">{role.Name}</p>
21+
<div className="flex flex-wrap sm:flex-nowrap gap-2 align-bottom">
2222
<PrivilegeIcon name="Create" depth={role.Create} />
2323
<PrivilegeIcon name="Read" depth={role.Read} />
2424
<PrivilegeIcon name="Write" depth={role.Write} />

Website/generated/Data.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { GroupType } from "@/lib/Types";
2+
3+
export let Groups: GroupType[] = [
4+
{
5+
"Name":"Default",
6+
"Entities":[]
7+
},
8+
]

0 commit comments

Comments
 (0)