diff --git a/.gitignore b/.gitignore index 371e031..ceb7ed9 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ database/migrations/*.disabled resources/packages composer.lock +package-lock.json tmp-* temp-* diff --git a/README.md b/README.md index ea190c3..9349bf9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Playground Matrix +# Playground: Matrix [![Playground CI Workflow](https://github.com/gammamatrix/playground-matrix/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/playground-matrix/testing/develop/testdox.txt) [![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground-matrix/testing/develop/coverage.svg)](tests) @@ -83,24 +83,24 @@ composer cloc ``` ``` -➜ playground-matrix git:(feature/GH-23) ✗ composer cloc +➜ playground-matrix git:(feature/GH-25) ✗ composer cloc > cloc --exclude-dir=node_modules,output,vendor . - 137 text files. - 116 unique files. - 23 files ignored. + 148 text files. + 118 unique files. + 32 files ignored. -github.com/AlDanial/cloc v 1.98 T=0.27 s (437.6 files/s, 204291.4 lines/s) +github.com/AlDanial/cloc v 1.98 T=0.29 s (405.5 files/s, 234827.7 lines/s) ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- -JSON 16 0 0 38621 -PHP 92 1060 3753 10037 +JSON 18 0 0 49172 +PHP 92 1285 4715 12506 YAML 1 5 0 275 -XML 3 0 5 220 -Markdown 3 44 0 121 +XML 3 0 7 215 +Markdown 3 44 0 102 INI 1 3 0 12 ------------------------------------------------------------------------------- -SUM: 116 1112 3758 49286 +SUM: 118 1337 4722 62282 ------------------------------------------------------------------------------- ``` diff --git a/composer.json b/composer.json index ed37618..8aeacde 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,13 @@ { "name": "gammamatrix/playground-matrix", - "description": "Playground: This package provides the models to use Playground Matrix, a project management tool.", + "description": "Playground: This package provides the models to use Playground Matrix, a Project Management System.", "keywords": [ - "matrix", - "projects", - "tickets", "gammamatrix", "laravel", - "playground" + "matrix", + "playground", + "projects", + "tickets" ], "homepage": "https://github.com/gammamatrix/playground-matrix", "license": "MIT", diff --git a/config/playground-matrix.php b/config/playground-matrix.php index d73738a..6f491e7 100644 --- a/config/playground-matrix.php +++ b/config/playground-matrix.php @@ -6,7 +6,7 @@ declare(strict_types=1); /** - * Configuration and Environment Variables + * Playground: Matrix Configuration and Environment Variables */ return [ diff --git a/database/factories/BacklogFactory.php b/database/factories/BacklogFactory.php index bd3a450..7a7b4ba 100644 --- a/database/factories/BacklogFactory.php +++ b/database/factories/BacklogFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/BoardFactory.php b/database/factories/BoardFactory.php index 35f7130..4c572db 100644 --- a/database/factories/BoardFactory.php +++ b/database/factories/BoardFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/EpicFactory.php b/database/factories/EpicFactory.php index df38e0b..0d843c2 100644 --- a/database/factories/EpicFactory.php +++ b/database/factories/EpicFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/FlowFactory.php b/database/factories/FlowFactory.php index 97d354b..dd8564a 100644 --- a/database/factories/FlowFactory.php +++ b/database/factories/FlowFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/MatrixFactory.php b/database/factories/MatrixFactory.php index cf46da7..1dc8f1e 100644 --- a/database/factories/MatrixFactory.php +++ b/database/factories/MatrixFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/MilestoneFactory.php b/database/factories/MilestoneFactory.php index 2107ec4..7adb0aa 100644 --- a/database/factories/MilestoneFactory.php +++ b/database/factories/MilestoneFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/NoteFactory.php b/database/factories/NoteFactory.php index 35737d0..13c4cbb 100644 --- a/database/factories/NoteFactory.php +++ b/database/factories/NoteFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/ProjectFactory.php b/database/factories/ProjectFactory.php index 47faf21..0e29458 100644 --- a/database/factories/ProjectFactory.php +++ b/database/factories/ProjectFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/ReleaseFactory.php b/database/factories/ReleaseFactory.php index 2c4d3f5..83b0815 100644 --- a/database/factories/ReleaseFactory.php +++ b/database/factories/ReleaseFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/RoadmapFactory.php b/database/factories/RoadmapFactory.php index c0823bf..b4b5d8a 100644 --- a/database/factories/RoadmapFactory.php +++ b/database/factories/RoadmapFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/SourceFactory.php b/database/factories/SourceFactory.php index 277834b..78de004 100644 --- a/database/factories/SourceFactory.php +++ b/database/factories/SourceFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/SprintFactory.php b/database/factories/SprintFactory.php index a9416e3..d0e1b63 100644 --- a/database/factories/SprintFactory.php +++ b/database/factories/SprintFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/TagFactory.php b/database/factories/TagFactory.php index 5d092a2..7732c28 100644 --- a/database/factories/TagFactory.php +++ b/database/factories/TagFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/TeamFactory.php b/database/factories/TeamFactory.php index dce030e..83b7253 100644 --- a/database/factories/TeamFactory.php +++ b/database/factories/TeamFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/TicketFactory.php b/database/factories/TicketFactory.php index ee095ad..d499286 100644 --- a/database/factories/TicketFactory.php +++ b/database/factories/TicketFactory.php @@ -56,4 +56,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/factories/VersionFactory.php b/database/factories/VersionFactory.php index 287305c..5387b19 100644 --- a/database/factories/VersionFactory.php +++ b/database/factories/VersionFactory.php @@ -43,4 +43,36 @@ public function definition(): array 'summary' => $this->faker->sentence(3), ]; } + + // States: flags + + /** + * @return Factory + */ + public function locked(): Factory + { + return $this->state(fn (array $attributes) => [ + 'locked' => true, + ]); + } + + /** + * @return Factory + */ + public function featured(): Factory + { + return $this->state(fn (array $attributes) => [ + 'featured' => true, + ]); + } + + /** + * @return Factory + */ + public function special(): Factory + { + return $this->state(fn (array $attributes) => [ + 'special' => true, + ]); + } } diff --git a/database/migrations/2020_01_02_100001_create_matrix_backlogs_table.php b/database/migrations/2020_01_02_100001_create_matrix_backlogs_table.php index 32403e4..06f3d14 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_backlogs_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_backlogs_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('backlog_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('backlog_type')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); $table->uuid('flow_id')->nullable()->index(); @@ -55,20 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,8 +106,7 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); - $table->boolean('duplicate')->default(0); - $table->boolean('fixed')->default(0); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); @@ -120,13 +117,13 @@ public function up(): void $table->boolean('published')->default(0); $table->boolean('released')->default(0); $table->boolean('retired')->default(0); - $table->boolean('resolved')->default(0); $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -150,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_boards_table.php b/database/migrations/2020_01_02_100001_create_matrix_boards_table.php index 883da40..40d6899 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_boards_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_boards_table.php @@ -28,12 +28,12 @@ public function up(): void // IDs + $table->string('board_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); - $table->string('board_type')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); $table->uuid('flow_id')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); @@ -55,20 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,23 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); - $table->boolean('duplicate')->default(0); - $table->boolean('fixed')->default(0); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); $table->boolean('retired')->default(0); - $table->boolean('resolved')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -148,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_epics_table.php b/database/migrations/2020_01_02_100001_create_matrix_epics_table.php index 1c0b96b..20906ca 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_epics_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_epics_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('epic_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('epic_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('flow_id')->nullable()->index(); @@ -55,20 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,23 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); - $table->boolean('duplicate')->default(0); - $table->boolean('fixed')->default(0); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); $table->boolean('retired')->default(0); - $table->boolean('resolved')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -148,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_flows_table.php b/database/migrations/2020_01_02_100001_create_matrix_flows_table.php index 292766e..e25aba4 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_flows_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_flows_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('flow_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('flow_type')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); $table->uuid('note_id')->nullable()->index(); $table->uuid('tag_id')->nullable()->index(); @@ -44,14 +44,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('canceled_at')->nullable(); + $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); + $table->dateTime('published_at')->nullable(); + $table->dateTime('resolved_at')->nullable()->index(); $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -87,19 +91,28 @@ public function up(): void // Flags $table->boolean('active')->default(1)->index(); + $table->boolean('canceled')->default(0); + $table->boolean('closed')->default(0); + $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); + $table->boolean('published')->default(0); + $table->boolean('released')->default(0); $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -120,13 +133,9 @@ public function up(): void // JSON $table->json('assets')->nullable()->default(new Expression('(JSON_OBJECT())')); - $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); - $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); - $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); - $table->json('roadmap')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('sources')->nullable()->default(new Expression('(JSON_OBJECT())')); }); } diff --git a/database/migrations/2020_01_02_100001_create_matrix_matrices_table.php b/database/migrations/2020_01_02_100001_create_matrix_matrices_table.php index c548447..d99cc53 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_matrices_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_matrices_table.php @@ -28,12 +28,11 @@ public function up(): void // IDs + $table->string('matrix_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('matrix_type')->nullable()->index(); - $table->uuid('matrix_id')->nullable()->index(); // Dates @@ -41,16 +40,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); + $table->dateTime('published_at')->nullable(); + $table->dateTime('resolved_at')->nullable()->index(); $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -90,18 +91,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); + $table->boolean('published')->default(0); + $table->boolean('released')->default(0); $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); diff --git a/database/migrations/2020_01_02_100001_create_matrix_milestones_table.php b/database/migrations/2020_01_02_100001_create_matrix_milestones_table.php index a959018..2c577d2 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_milestones_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_milestones_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('milestone_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('milestone_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); @@ -55,20 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,23 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); - $table->boolean('duplicate')->default(0); - $table->boolean('fixed')->default(0); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); $table->boolean('retired')->default(0); - $table->boolean('resolved')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -148,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_notes_table.php b/database/migrations/2020_01_02_100001_create_matrix_notes_table.php index 2bf60fa..6d7cae8 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_notes_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_notes_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('note_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('note_type')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); $table->uuid('tag_id')->nullable()->index(); @@ -79,16 +79,25 @@ public function up(): void $table->boolean('canceled')->default(0); $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); + $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); + $table->boolean('published')->default(0); + $table->boolean('released')->default(0); + $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); + $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); diff --git a/database/migrations/2020_01_02_100001_create_matrix_projects_table.php b/database/migrations/2020_01_02_100001_create_matrix_projects_table.php index ed6b18e..26afb4f 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_projects_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_projects_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('project_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('project_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); @@ -55,19 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,22 +107,26 @@ public function up(): void $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); $table->boolean('duplicate')->default(0); + $table->boolean('featured')->default(0); $table->boolean('fixed')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); - $table->boolean('retired')->default(0); $table->boolean('resolved')->default(0); + $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); diff --git a/database/migrations/2020_01_02_100001_create_matrix_releases_table.php b/database/migrations/2020_01_02_100001_create_matrix_releases_table.php index f38ef51..02bca77 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_releases_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_releases_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('release_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('release_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); @@ -55,20 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resolved_at')->nullable(); + $table->dateTime('resolved_at')->nullable()->index(); $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,22 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); - $table->boolean('fixed')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); - $table->boolean('resolved')->default(0); $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -147,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_roadmaps_table.php b/database/migrations/2020_01_02_100001_create_matrix_roadmaps_table.php index 62f479a..8346802 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_roadmaps_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_roadmaps_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('roadmap_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('roadmap_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); @@ -55,18 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); + $table->dateTime('resolved_at')->nullable()->index(); $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -106,20 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); - $table->boolean('resolved')->default(0); + $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -143,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_sources_table.php b/database/migrations/2020_01_02_100001_create_matrix_sources_table.php index f9a54ce..34819bc 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_sources_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_sources_table.php @@ -28,12 +28,13 @@ public function up(): void // IDs + $table->string('source_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('source_type')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); + $table->uuid('note_id')->nullable()->index(); $table->uuid('tag_id')->nullable()->index(); $table->uuid('team_id')->nullable()->index(); @@ -43,20 +44,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -96,23 +95,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); - $table->boolean('duplicate')->default(0); - $table->boolean('fixed')->default(0); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); $table->boolean('retired')->default(0); - $table->boolean('resolved')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); diff --git a/database/migrations/2020_01_02_100001_create_matrix_sprints_table.php b/database/migrations/2020_01_02_100001_create_matrix_sprints_table.php index 3936cc0..965e4cc 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_sprints_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_sprints_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('sprint_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('sprint_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); @@ -55,20 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -108,23 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); - $table->boolean('duplicate')->default(0); - $table->boolean('fixed')->default(0); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); $table->boolean('retired')->default(0); - $table->boolean('resolved')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -148,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_tags_table.php b/database/migrations/2020_01_02_100001_create_matrix_tags_table.php index b3caa09..c9ca540 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_tags_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_tags_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('tag_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('tag_type')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); // Dates @@ -75,14 +75,18 @@ public function up(): void // Flags $table->boolean('active')->default(1)->index(); + $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); diff --git a/database/migrations/2020_01_02_100001_create_matrix_teams_table.php b/database/migrations/2020_01_02_100001_create_matrix_teams_table.php index 7fe3c62..a6c6496 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_teams_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_teams_table.php @@ -28,11 +28,11 @@ public function up(): void // IDs + $table->string('team_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('team_type')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); @@ -55,16 +55,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); + $table->dateTime('published_at')->nullable(); + $table->dateTime('resolved_at')->nullable()->index(); $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -104,18 +106,24 @@ public function up(): void $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); + $table->boolean('published')->default(0); + $table->boolean('released')->default(0); $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -139,6 +147,7 @@ public function up(): void $table->json('backlog')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('board')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('flow')->nullable()->default(new Expression('(JSON_OBJECT())')); + $table->json('history')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('meta')->nullable()->default(new Expression('(JSON_OBJECT())')); $table->json('notes')->nullable()->default(new Expression('(JSON_ARRAY())'))->comment('Array of note objects'); $table->json('options')->nullable()->default(new Expression('(JSON_OBJECT())')); diff --git a/database/migrations/2020_01_02_100001_create_matrix_tickets_table.php b/database/migrations/2020_01_02_100001_create_matrix_tickets_table.php index 5352dfd..9f247e8 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_tickets_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_tickets_table.php @@ -28,30 +28,30 @@ public function up(): void // IDs + $table->string('ticket_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('ticket_type')->nullable()->index(); - $table->uuid('duplicate_id')->nullable()->index(); $table->uuid('backlog_id')->nullable()->index(); $table->uuid('board_id')->nullable()->index(); - $table->uuid('completed_by_id')->nullable()->index(); $table->uuid('epic_id')->nullable()->index(); - $table->uuid('fixed_by_id')->nullable()->index(); $table->uuid('flow_id')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); $table->uuid('milestone_id')->nullable()->index(); $table->uuid('note_id')->nullable()->index(); $table->uuid('project_id')->nullable()->index(); $table->uuid('release_id')->nullable()->index(); - $table->uuid('reported_by_id')->nullable()->index(); $table->uuid('roadmap_id')->nullable()->index(); $table->uuid('source_id')->nullable()->index(); $table->uuid('sprint_id')->nullable()->index(); $table->uuid('tag_id')->nullable()->index(); $table->uuid('team_id')->nullable()->index(); $table->uuid('version_id')->nullable()->index(); + $table->uuid('completed_by_id')->nullable()->index(); + $table->uuid('duplicate_id')->nullable()->index(); + $table->uuid('fixed_by_id')->nullable()->index(); + $table->uuid('reported_by_id')->nullable()->index(); $table->uuid('version_fixed_id')->nullable()->index(); // Dates @@ -60,20 +60,19 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -114,6 +113,7 @@ public function up(): void $table->boolean('completed')->default(0); $table->boolean('cron')->default(0)->index(); $table->boolean('duplicate')->default(0); + $table->boolean('featured')->default(0); $table->boolean('fixed')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); @@ -124,14 +124,15 @@ public function up(): void $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); - $table->boolean('retired')->default(0); $table->boolean('resolved')->default(0); + $table->boolean('retired')->default(0); $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); @@ -141,17 +142,17 @@ public function up(): void $table->string('introduction', 512)->default(''); $table->mediumText('content')->nullable(); $table->mediumText('summary')->nullable(); - $table->string('handler')->default(''); + $table->string('handler')->nullable(); $table->string('key', 32)->nullable()->index(); $table->bigInteger('code')->nullable()->unsigned()->index(); $table->string('key_code_hash')->nullable(); - $table->string('priority')->default(''); - $table->string('severity')->default(''); - $table->string('resolution')->default(''); - $table->string('step')->default(''); - $table->string('state')->default(''); - $table->string('workflow_type')->default(''); - $table->tinyInteger('points')->default(0)->unsigned(); + $table->string('priority')->nullable(); + $table->string('severity')->nullable(); + $table->string('resolution')->nullable(); + $table->string('step')->nullable(); + $table->string('state')->nullable(); + $table->string('workflow_type')->nullable(); + $table->bigInteger('points')->default(0)->unsigned(); $table->mediumText('actual')->nullable(); $table->mediumText('expected')->nullable(); $table->mediumText('story')->nullable(); diff --git a/database/migrations/2020_01_02_100001_create_matrix_versions_table.php b/database/migrations/2020_01_02_100001_create_matrix_versions_table.php index a4637b7..82390ec 100644 --- a/database/migrations/2020_01_02_100001_create_matrix_versions_table.php +++ b/database/migrations/2020_01_02_100001_create_matrix_versions_table.php @@ -28,15 +28,13 @@ public function up(): void // IDs + $table->string('version_type')->nullable()->index(); $table->uuid('created_by_id')->nullable()->index(); $table->uuid('modified_by_id')->nullable()->index(); $table->uuid('owned_by_id')->nullable()->index(); $table->uuid('parent_id')->nullable()->index(); - $table->string('version_type')->nullable()->index(); $table->uuid('matrix_id')->nullable()->index(); $table->uuid('project_id')->nullable()->index(); - $table->uuid('roadmap_id')->nullable()->index(); - $table->uuid('source_id')->nullable()->index(); $table->uuid('tag_id')->nullable()->index(); $table->uuid('team_id')->nullable()->index(); $table->uuid('ticket_id')->nullable()->index(); @@ -47,20 +45,18 @@ public function up(): void $table->softDeletes(); - $table->dateTime('start_at')->nullable()->index(); - $table->dateTime('planned_start_at')->nullable(); - $table->dateTime('end_at')->nullable()->index(); - $table->dateTime('planned_end_at')->nullable(); $table->dateTime('canceled_at')->nullable(); $table->dateTime('closed_at')->nullable()->index(); $table->dateTime('embargo_at')->nullable(); - $table->dateTime('fixed_at')->nullable(); + $table->dateTime('planned_end_at')->nullable(); + $table->dateTime('planned_start_at')->nullable(); $table->dateTime('postponed_at')->nullable(); $table->dateTime('published_at')->nullable(); - $table->dateTime('released_at')->nullable(); - $table->dateTime('resumed_at')->nullable(); $table->dateTime('resolved_at')->nullable()->index(); + $table->dateTime('resumed_at')->nullable(); $table->dateTime('suspended_at')->nullable(); + $table->dateTime('timer_end_at')->nullable()->index(); + $table->dateTime('timer_start_at')->nullable()->index(); // Permissions @@ -99,22 +95,27 @@ public function up(): void $table->boolean('canceled')->default(0); $table->boolean('closed')->default(0); $table->boolean('completed')->default(0); + $table->boolean('cron')->default(0)->index(); + $table->boolean('featured')->default(0); $table->boolean('fixed')->default(0); $table->boolean('flagged')->default(0); $table->boolean('internal')->default(0); $table->boolean('locked')->default(0); $table->boolean('pending')->default(0); $table->boolean('planned')->default(0); + $table->boolean('prioritized')->default(0); $table->boolean('problem')->default(0); $table->boolean('published')->default(0); $table->boolean('released')->default(0); - $table->boolean('retired')->default(0); $table->boolean('resolved')->default(0); + $table->boolean('retired')->default(0); + $table->boolean('special')->default(0); $table->boolean('suspended')->default(0); $table->boolean('unknown')->default(0); // Columns + $table->string('locale', 255)->default(''); $table->string('label', 128)->default(''); $table->string('title', 255)->default(''); $table->string('byline', 255)->default(''); diff --git a/phpunit-ci.xml b/phpunit-ci.xml index 0c3bf00..03c11eb 100644 --- a/phpunit-ci.xml +++ b/phpunit-ci.xml @@ -60,7 +60,6 @@ - diff --git a/phpunit.xml.dev b/phpunit.xml.dev index 07c55f0..1238dda 100644 --- a/phpunit.xml.dev +++ b/phpunit.xml.dev @@ -60,7 +60,6 @@ - diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 207a9d9..dfb1c2f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -11,8 +11,8 @@ failOnRisky="true" failOnWarning="true" processIsolation="false" - stopOnError="false" - stopOnFailure="false" + stopOnError="true" + stopOnFailure="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false" displayDetailsOnIncompleteTests="true" @@ -39,10 +39,10 @@ - + - + @@ -60,7 +60,6 @@ - diff --git a/resources/package/model.backlog.json b/resources/package/model.backlog.json index c579105..3479c20 100644 --- a/resources/package/model.backlog.json +++ b/resources/package/model.backlog.json @@ -14,15 +14,18 @@ "model_plural": "Backlogs", "model_singular": "Backlog", "model_slug": "backlog", - "type": "model", + "model_slug_plural": "backlogs", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_backlogs", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -135,6 +138,48 @@ } }, "HasMany": { + "boards": { + "comment": "The boards of the backlog.", + "accessor": "boards", + "related": "Board", + "foreignKey": "backlog_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the backlog.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "backlog_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the backlog.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "backlog_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the backlog.", + "accessor": "projects", + "related": "Project", + "foreignKey": "backlog_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the backlog.", + "accessor": "releases", + "related": "Release", + "foreignKey": "backlog_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the backlog.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "backlog_id", + "localKey": "id" + }, "sprints": { "comment": "The sprints of the backlog.", "accessor": "sprints", @@ -142,6 +187,13 @@ "foreignKey": "backlog_id", "localKey": "id" }, + "teams": { + "comment": "The teams of the backlog.", + "accessor": "teams", + "related": "Team", + "foreignKey": "backlog_id", + "localKey": "id" + }, "tickets": { "comment": "The tickets of the backlog.", "accessor": "tickets", @@ -157,11 +209,11 @@ } }, "attributes": { + "backlog_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "backlog_type": null, "board_id": null, "epic_id": null, "flow_id": null, @@ -180,20 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, - "fixed_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, - "resumed_at": null, "resolved_at": null, + "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -221,20 +271,21 @@ "closed": false, "completed": false, "cron": false, - "duplicate": false, - "fixed": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, "retired": false, - "resolved": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -252,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -263,20 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", - "fixed_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", - "resumed_at": "datetime", "resolved_at": "datetime", + "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -286,6 +336,8 @@ "only_guest": "boolean", "allow_public": "boolean", "status": "integer", + "rank": "integer", + "size": "integer", "matrix": "array", "x": "integer", "y": "integer", @@ -297,27 +349,26 @@ "elevation": "float", "latitude": "float", "longitude": "float", - "rank": "integer", - "size": "integer", "active": "boolean", "canceled": "boolean", "closed": "boolean", "completed": "boolean", "cron": "boolean", - "duplicate": "boolean", - "fixed": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", "retired": "boolean", - "resolved": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -335,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -342,9 +394,9 @@ "sources": "array" }, "fillable": [ + "backlog_type", "owned_by_id", "parent_id", - "backlog_type", "board_id", "epic_id", "flow_id", @@ -360,20 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", - "fixed_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", - "resumed_at", "resolved_at", + "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -401,20 +451,21 @@ "closed", "completed", "cron", - "duplicate", - "fixed", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", "retired", - "resolved", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -432,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -442,55 +494,55 @@ "ids": [ { "column": "id", - "label": "", + "label": "ID", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "created_by_id", - "label": "", + "column": "backlog_type", + "label": "Backlog Type", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "modified_by_id", - "label": "", + "column": "created_by_id", + "label": "Created by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "owned_by_id", - "label": "", + "column": "modified_by_id", + "label": "Modified by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "parent_id", - "label": "", + "column": "owned_by_id", + "label": "Owned by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "backlog_type", - "label": "", + "column": "parent_id", + "label": "Parent id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { "column": "board_id", - "label": "", + "label": "Board id", "icon": "", "nullable": true, "unsigned": true, @@ -498,7 +550,7 @@ }, { "column": "epic_id", - "label": "", + "label": "Epic id", "icon": "", "nullable": true, "unsigned": true, @@ -506,7 +558,7 @@ }, { "column": "flow_id", - "label": "", + "label": "Flow id", "icon": "", "nullable": true, "unsigned": true, @@ -522,7 +574,7 @@ }, { "column": "milestone_id", - "label": "", + "label": "Milestone id", "icon": "", "nullable": true, "unsigned": true, @@ -530,7 +582,7 @@ }, { "column": "note_id", - "label": "", + "label": "Note id", "icon": "", "nullable": true, "unsigned": true, @@ -538,7 +590,7 @@ }, { "column": "project_id", - "label": "", + "label": "Project id", "icon": "", "nullable": true, "unsigned": true, @@ -546,7 +598,7 @@ }, { "column": "release_id", - "label": "", + "label": "Release id", "icon": "", "nullable": true, "unsigned": true, @@ -554,7 +606,7 @@ }, { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "icon": "", "nullable": true, "unsigned": true, @@ -562,7 +614,7 @@ }, { "column": "source_id", - "label": "", + "label": "Source id", "icon": "", "nullable": true, "unsigned": true, @@ -570,7 +622,7 @@ }, { "column": "sprint_id", - "label": "", + "label": "Sprint id", "icon": "", "nullable": true, "unsigned": true, @@ -578,7 +630,7 @@ }, { "column": "tag_id", - "label": "", + "label": "Tag id", "icon": "", "nullable": true, "unsigned": true, @@ -586,7 +638,7 @@ }, { "column": "team_id", - "label": "", + "label": "Team id", "icon": "", "nullable": true, "unsigned": true, @@ -594,7 +646,7 @@ }, { "column": "ticket_id", - "label": "", + "label": "Ticket id", "icon": "", "nullable": true, "unsigned": true, @@ -602,7 +654,7 @@ }, { "column": "version_id", - "label": "", + "label": "Version id", "icon": "", "nullable": true, "unsigned": true, @@ -612,7 +664,7 @@ "dates": [ { "column": "created_at", - "label": "", + "label": "Created at", "icon": "", "nullable": true, "unsigned": true, @@ -620,7 +672,7 @@ }, { "column": "updated_at", - "label": "", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, @@ -628,31 +680,31 @@ }, { "column": "deleted_at", - "label": "", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -660,87 +712,71 @@ }, { "column": "planned_end_at", - "label": "", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, - { - "column": "canceled_at", - "label": "", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, - { - "column": "closed_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "fixed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resolved_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -751,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -760,145 +796,145 @@ "column": "canceled", "label": "Canceled", "icon": "fa-solid fa-ban text-warning", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "closed", "label": "Closed", "icon": "fa-solid fa-xmark", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "completed", "label": "Completed", "icon": "fa-solid fa-check", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "duplicate", - "label": "Duplicate", - "icon": "fa-solid fa-clone", - "nullable": false, - "unsigned": true, - "type": "string" - }, - { - "column": "fixed", - "label": "Fixed", - "icon": "fa-solid fa-wrench", - "nullable": false, + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "flagged", "label": "Flagged", "icon": "fa-solid fa-flag", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "internal", "label": "Internal", "icon": "fa-solid fa-server", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "locked", "label": "Locked", "icon": "fa-solid fa-lock text-warning", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "pending", "label": "Pending", "icon": "fa-solid fa-circle-pause text-warning", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "planned", "label": "Planned", "icon": "fa-solid fa-circle-pause text-success", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" }, { "column": "problem", "label": "Problem", "icon": "fa-solid fa-triangle-exclamation text-danger", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "published", "label": "Published", "icon": "fa-solid fa-book", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "released", "label": "Released", "icon": "fa-solid fa-dove", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "retired", "label": "Retired", "icon": "fa-solid fa-chair text-success", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "fa-solid fa-check-double text-success", - "nullable": false, + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "suspended", "label": "Suspended", "icon": "fa-solid fa-hand text-danger", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "unknown", "label": "Unknown", "icon": "fa-solid fa-question text-warning", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" } ], "trash": { @@ -907,33 +943,41 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", - "label": "", + "label": "Label", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "title", - "label": "", + "label": "Title", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "byline", - "label": "", + "label": "Byline", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "slug", - "label": "", + "label": "Slug", "icon": "", "nullable": true, "unsigned": true, @@ -941,31 +985,31 @@ }, { "column": "url", - "label": "", + "label": "Url", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "description", - "label": "", + "label": "Description", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "introduction", - "label": "", + "label": "Introduction", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "content", - "label": "", + "label": "Content", "icon": "", "nullable": true, "unsigned": true, @@ -973,7 +1017,7 @@ }, { "column": "summary", - "label": "", + "label": "Summary", "icon": "", "nullable": true, "unsigned": true, @@ -983,92 +1027,92 @@ "permissions": [ { "column": "gids", - "label": "", - "icon": "", - "nullable": false, + "label": "Gids", + "icon": "fa-solid fa-people-group", + "nullable": true, "unsigned": true, "type": "bigInteger" }, { "column": "po", - "label": "", - "icon": "", - "nullable": false, + "label": "Po", + "icon": "fa-solid fa-house-user", + "nullable": true, "unsigned": true, "type": "tinyInteger" }, { "column": "pg", - "label": "", - "icon": "", - "nullable": false, + "label": "Pg", + "icon": "fa-solid fa-people-roof", + "nullable": true, "unsigned": true, "type": "tinyInteger" }, { "column": "pw", - "label": "", - "icon": "", - "nullable": false, + "label": "Pw", + "icon": "fa-solid fa-globe", + "nullable": true, "unsigned": true, "type": "tinyInteger" }, { "column": "only_admin", - "label": "Only Admin", + "label": "Only admin", "icon": "fa-solid fa-user-gear", - "nullable": false, - "unsigned": false, + "nullable": true, + "unsigned": true, "type": "boolean" }, { "column": "only_user", - "label": "Only User", + "label": "Only user", "icon": "fa-solid fa-user", - "nullable": false, - "unsigned": false, + "nullable": true, + "unsigned": true, "type": "boolean" }, { "column": "only_guest", - "label": "Only Guest", + "label": "Only guest", "icon": "fa-solid fa-person-rays", - "nullable": false, - "unsigned": false, + "nullable": true, + "unsigned": true, "type": "boolean" }, { "column": "allow_public", - "label": "Allow Public", + "label": "Allow public", "icon": "fa-solid fa-users-line", - "nullable": false, - "unsigned": false, + "nullable": true, + "unsigned": true, "type": "boolean" } ], "status": [ { "column": "status", - "label": "", + "label": "Status", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "bigInteger" }, { "column": "rank", - "label": "", + "label": "Rank", "icon": "", - "nullable": false, - "unsigned": false, + "nullable": true, + "unsigned": true, "type": "bigInteger" }, { "column": "size", - "label": "", + "label": "Size", "icon": "", - "nullable": false, - "unsigned": false, + "nullable": true, + "unsigned": true, "type": "bigInteger" } ], @@ -1165,31 +1209,31 @@ "ui": [ { "column": "icon", - "label": "", + "label": "Icon", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "image", - "label": "", + "label": "Image", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "avatar", - "label": "", + "label": "Avatar", "icon": "", - "nullable": false, + "nullable": true, "unsigned": true, "type": "string" }, { "column": "ui", - "label": "", + "label": "Ui", "icon": "", "nullable": true, "unsigned": true, @@ -1199,7 +1243,7 @@ "json": [ { "column": "assets", - "label": "", + "label": "Assets", "icon": "", "nullable": true, "unsigned": true, @@ -1207,7 +1251,7 @@ }, { "column": "backlog", - "label": "", + "label": "Backlog", "icon": "", "nullable": true, "unsigned": true, @@ -1215,7 +1259,7 @@ }, { "column": "board", - "label": "", + "label": "Board", "icon": "", "nullable": true, "unsigned": true, @@ -1223,7 +1267,15 @@ }, { "column": "flow", - "label": "", + "label": "Flow", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "history", + "label": "History", "icon": "", "nullable": true, "unsigned": true, @@ -1231,7 +1283,7 @@ }, { "column": "meta", - "label": "", + "label": "Meta", "icon": "", "nullable": true, "unsigned": true, @@ -1239,7 +1291,7 @@ }, { "column": "notes", - "label": "", + "label": "Notes", "icon": "", "nullable": true, "unsigned": true, @@ -1247,7 +1299,7 @@ }, { "column": "options", - "label": "", + "label": "Options", "icon": "", "nullable": true, "unsigned": true, @@ -1255,7 +1307,7 @@ }, { "column": "roadmap", - "label": "", + "label": "Roadmap", "icon": "", "nullable": true, "unsigned": true, @@ -1263,7 +1315,7 @@ }, { "column": "sources", - "label": "", + "label": "Sources", "icon": "", "nullable": true, "unsigned": true, @@ -1271,69 +1323,67 @@ } ] }, - "models": { - "Backlog": "resources/configurations/playground-matrix/model.backlog.json" - }, + "models": [], "sortable": [ { "column": "id", - "label": "", + "label": "ID", "icon": "", "nullable": false, - "type": "uuid" + "type": "string" + }, + { + "column": "backlog_type", + "label": "Backlog Type", + "icon": "", + "nullable": false, + "type": "string" }, { "column": "created_by_id", - "label": "", + "label": "Created by id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "parent_id", - "label": "", + "label": "Parent id", "icon": "", "nullable": false, "type": "uuid" }, - { - "column": "backlog_type", - "label": "", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "board_id", - "label": "", + "label": "Board id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "epic_id", - "label": "", + "label": "Epic id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "flow_id", - "label": "", + "label": "Flow id", "icon": "", "nullable": false, "type": "uuid" @@ -1347,273 +1397,259 @@ }, { "column": "milestone_id", - "label": "", + "label": "Milestone id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "note_id", - "label": "", + "label": "Note id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "project_id", - "label": "", + "label": "Project id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "release_id", - "label": "", + "label": "Release id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "source_id", - "label": "", + "label": "Source id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "sprint_id", - "label": "", + "label": "Sprint id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "tag_id", - "label": "", + "label": "Tag id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "team_id", - "label": "", + "label": "Team id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "ticket_id", - "label": "", + "label": "Ticket id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "version_id", - "label": "", + "label": "Version id", "icon": "", "nullable": false, "type": "uuid" }, { "column": "created_at", - "label": "", + "label": "Created At", "icon": "", "nullable": false, "type": "string" }, { "column": "updated_at", - "label": "", + "label": "Updated At", "icon": "", "nullable": false, "type": "string" }, { "column": "deleted_at", - "label": "", + "label": "Deleted At", "icon": "", "nullable": false, "type": "string" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" }, { "column": "planned_end_at", - "label": "", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "canceled_at", - "label": "", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "closed_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "fixed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "published_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" }, { - "column": "released_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resumed_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resolved_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" }, { "column": "gids", - "label": "", - "icon": "", + "label": "Gids", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", - "label": "", - "icon": "", + "label": "Po", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", - "label": "", - "icon": "", + "label": "Pg", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", - "label": "", - "icon": "", + "label": "Pw", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", - "label": "", - "icon": "", + "label": "Only admin", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", - "label": "", - "icon": "", + "label": "Only user", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", - "label": "", - "icon": "", + "label": "Only guest", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", - "label": "", - "icon": "", + "label": "Allow public", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, { "column": "status", - "label": "", + "label": "Status", "icon": "", "nullable": false, "type": "bigInteger" }, { "column": "rank", - "label": "", + "label": "Rank", "icon": "", "nullable": false, "type": "bigInteger" }, { "column": "size", - "label": "", + "label": "Size", "icon": "", "nullable": false, "type": "bigInteger" @@ -1697,22 +1733,22 @@ }, { "column": "active", - "label": "", - "icon": "", + "label": "Active", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", - "label": "", - "icon": "", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", - "label": "", - "icon": "", + "label": "Closed", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, @@ -1726,188 +1762,195 @@ { "column": "cron", "label": "Cron", - "icon": "", - "nullable": false, - "type": "boolean" - }, - { - "column": "duplicate", - "label": "", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": false, "type": "boolean" }, { - "column": "fixed", - "label": "", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", - "label": "", - "icon": "", + "label": "Flagged", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", - "label": "", - "icon": "", + "label": "Internal", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", - "label": "", - "icon": "", + "label": "Locked", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", - "label": "", - "icon": "", + "label": "Pending", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", - "label": "", - "icon": "", + "label": "Planned", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", - "label": "", - "icon": "", + "label": "Problem", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", - "label": "", - "icon": "", + "label": "Published", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", - "label": "", - "icon": "", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", - "label": "", - "icon": "", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", "nullable": false, "type": "boolean" }, { - "column": "resolved", - "label": "", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", - "label": "", - "icon": "", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", - "label": "", - "icon": "", + "label": "Unknown", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", - "label": "", + "label": "Label", "icon": "", "nullable": false, "type": "string" }, { "column": "title", - "label": "", + "label": "Title", "icon": "", "nullable": false, "type": "string" }, { "column": "byline", - "label": "", + "label": "Byline", "icon": "", "nullable": false, "type": "string" }, { "column": "slug", - "label": "", + "label": "Slug", "icon": "", "nullable": false, "type": "string" }, { "column": "url", - "label": "", + "label": "Url", "icon": "", "nullable": false, "type": "string" }, { "column": "description", - "label": "", + "label": "Description", "icon": "", "nullable": false, "type": "string" }, { "column": "introduction", - "label": "", + "label": "Introduction", "icon": "", "nullable": false, "type": "string" }, { "column": "content", - "label": "", + "label": "Content", "icon": "", "nullable": false, "type": "mediumText" }, { "column": "summary", - "label": "", + "label": "Summary", "icon": "", "nullable": false, "type": "mediumText" }, { "column": "icon", - "label": "", + "label": "Icon", "icon": "", "nullable": false, "type": "string" }, { "column": "image", - "label": "", + "label": "Image", "icon": "", "nullable": false, "type": "string" }, { "column": "avatar", - "label": "", + "label": "Avatar", "icon": "", "nullable": false, "type": "string" @@ -1947,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1994,9 +2044,21 @@ "with": false }, "ids": { + "backlog_type": { + "column": "backlog_type", + "label": "Backlog Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -2011,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -2026,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -2041,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -2051,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "backlog_type": { - "column": "backlog_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -2080,7 +2130,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -2095,7 +2145,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -2110,7 +2160,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2125,7 +2175,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2140,7 +2190,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2155,7 +2205,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2170,7 +2220,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2185,7 +2235,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2200,7 +2250,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2215,7 +2265,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2230,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2245,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2260,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2275,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2298,51 +2348,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2353,6 +2364,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2363,16 +2375,29 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "Fixed at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2383,6 +2408,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2393,17 +2419,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2413,27 +2441,41 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "resolved_at": { - "column": "resolved_at", - "label": "Resolved at", + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "suspended_at": { - "column": "suspended_at", - "label": "Suspended at", + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2495,22 +2537,11 @@ "readOnly": false, "type": "boolean" }, - "duplicate": { - "column": "duplicate", - "label": "Duplicate", - "description": "", - "icon": "fa-solid fa-clone", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, - "fixed": { - "column": "fixed", - "label": "Fixed", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, @@ -2574,7 +2605,7 @@ }, "prioritized": { "column": "prioritized", - "label": "", + "label": "Prioritized", "description": "", "icon": "fa-solid fa-triangle-exclamation text-success", "default": false, @@ -2627,20 +2658,9 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "Resolved", - "description": "", - "icon": "fa-solid fa-check-double text-success", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, "special": { "column": "special", - "label": "", + "label": "Special", "description": "", "icon": "fa-solid fa-star text-success", "default": false, @@ -2673,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2690,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2702,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2714,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2726,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2738,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2750,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2762,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2772,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2784,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2796,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2808,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2820,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2832,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2843,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2854,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2865,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2878,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2890,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2902,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2916,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2927,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2939,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2951,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2963,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2976,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2989,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3002,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3015,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3028,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3041,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3056,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3068,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3080,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3092,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3105,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3116,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3127,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3138,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3149,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3160,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3172,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3183,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3194,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3203,8 +3292,8 @@ } }, "uses": [ - "Illuminate/Database/Eloquent/Relations/HasMany", "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.board.json b/resources/package/model.board.json index 8368a37..1a301f3 100644 --- a/resources/package/model.board.json +++ b/resources/package/model.board.json @@ -14,15 +14,18 @@ "model_plural": "Boards", "model_singular": "Board", "model_slug": "board", - "type": "model", + "model_slug_plural": "boards", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_boards", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the board.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "board_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the board.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "board_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the board.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "board_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the board.", + "accessor": "projects", + "related": "Project", + "foreignKey": "board_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the board.", + "accessor": "releases", + "related": "Release", + "foreignKey": "board_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the board.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "board_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the board.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "board_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the board.", + "accessor": "teams", + "related": "Team", + "foreignKey": "board_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the board.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "board_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "board_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "board_type": null, "backlog_id": null, "epic_id": null, "flow_id": null, @@ -165,20 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, - "fixed_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, - "resumed_at": null, "resolved_at": null, + "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -206,20 +271,21 @@ "closed": false, "completed": false, "cron": false, - "duplicate": false, - "fixed": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, "retired": false, - "resolved": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -237,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -248,20 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", - "fixed_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", - "resumed_at": "datetime", "resolved_at": "datetime", + "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -289,20 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", - "duplicate": "boolean", - "fixed": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", "retired": "boolean", - "resolved": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -320,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -327,9 +394,9 @@ "sources": "array" }, "fillable": [ + "board_type", "owned_by_id", "parent_id", - "board_type", "backlog_id", "epic_id", "flow_id", @@ -345,20 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", - "fixed_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", - "resumed_at", "resolved_at", + "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -386,20 +451,21 @@ "closed", "completed", "cron", - "duplicate", - "fixed", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", "retired", - "resolved", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -417,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -426,36 +493,36 @@ "builder": null, "ids": [ { - "column": "created_by_id", - "label": "Created by id", + "column": "id", + "label": "ID", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "modified_by_id", - "label": "Modified by id", + "column": "board_type", + "label": "Board Type", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "parent_id", - "label": "Parent id", + "column": "created_by_id", + "label": "Created by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "board_type", - "label": "Board type", + "column": "modified_by_id", + "label": "Modified by id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { "column": "owned_by_id", @@ -465,6 +532,14 @@ "unsigned": true, "type": "uuid" }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, { "column": "backlog_id", "label": "Backlog id", @@ -595,14 +670,6 @@ "unsigned": true, "type": "datetime" }, - { - "column": "deleted_at", - "label": "Deleted at", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, { "column": "updated_at", "label": "Updated at", @@ -612,112 +679,104 @@ "type": "datetime" }, { - "column": "start_at", - "label": "", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, - { - "column": "planned_start_at", - "label": "", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_end_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "planned_end_at", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "fixed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resolved_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -728,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -736,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -744,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -752,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -760,23 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "boolean" - }, - { - "column": "duplicate", - "label": "Duplicate", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -784,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -792,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -800,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -808,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -816,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -824,7 +883,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -832,7 +891,7 @@ { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -840,7 +899,7 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -848,15 +907,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -864,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -872,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -884,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -961,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -969,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -977,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -985,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -993,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -1001,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -1009,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -1017,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1206,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1248,10 +1323,22 @@ } ] }, - "models": { - "Board": "resources/configurations/playground-matrix/model.board.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "board_type", + "label": "Board Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1280,13 +1367,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "board_type", - "label": "Board type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1414,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1442,29 +1522,8 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "closed_at", - "label": "Closed at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "embargo_at", - "label": "Embargo at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "fixed_at", - "label": "Fixed at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" @@ -1484,8 +1543,8 @@ "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" @@ -1498,15 +1557,22 @@ "type": "string" }, { - "column": "resolved_at", - "label": "Resolved at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1514,56 +1580,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1621,183 +1687,190 @@ "label": "R", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "theta", "label": "Theta", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "rho", "label": "Rho", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "phi", "label": "Phi", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "elevation", "label": "Elevation", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "latitude", "label": "Latitude", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "longitude", "label": "Longitude", "icon": "", "nullable": false, - "type": "decimal" + "type": "float" }, { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": false, "type": "boolean" }, { - "column": "duplicate", - "label": "Duplicate", - "icon": "", - "nullable": false, - "type": "boolean" - }, - { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": false, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1917,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1964,9 +2044,21 @@ "with": false }, "ids": { + "board_type": { + "column": "board_type", + "label": "Board Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1981,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1996,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -2011,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -2023,7 +2115,7 @@ }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -2036,21 +2128,9 @@ "unsigned": false, "type": "uuid" }, - "board_type": { - "column": "board_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -2065,7 +2145,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -2080,7 +2160,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2095,7 +2175,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2110,7 +2190,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2125,7 +2205,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2140,7 +2220,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2155,7 +2235,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2170,7 +2250,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2185,7 +2265,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2200,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2215,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2230,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2245,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2268,51 +2348,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2323,6 +2364,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2333,16 +2375,29 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "Fixed at", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2353,6 +2408,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2363,17 +2419,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2383,27 +2441,41 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "resolved_at": { - "column": "resolved_at", - "label": "Resolved at", + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "suspended_at": { - "column": "suspended_at", - "label": "Suspended at", + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2465,22 +2537,11 @@ "readOnly": false, "type": "boolean" }, - "duplicate": { - "column": "duplicate", - "label": "Duplicate", - "description": "", - "icon": "fa-solid fa-clone", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, - "fixed": { - "column": "fixed", - "label": "Fixed", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, @@ -2542,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2586,11 +2658,11 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "Resolved", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2621,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2638,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2650,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2662,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2674,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2686,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2698,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2710,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2720,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2732,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2744,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2756,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2768,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2780,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2791,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2802,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2813,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2826,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2838,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2850,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2864,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2875,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2887,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2899,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2911,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2924,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2937,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2950,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2963,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2976,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2989,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3004,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3016,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3028,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3040,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3053,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3064,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3075,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3086,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3097,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3108,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3120,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3131,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3142,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3152,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.epic.json b/resources/package/model.epic.json index b25241d..50eac56 100644 --- a/resources/package/model.epic.json +++ b/resources/package/model.epic.json @@ -14,15 +14,18 @@ "model_plural": "Epics", "model_singular": "Epic", "model_slug": "epic", - "type": "model", + "model_slug_plural": "epics", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_epics", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the epic.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "epic_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the epic.", + "accessor": "boards", + "related": "Board", + "foreignKey": "epic_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the epic.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "epic_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the epic.", + "accessor": "projects", + "related": "Project", + "foreignKey": "epic_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the epic.", + "accessor": "releases", + "related": "Release", + "foreignKey": "epic_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the epic.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "epic_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the epic.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "epic_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the epic.", + "accessor": "teams", + "related": "Team", + "foreignKey": "epic_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the epic.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "epic_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "epic_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "epic_type": null, "backlog_id": null, "board_id": null, "flow_id": null, @@ -165,20 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, - "fixed_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, - "resumed_at": null, "resolved_at": null, + "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -206,20 +271,21 @@ "closed": false, "completed": false, "cron": false, - "duplicate": false, - "fixed": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, "retired": false, - "resolved": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -237,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -248,20 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", - "fixed_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", - "resumed_at": "datetime", "resolved_at": "datetime", + "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -289,20 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", - "duplicate": "boolean", - "fixed": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", "retired": "boolean", - "resolved": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -320,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -327,9 +394,9 @@ "sources": "array" }, "fillable": [ + "epic_type", "owned_by_id", "parent_id", - "epic_type", "backlog_id", "board_id", "flow_id", @@ -345,20 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", - "fixed_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", - "resumed_at", "resolved_at", + "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -386,20 +451,21 @@ "closed", "completed", "cron", - "duplicate", - "fixed", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", "retired", - "resolved", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -417,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -426,36 +493,36 @@ "builder": null, "ids": [ { - "column": "created_by_id", - "label": "Created by id", + "column": "id", + "label": "ID", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "modified_by_id", - "label": "Modified by id", + "column": "epic_type", + "label": "Epic Type", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "parent_id", - "label": "Parent id", + "column": "created_by_id", + "label": "Created by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "epic_type", - "label": "Epic type", + "column": "modified_by_id", + "label": "Modified by id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { "column": "owned_by_id", @@ -465,6 +532,14 @@ "unsigned": true, "type": "uuid" }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, { "column": "backlog_id", "label": "Backlog id", @@ -595,14 +670,6 @@ "unsigned": true, "type": "datetime" }, - { - "column": "deleted_at", - "label": "Deleted at", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, { "column": "updated_at", "label": "Updated at", @@ -612,112 +679,104 @@ "type": "datetime" }, { - "column": "start_at", - "label": "", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, - { - "column": "planned_start_at", - "label": "", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_end_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "planned_end_at", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "fixed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resolved_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -728,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -736,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -744,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -752,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -760,23 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "boolean" - }, - { - "column": "duplicate", - "label": "Duplicate", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -784,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -792,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -800,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -808,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -816,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -824,7 +883,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -832,7 +891,7 @@ { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -840,7 +899,7 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -848,15 +907,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -864,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -872,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -884,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -961,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -969,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -977,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -985,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -993,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -1001,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -1009,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -1017,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1206,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1248,10 +1323,22 @@ } ] }, - "models": { - "Epic": "resources/configurations/playground-matrix/model.epic.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "epic_type", + "label": "Epic Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1280,13 +1367,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "epic_type", - "label": "Epic type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1414,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1442,29 +1522,8 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "closed_at", - "label": "Closed at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "embargo_at", - "label": "Embargo at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "fixed_at", - "label": "Fixed at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" @@ -1484,8 +1543,8 @@ "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" @@ -1498,15 +1557,22 @@ "type": "string" }, { - "column": "resolved_at", - "label": "Resolved at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1514,56 +1580,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1668,136 +1734,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": false, "type": "boolean" }, { - "column": "duplicate", - "label": "Duplicate", - "icon": "", - "nullable": false, - "type": "boolean" - }, - { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": false, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1917,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1964,9 +2044,21 @@ "with": false }, "ids": { + "epic_type": { + "column": "epic_type", + "label": "Epic Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1981,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1996,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -2011,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -2021,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "epic_type": { - "column": "epic_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -2050,7 +2130,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -2065,7 +2145,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -2080,7 +2160,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2095,7 +2175,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2110,7 +2190,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2125,7 +2205,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2140,7 +2220,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2155,7 +2235,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2170,7 +2250,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2185,7 +2265,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2200,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2215,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2230,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2245,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2268,51 +2348,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2323,6 +2364,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2333,16 +2375,29 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "Fixed at", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2353,6 +2408,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2363,17 +2419,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2383,27 +2441,41 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "resolved_at": { - "column": "resolved_at", - "label": "Resolved at", + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "suspended_at": { - "column": "suspended_at", - "label": "Suspended at", + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2465,22 +2537,11 @@ "readOnly": false, "type": "boolean" }, - "duplicate": { - "column": "duplicate", - "label": "Duplicate", - "description": "", - "icon": "fa-solid fa-clone", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, - "fixed": { - "column": "fixed", - "label": "Fixed", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, @@ -2542,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2586,11 +2658,11 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "Resolved", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2621,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2638,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2650,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2662,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2674,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2686,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2698,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2710,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2720,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2732,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2744,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2756,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2768,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2780,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2791,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2802,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2813,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2826,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2838,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2850,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2864,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2875,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2887,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2899,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2911,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2924,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2937,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2950,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2963,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2976,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2989,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3004,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3016,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3028,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3040,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3053,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3064,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3075,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3086,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3097,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3108,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3120,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3131,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3142,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3152,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.flow.json b/resources/package/model.flow.json index 09db235..0f2de5e 100644 --- a/resources/package/model.flow.json +++ b/resources/package/model.flow.json @@ -14,15 +14,18 @@ "model_plural": "Flows", "model_singular": "Flow", "model_slug": "flow", - "type": "model", + "model_slug_plural": "flows", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_flows", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -57,7 +60,78 @@ "localKey": "team_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the flow.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "flow_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the flow.", + "accessor": "boards", + "related": "Board", + "foreignKey": "flow_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the flow.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "flow_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the flow.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "flow_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the flow.", + "accessor": "projects", + "related": "Project", + "foreignKey": "flow_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the flow.", + "accessor": "releases", + "related": "Release", + "foreignKey": "flow_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the flow.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "flow_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the flow.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "flow_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the flow.", + "accessor": "teams", + "related": "Team", + "foreignKey": "flow_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the flow.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "flow_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -65,11 +139,11 @@ } }, "attributes": { + "flow_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "flow_type": null, "matrix_id": null, "note_id": null, "tag_id": null, @@ -77,14 +151,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, + "canceled_at": null, + "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, + "published_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -108,16 +186,25 @@ "latitude": null, "longitude": null, "active": true, + "canceled": false, + "closed": false, + "completed": false, "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, + "published": false, + "released": false, "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -132,13 +219,9 @@ "avatar": "", "ui": "{}", "assets": "{}", - "backlog": "{}", - "board": "{}", - "flow": "{}", "meta": "{}", "notes": "[]", "options": "{}", - "roadmap": "{}", "sources": "{}" }, "casts": { @@ -146,14 +229,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", + "canceled_at": "datetime", + "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", + "published_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -177,16 +264,25 @@ "latitude": "float", "longitude": "float", "active": "boolean", + "canceled": "boolean", + "closed": "boolean", + "completed": "boolean", "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", + "published": "boolean", + "released": "boolean", "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -201,31 +297,31 @@ "avatar": "string", "ui": "array", "assets": "array", - "backlog": "array", - "board": "array", - "flow": "array", "meta": "array", "notes": "array", "options": "array", - "roadmap": "array", "sources": "array" }, "fillable": [ + "flow_type", "owned_by_id", "parent_id", - "flow_type", "matrix_id", "note_id", "tag_id", "team_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", + "canceled_at", + "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", + "published_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -249,16 +345,25 @@ "latitude", "longitude", "active", + "canceled", + "closed", + "completed", "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", + "published", + "released", "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -273,48 +378,44 @@ "avatar", "ui", "assets", - "backlog", - "board", - "flow", "meta", "options", - "roadmap", "sources" ], "filters": { "builder": null, "ids": [ { - "column": "created_by_id", - "label": "Created by id", + "column": "id", + "label": "ID", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "modified_by_id", - "label": "Modified by id", + "column": "flow_type", + "label": "Flow Type", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "parent_id", - "label": "Parent id", + "column": "created_by_id", + "label": "Created by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "flow_type", - "label": "Flow type", + "column": "modified_by_id", + "label": "Modified by id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { "column": "owned_by_id", @@ -324,6 +425,14 @@ "unsigned": true, "type": "uuid" }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, { "column": "matrix_id", "label": "Matrix id", @@ -367,40 +476,40 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -408,15 +517,15 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, @@ -424,7 +533,23 @@ }, { "column": "postponed_at", - "label": "", + "label": "Postponed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, @@ -432,7 +557,7 @@ }, { "column": "resumed_at", - "label": "", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, @@ -440,7 +565,23 @@ }, { "column": "suspended_at", - "label": "", + "label": "Suspended at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -451,7 +592,31 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "canceled", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "closed", + "label": "Closed", + "icon": "fa-solid fa-xmark", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "completed", + "label": "Completed", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -459,7 +624,15 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -467,7 +640,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -475,7 +648,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -483,7 +656,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -491,7 +664,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -499,7 +672,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -507,7 +688,23 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -515,7 +712,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -523,7 +728,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -531,7 +736,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -543,6 +748,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -620,7 +833,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -628,7 +841,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -636,7 +849,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -644,7 +857,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -652,7 +865,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -660,7 +873,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -668,7 +881,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -676,7 +889,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -841,30 +1054,6 @@ "unsigned": true, "type": "JSON_OBJECT" }, - { - "column": "backlog", - "label": "Backlog", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "JSON_OBJECT" - }, - { - "column": "board", - "label": "Board", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "JSON_OBJECT" - }, - { - "column": "flow", - "label": "Flow", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "JSON_OBJECT" - }, { "column": "meta", "label": "Meta", @@ -889,14 +1078,6 @@ "unsigned": true, "type": "JSON_OBJECT" }, - { - "column": "roadmap", - "label": "Roadmap", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "JSON_OBJECT" - }, { "column": "sources", "label": "Sources", @@ -907,10 +1088,22 @@ } ] }, - "models": { - "Flow": "resources/configurations/playground-matrix/model.flow.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "flow_type", + "label": "Flow Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -939,13 +1132,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "flow_type", - "label": "Flow type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "matrix_id", "label": "Matrix id", @@ -996,22 +1182,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1024,8 +1210,8 @@ "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" @@ -1037,6 +1223,20 @@ "nullable": false, "type": "string" }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "resolved_at", + "label": "Resolved at", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "resumed_at", "label": "Resumed at", @@ -1051,59 +1251,73 @@ "nullable": false, "type": "string" }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1208,80 +1422,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", + "nullable": false, + "type": "boolean" + }, + { + "column": "canceled", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "closed", + "label": "Closed", + "icon": "fa-solid fa-xmark", + "nullable": false, + "type": "boolean" + }, + { + "column": "completed", + "label": "Completed", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": false, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1380,27 +1657,6 @@ "nullable": false, "type": "JSON_OBJECT" }, - { - "column": "backlog", - "label": "Backlog", - "icon": "", - "nullable": false, - "type": "JSON_OBJECT" - }, - { - "column": "board", - "label": "Board", - "icon": "", - "nullable": false, - "type": "JSON_OBJECT" - }, - { - "column": "flow", - "label": "Flow", - "icon": "", - "nullable": false, - "type": "JSON_OBJECT" - }, { "column": "meta", "label": "Meta", @@ -1422,13 +1678,6 @@ "nullable": false, "type": "JSON_OBJECT" }, - { - "column": "roadmap", - "label": "Roadmap", - "icon": "", - "nullable": false, - "type": "JSON_OBJECT" - }, { "column": "sources", "label": "Sources", @@ -1448,9 +1697,21 @@ "with": false }, "ids": { + "flow_type": { + "column": "flow_type", + "label": "Flow Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1465,7 +1726,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1480,7 +1741,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1495,7 +1756,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1505,21 +1766,9 @@ "unsigned": false, "type": "uuid" }, - "flow_type": { - "column": "flow_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -1534,7 +1783,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -1549,7 +1798,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -1564,7 +1813,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -1587,32 +1836,35 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", + "closed_at": { + "column": "closed_at", + "label": "Closed at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "end_at": { - "column": "end_at", - "label": "End at", + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" @@ -1622,16 +1874,18 @@ "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "embargo_at": { - "column": "embargo_at", - "label": "Embargo at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1642,16 +1896,40 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, + "published_at": { + "column": "published_at", + "label": "Published at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, "resumed_at": { "column": "resumed_at", "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1662,10 +1940,33 @@ "label": "Suspended at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" } }, "flags": { @@ -1680,6 +1981,39 @@ "readOnly": false, "type": "boolean" }, + "canceled": { + "column": "canceled", + "label": "Canceled", + "description": "", + "icon": "fa-solid fa-ban text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "closed": { + "column": "closed", + "label": "Closed", + "description": "", + "icon": "fa-solid fa-xmark", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "completed": { + "column": "completed", + "label": "Completed", + "description": "", + "icon": "fa-solid fa-check", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "cron": { "column": "cron", "label": "Cron", @@ -1691,6 +2025,17 @@ "readOnly": false, "type": "boolean" }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "flagged": { "column": "flagged", "label": "Flagged", @@ -1746,6 +2091,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -1757,6 +2113,28 @@ "readOnly": false, "type": "boolean" }, + "published": { + "column": "published", + "label": "Published", + "description": "", + "icon": "fa-solid fa-book", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "released": { + "column": "released", + "label": "Released", + "description": "", + "icon": "fa-solid fa-dove", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "retired": { "column": "retired", "label": "Retired", @@ -1768,6 +2146,17 @@ "readOnly": false, "type": "boolean" }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "suspended": { "column": "suspended", "label": "Suspended", @@ -1792,11 +2181,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1809,6 +2212,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1821,6 +2225,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1833,6 +2238,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -1845,6 +2251,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1857,6 +2264,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1869,6 +2277,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1881,6 +2290,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1891,6 +2301,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1903,6 +2314,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1915,6 +2327,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1927,6 +2340,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1939,6 +2353,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1951,6 +2366,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1962,6 +2378,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1973,6 +2390,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1984,6 +2402,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1997,6 +2416,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2009,6 +2429,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2021,6 +2442,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2035,6 +2457,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2046,6 +2469,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2058,6 +2482,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2070,6 +2495,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2082,6 +2508,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2095,6 +2522,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2108,6 +2536,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2121,6 +2550,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2134,6 +2564,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2147,6 +2578,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2160,6 +2592,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2175,6 +2608,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2187,6 +2621,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2199,6 +2634,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2211,6 +2647,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2224,17 +2661,7 @@ "label": "Assets", "description": "", "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "JSON_OBJECT", - "default": "{}" - }, - "flow": { - "column": "flow", - "label": "Flow", - "description": "", - "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2246,6 +2673,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2257,6 +2685,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -2269,39 +2698,7 @@ "label": "Options", "description": "", "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "JSON_OBJECT", - "default": "{}" - }, - "backlog": { - "column": "backlog", - "label": "Backlog", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "JSON_OBJECT", - "default": "{}" - }, - "board": { - "column": "board", - "label": "Board", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "JSON_OBJECT", - "default": "{}" - }, - "roadmap": { - "column": "roadmap", - "label": "Roadmap", - "description": "", - "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2313,6 +2710,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2323,6 +2721,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.matrix.json b/resources/package/model.matrix.json index d6fd7fb..b88755d 100644 --- a/resources/package/model.matrix.json +++ b/resources/package/model.matrix.json @@ -14,28 +14,23 @@ "model_plural": "Matrices", "model_singular": "Matrix", "model_slug": "matrix", - "type": "model", + "model_slug_plural": "matrices", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_matrices", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", "implements": [], - "HasOne": { - "matrix": { - "comment": "The matrix of the matrix.", - "accessor": "matrix", - "related": "Matrix", - "foreignKey": "id", - "localKey": "matrix_id" - } - }, + "HasOne": [], "HasMany": [], "scopes": { "sort": { @@ -44,25 +39,26 @@ } }, "attributes": { + "matrix_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "matrix_type": null, - "matrix_id": null, "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, + "published_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -90,15 +86,21 @@ "closed": false, "completed": false, "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, + "published": false, + "released": false, "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -123,16 +125,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", + "published_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -160,15 +164,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", + "published": "boolean", + "released": "boolean", "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -189,20 +199,21 @@ "sources": "array" }, "fillable": [ + "matrix_type", "owned_by_id", "parent_id", - "matrix_type", - "matrix_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", + "published_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -230,15 +241,21 @@ "closed", "completed", "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", + "published", + "released", "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -261,21 +278,37 @@ "builder": null, "ids": [ { - "column": "matrix_id", - "label": "Matrix id", + "column": "id", + "label": "ID", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { "column": "matrix_type", - "label": "Matrix type", + "label": "Matrix Type", "icon": "", "nullable": true, "unsigned": true, "type": "string" }, + { + "column": "created_by_id", + "label": "Created by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "modified_by_id", + "label": "Modified by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, { "column": "owned_by_id", "label": "Owned by id", @@ -283,60 +316,76 @@ "nullable": true, "unsigned": true, "type": "uuid" + }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" } ], "dates": [ { - "column": "start_at", - "label": "", + "column": "created_at", + "label": "Created at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_end_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "planned_end_at", + "label": "Planned end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, @@ -344,7 +393,23 @@ }, { "column": "postponed_at", - "label": "", + "label": "Postponed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, @@ -352,7 +417,7 @@ }, { "column": "resumed_at", - "label": "", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, @@ -360,7 +425,23 @@ }, { "column": "suspended_at", - "label": "", + "label": "Suspended at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -371,7 +452,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -379,7 +460,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -387,7 +468,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -395,7 +476,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -403,7 +484,15 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -411,7 +500,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -419,7 +508,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -427,7 +516,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -435,7 +524,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -443,7 +532,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -451,7 +548,23 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -459,7 +572,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -467,7 +588,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -475,7 +596,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -487,6 +608,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -564,7 +693,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -572,7 +701,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -580,7 +709,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -588,7 +717,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -596,7 +725,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -604,7 +733,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -612,7 +741,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -620,7 +749,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -819,10 +948,22 @@ } ] }, - "models": { - "Matrix": "resources/configurations/playground-matrix/model.matrix.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "matrix_type", + "label": "Matrix Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -851,20 +992,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "matrix_type", - "label": "Matrix type", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "matrix_id", - "label": "Matrix id", - "icon": "", - "nullable": false, - "type": "uuid" - }, { "column": "created_at", "label": "Created At", @@ -887,22 +1014,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -915,29 +1042,29 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" @@ -956,59 +1083,73 @@ "nullable": false, "type": "string" }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1113,101 +1254,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": false, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1346,9 +1529,21 @@ "with": false }, "ids": { + "matrix_type": { + "column": "matrix_type", + "label": "Matrix Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1363,7 +1558,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1378,7 +1573,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1393,19 +1588,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "uuid" - }, - "matrix_type": { - "column": "matrix_type", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1413,21 +1596,6 @@ "nullable": true, "readOnly": false, "unsigned": false, - "type": "string" - }, - "matrix_id": { - "column": "matrix_id", - "label": "", - "description": "", - "foreign": { - "references": "id", - "on": "matrix_matrices" - }, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, "type": "uuid" } }, @@ -1440,32 +1608,35 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", + "closed_at": { + "column": "closed_at", + "label": "Closed at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "end_at": { - "column": "end_at", - "label": "End at", + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" @@ -1475,47 +1646,52 @@ "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "canceled_at": { - "column": "canceled_at", - "label": "Canceled at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "closed_at": { - "column": "closed_at", - "label": "Closed at", + "postponed_at": { + "column": "postponed_at", + "label": "Postponed at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "embargo_at": { - "column": "embargo_at", - "label": "Embargo at", + "published_at": { + "column": "published_at", + "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "postponed_at": { - "column": "postponed_at", - "label": "Postponed at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -1525,6 +1701,7 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1535,10 +1712,33 @@ "label": "Suspended at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" } }, "flags": { @@ -1597,6 +1797,17 @@ "readOnly": false, "type": "boolean" }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "flagged": { "column": "flagged", "label": "Flagged", @@ -1652,6 +1863,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -1663,6 +1885,28 @@ "readOnly": false, "type": "boolean" }, + "published": { + "column": "published", + "label": "Published", + "description": "", + "icon": "fa-solid fa-book", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "released": { + "column": "released", + "label": "Released", + "description": "", + "icon": "fa-solid fa-dove", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "retired": { "column": "retired", "label": "Retired", @@ -1674,6 +1918,17 @@ "readOnly": false, "type": "boolean" }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "suspended": { "column": "suspended", "label": "Suspended", @@ -1698,11 +1953,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1715,6 +1984,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1727,6 +1997,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1739,6 +2010,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -1751,6 +2023,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1763,6 +2036,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1775,6 +2049,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1787,6 +2062,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1797,6 +2073,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1809,6 +2086,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1821,6 +2099,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1833,6 +2112,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1845,6 +2125,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1857,6 +2138,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1868,6 +2150,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1879,6 +2162,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1890,6 +2174,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1903,6 +2188,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1915,6 +2201,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1927,6 +2214,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1941,6 +2229,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1952,6 +2241,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1964,6 +2254,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1976,6 +2267,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1988,6 +2280,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2001,6 +2294,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2014,6 +2308,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2027,6 +2322,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2040,6 +2336,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2053,6 +2350,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2066,6 +2364,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2081,6 +2380,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2093,6 +2393,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2105,6 +2406,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2117,6 +2419,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2130,6 +2433,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2141,6 +2445,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2152,6 +2457,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -2164,6 +2470,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2175,6 +2482,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2184,7 +2492,6 @@ } }, "uses": [ - "Illuminate/Database/Eloquent/Relations/HasOne", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.milestone.json b/resources/package/model.milestone.json index 896a74e..640833a 100644 --- a/resources/package/model.milestone.json +++ b/resources/package/model.milestone.json @@ -14,15 +14,18 @@ "model_plural": "Milestones", "model_singular": "Milestone", "model_slug": "milestone", - "type": "model", + "model_slug_plural": "milestones", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_milestones", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the milestone.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the milestone.", + "accessor": "boards", + "related": "Board", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the milestone.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the milestone.", + "accessor": "projects", + "related": "Project", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the milestone.", + "accessor": "releases", + "related": "Release", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the milestone.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the milestone.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the milestone.", + "accessor": "teams", + "related": "Team", + "foreignKey": "milestone_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the milestone.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "milestone_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "milestone_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "milestone_type": null, "backlog_id": null, "board_id": null, "epic_id": null, @@ -165,18 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -204,20 +271,21 @@ "closed": false, "completed": false, "cron": false, - "duplicate": false, - "fixed": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, "retired": false, - "resolved": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -235,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -246,18 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -285,20 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", - "duplicate": "boolean", - "fixed": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", "retired": "boolean", - "resolved": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -316,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -323,9 +394,9 @@ "sources": "array" }, "fillable": [ + "milestone_type", "owned_by_id", "parent_id", - "milestone_type", "backlog_id", "board_id", "epic_id", @@ -341,18 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -380,20 +451,21 @@ "closed", "completed", "cron", - "duplicate", - "fixed", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", "retired", - "resolved", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -411,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -419,6 +492,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "milestone_type", + "label": "Milestone Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -451,14 +540,6 @@ "unsigned": true, "type": "uuid" }, - { - "column": "milestone_type", - "label": "Milestone type", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -508,56 +589,56 @@ "type": "uuid" }, { - "column": "tag_id", - "label": "Tag id", + "column": "project_id", + "label": "Project id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "team_id", - "label": "Team id", + "column": "release_id", + "label": "Release id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "project_id", - "label": "Project id", + "column": "roadmap_id", + "label": "Roadmap id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "release_id", - "label": "Release id", + "column": "source_id", + "label": "Source id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "roadmap_id", - "label": "Roadmap id", + "column": "sprint_id", + "label": "Sprint id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "source_id", - "label": "Source id", + "column": "tag_id", + "label": "Tag id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "sprint_id", - "label": "Sprint id", + "column": "team_id", + "label": "Team id", "icon": "", "nullable": true, "unsigned": true, @@ -591,7 +672,7 @@ }, { "column": "updated_at", - "label": "", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, @@ -599,31 +680,31 @@ }, { "column": "deleted_at", - "label": "", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -631,71 +712,71 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -706,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -714,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -722,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -730,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -738,23 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "boolean" - }, - { - "column": "duplicate", - "label": "Duplicate", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -762,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -770,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -778,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -786,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -794,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -802,7 +883,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -810,7 +891,7 @@ { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -818,7 +899,7 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -826,15 +907,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -842,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -850,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -862,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -939,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -947,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -955,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -963,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -971,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -979,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -987,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -995,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1184,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1226,10 +1323,22 @@ } ] }, - "models": { - "Milestone": "resources/configurations/playground-matrix/model.milestone.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "milestone_type", + "label": "Milestone Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1259,11 +1368,32 @@ "type": "uuid" }, { - "column": "milestone_type", - "label": "Milestone type", + "column": "backlog_id", + "label": "Backlog id", "icon": "", "nullable": false, - "type": "string" + "type": "uuid" + }, + { + "column": "board_id", + "label": "Board id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "epic_id", + "label": "Epic id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "flow_id", + "label": "Flow id", + "icon": "", + "nullable": false, + "type": "uuid" }, { "column": "matrix_id", @@ -1279,6 +1409,41 @@ "nullable": false, "type": "uuid" }, + { + "column": "project_id", + "label": "Project id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "release_id", + "label": "Release id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "roadmap_id", + "label": "Roadmap id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "source_id", + "label": "Source id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "sprint_id", + "label": "Sprint id", + "icon": "", + "nullable": false, + "type": "uuid" + }, { "column": "tag_id", "label": "Tag id", @@ -1293,6 +1458,20 @@ "nullable": false, "type": "uuid" }, + { + "column": "ticket_id", + "label": "Ticket id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "version_id", + "label": "Version id", + "icon": "", + "nullable": false, + "type": "uuid" + }, { "column": "created_at", "label": "Created At", @@ -1315,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1343,57 +1522,57 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" }, { - "column": "published_at", - "label": "Published at", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resumed_at", - "label": "Resumed at", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1401,56 +1580,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1555,136 +1734,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", - "nullable": false, - "type": "boolean" - }, - { - "column": "duplicate", - "label": "Duplicate", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": false, "type": "boolean" }, { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": false, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1804,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1838,83 +2031,6 @@ "icon": "", "nullable": false, "type": "JSON_OBJECT" - }, - { - "column": "backlog_id", - "label": "Backlog id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "board_id", - "label": "Board id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "epic_id", - "label": "Epic id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "flow_id", - "label": "Flow id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "project_id", - "label": "Project id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "release_id", - "label": "Release id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "roadmap_id", - "label": "Roadmap id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "source_id", - "label": "Source id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "sprint_id", - "label": "Sprint id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "ticket_id", - "label": "Ticket id", - "icon": "", - "nullable": false, - "type": "uuid" - }, - { - "column": "version_id", - "label": "Version id", - "icon": "", - "nullable": false, - "type": "uuid" } ], "create": { @@ -1928,9 +2044,21 @@ "with": false }, "ids": { + "milestone_type": { + "column": "milestone_type", + "label": "Milestone Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1945,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1960,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1975,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1985,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "milestone_type": { - "column": "milestone_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -2014,7 +2130,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -2029,7 +2145,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -2044,7 +2160,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -2059,7 +2175,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2074,7 +2190,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2089,7 +2205,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2104,7 +2220,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2119,7 +2235,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2134,7 +2250,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2149,7 +2265,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2164,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2179,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2194,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2209,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2232,51 +2348,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2287,6 +2364,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2297,46 +2375,51 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "postponed_at": { - "column": "postponed_at", - "label": "Postponed at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "published_at": { - "column": "published_at", - "label": "Published at", + "postponed_at": { + "column": "postponed_at", + "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "published_at": { + "column": "published_at", + "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2347,6 +2430,7 @@ "label": "Resolved at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2357,6 +2441,7 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2367,10 +2452,33 @@ "label": "Suspended at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" } }, "flags": { @@ -2429,22 +2537,11 @@ "readOnly": false, "type": "boolean" }, - "duplicate": { - "column": "duplicate", - "label": "Duplicate", - "description": "", - "icon": "fa-solid fa-clone", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, - "fixed": { - "column": "fixed", - "label": "Fixed", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, @@ -2506,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2550,11 +2658,11 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "Resolved", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2585,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2602,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2614,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2626,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2638,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2650,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2662,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2674,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2684,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2696,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2708,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2720,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2732,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2744,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2755,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2766,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2777,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2790,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2802,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2814,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2828,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2839,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2851,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2863,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2875,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2888,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2901,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2914,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2927,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2940,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2953,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2968,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2980,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2992,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3004,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3017,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3028,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3039,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3050,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3061,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3072,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3084,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3095,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3106,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3116,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.note.json b/resources/package/model.note.json index b2f601c..749299f 100644 --- a/resources/package/model.note.json +++ b/resources/package/model.note.json @@ -14,15 +14,18 @@ "model_plural": "Notes", "model_singular": "Note", "model_slug": "note", - "type": "model", + "model_slug_plural": "notes", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_notes", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -43,7 +46,78 @@ "localKey": "tag_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the note.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "note_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the note.", + "accessor": "boards", + "related": "Board", + "foreignKey": "note_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the note.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "note_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the note.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "note_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the note.", + "accessor": "projects", + "related": "Project", + "foreignKey": "note_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the note.", + "accessor": "releases", + "related": "Release", + "foreignKey": "note_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the note.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "note_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the note.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "note_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the note.", + "accessor": "teams", + "related": "Team", + "foreignKey": "note_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the note.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "note_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -51,11 +125,11 @@ } }, "attributes": { + "note_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "note_type": null, "matrix_id": null, "tag_id": null, "created_at": null, @@ -87,13 +161,22 @@ "canceled": false, "closed": false, "completed": false, + "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, + "published": false, + "released": false, + "retired": false, + "special": false, + "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -144,13 +227,22 @@ "canceled": "boolean", "closed": "boolean", "completed": "boolean", + "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", + "published": "boolean", + "released": "boolean", + "retired": "boolean", + "special": "boolean", + "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -171,9 +263,9 @@ "sources": "array" }, "fillable": [ + "note_type", "owned_by_id", "parent_id", - "note_type", "matrix_id", "tag_id", "gids", @@ -202,13 +294,22 @@ "canceled", "closed", "completed", + "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", + "published", + "released", + "retired", + "special", + "suspended", "unknown", + "locale", "label", "title", "byline", @@ -231,36 +332,36 @@ "builder": null, "ids": [ { - "column": "created_by_id", - "label": "Created by id", + "column": "id", + "label": "ID", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "modified_by_id", - "label": "Modified by id", + "column": "note_type", + "label": "Note Type", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "parent_id", - "label": "Parent id", + "column": "created_by_id", + "label": "Created by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "note_type", - "label": "Note type", + "column": "modified_by_id", + "label": "Modified by id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { "column": "owned_by_id", @@ -270,6 +371,14 @@ "unsigned": true, "type": "uuid" }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, { "column": "matrix_id", "label": "Matrix id", @@ -297,16 +406,16 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, @@ -317,7 +426,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -325,7 +434,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -333,7 +442,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -341,7 +450,23 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -349,7 +474,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -357,7 +482,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -365,7 +490,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -373,7 +498,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -381,7 +506,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -389,7 +522,47 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "suspended", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -397,7 +570,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -409,6 +582,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -486,7 +667,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -494,7 +675,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -502,7 +683,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -510,7 +691,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -518,7 +699,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -526,7 +707,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -534,7 +715,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -542,7 +723,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -741,10 +922,22 @@ } ] }, - "models": { - "Note": "resources/configurations/playground-matrix/model.note.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "note_type", + "label": "Note Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -773,13 +966,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "note_type", - "label": "Note type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "matrix_id", "label": "Matrix id", @@ -818,56 +1004,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -972,80 +1158,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", + "nullable": false, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": false, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "suspended", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1184,9 +1433,21 @@ "with": false }, "ids": { + "note_type": { + "column": "note_type", + "label": "Note Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1201,7 +1462,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1216,7 +1477,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1231,7 +1492,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1241,21 +1502,9 @@ "unsigned": false, "type": "uuid" }, - "note_type": { - "column": "note_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -1270,7 +1519,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -1338,6 +1587,28 @@ "readOnly": false, "type": "boolean" }, + "cron": { + "column": "cron", + "label": "Cron", + "description": "", + "icon": "fa-regular fa-clock", + "default": false, + "index": true, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "flagged": { "column": "flagged", "label": "Flagged", @@ -1393,6 +1664,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -1404,6 +1686,61 @@ "readOnly": false, "type": "boolean" }, + "published": { + "column": "published", + "label": "Published", + "description": "", + "icon": "fa-solid fa-book", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "released": { + "column": "released", + "label": "Released", + "description": "", + "icon": "fa-solid fa-dove", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "retired": { + "column": "retired", + "label": "Retired", + "description": "", + "icon": "fa-solid fa-chair text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "suspended": { + "column": "suspended", + "label": "Suspended", + "description": "", + "icon": "fa-solid fa-hand text-danger", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "unknown": { "column": "unknown", "label": "Unknown", @@ -1417,11 +1754,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1434,6 +1785,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1446,6 +1798,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1458,6 +1811,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -1470,6 +1824,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1482,6 +1837,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1494,6 +1850,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1506,6 +1863,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1516,6 +1874,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1528,6 +1887,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1540,6 +1900,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1552,6 +1913,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1564,6 +1926,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1576,6 +1939,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1587,6 +1951,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1598,6 +1963,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1609,6 +1975,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1622,6 +1989,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1634,6 +2002,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1646,6 +2015,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1660,6 +2030,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1671,6 +2042,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1683,6 +2055,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1695,6 +2068,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1707,6 +2081,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1720,6 +2095,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1733,6 +2109,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1746,6 +2123,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1759,6 +2137,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1772,6 +2151,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1785,6 +2165,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1800,6 +2181,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1812,6 +2194,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1824,6 +2207,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1836,6 +2220,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1849,6 +2234,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1860,6 +2246,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1871,6 +2258,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -1883,6 +2271,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1894,6 +2283,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1904,6 +2294,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.project.json b/resources/package/model.project.json index 19ca878..e36d0b1 100644 --- a/resources/package/model.project.json +++ b/resources/package/model.project.json @@ -14,15 +14,18 @@ "model_plural": "Projects", "model_singular": "Project", "model_slug": "project", - "type": "model", + "model_slug_plural": "projects", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_projects", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,106 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the project.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "project_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the project.", + "accessor": "boards", + "related": "Board", + "foreignKey": "project_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the project.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "project_id", + "localKey": "id" + }, + "flows": { + "comment": "The flows of the project.", + "accessor": "flows", + "related": "Flow", + "foreignKey": "project_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the project.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "project_id", + "localKey": "id" + }, + "notes": { + "comment": "The notes of the project.", + "accessor": "notes", + "related": "Note", + "foreignKey": "project_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the project.", + "accessor": "releases", + "related": "Release", + "foreignKey": "project_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the project.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "project_id", + "localKey": "id" + }, + "sources": { + "comment": "The sources of the project.", + "accessor": "sources", + "related": "Source", + "foreignKey": "project_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the project.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "project_id", + "localKey": "id" + }, + "tags": { + "comment": "The tags of the project.", + "accessor": "tags", + "related": "Tag", + "foreignKey": "project_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the project.", + "accessor": "teams", + "related": "Team", + "foreignKey": "project_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the project.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "project_id", + "localKey": "id" + }, + "versions": { + "comment": "The versions of the project.", + "accessor": "versions", + "related": "Version", + "foreignKey": "project_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +244,11 @@ } }, "attributes": { + "project_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "project_type": null, "backlog_id": null, "board_id": null, "epic_id": null, @@ -165,18 +267,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -204,15 +306,24 @@ "closed": false, "completed": false, "cron": false, + "duplicate": false, + "featured": false, + "fixed": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, + "published": false, "released": false, + "resolved": false, + "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -244,18 +355,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -283,15 +394,24 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", + "duplicate": "boolean", + "featured": "boolean", + "fixed": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", + "published": "boolean", "released": "boolean", + "resolved": "boolean", + "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -319,9 +439,9 @@ "sources": "array" }, "fillable": [ + "project_type", "owned_by_id", "parent_id", - "project_type", "backlog_id", "board_id", "epic_id", @@ -337,18 +457,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -376,15 +496,24 @@ "closed", "completed", "cron", + "duplicate", + "featured", + "fixed", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", + "published", "released", + "resolved", + "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -413,6 +542,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "project_type", + "label": "Project Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -445,14 +590,6 @@ "unsigned": true, "type": "uuid" }, - { - "column": "project_type", - "label": "Project type", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -584,40 +721,40 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -625,71 +762,71 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -700,7 +837,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -708,7 +845,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -716,7 +853,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -724,7 +861,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -732,7 +869,31 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "duplicate", + "label": "Duplicate", + "icon": "fa-solid fa-clone", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "fixed", + "label": "Fixed", + "icon": "fa-solid fa-wrench", "nullable": true, "unsigned": true, "type": "boolean" @@ -740,7 +901,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -748,7 +909,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -756,7 +917,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -764,7 +925,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -772,7 +933,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -780,7 +949,15 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -788,7 +965,31 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "resolved", + "label": "Resolved", + "icon": "fa-solid fa-check-double text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -796,7 +997,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -804,7 +1005,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -816,6 +1017,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -909,7 +1118,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -917,7 +1126,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -925,7 +1134,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -933,7 +1142,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -941,7 +1150,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -949,7 +1158,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -957,7 +1166,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -965,7 +1174,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1204,10 +1413,22 @@ } ] }, - "models": { - "Project": "resources/configurations/playground-matrix/model.project.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "project_type", + "label": "Project Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1236,13 +1457,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "project_type", - "label": "Project type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1370,22 +1584,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1398,57 +1612,57 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" }, { - "column": "published_at", - "label": "Published at", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resumed_at", - "label": "Resumed at", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1456,56 +1670,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1610,101 +1824,164 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "duplicate", + "label": "Duplicate", + "icon": "fa-solid fa-clone", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "fixed", + "label": "Fixed", + "icon": "fa-solid fa-wrench", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "resolved", + "label": "Resolved", + "icon": "fa-solid fa-check-double text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1892,9 +2169,21 @@ "with": false }, "ids": { + "project_type": { + "column": "project_type", + "label": "Project Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1909,7 +2198,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1924,7 +2213,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1939,7 +2228,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1949,21 +2238,9 @@ "unsigned": false, "type": "uuid" }, - "project_type": { - "column": "project_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -1978,7 +2255,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -1993,7 +2270,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -2008,7 +2285,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -2023,7 +2300,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2038,7 +2315,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2053,7 +2330,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2068,7 +2345,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2083,7 +2360,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2098,7 +2375,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2113,7 +2390,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2128,7 +2405,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2143,7 +2420,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2158,7 +2435,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2173,7 +2450,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2196,71 +2473,56 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "end_at": { - "column": "end_at", - "label": "End at", + "closed_at": { + "column": "closed_at", + "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "canceled_at": { - "column": "canceled_at", - "label": "Canceled at", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "closed_at": { - "column": "closed_at", - "label": "Closed at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "embargo_at": { - "column": "embargo_at", - "label": "Embargo at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2271,6 +2533,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2281,17 +2544,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2301,27 +2566,41 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "resolved_at": { - "column": "resolved_at", - "label": "", + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "suspended_at": { - "column": "suspended_at", - "label": "Suspended at", + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2385,7 +2664,7 @@ }, "duplicate": { "column": "duplicate", - "label": "", + "label": "Duplicate", "description": "", "icon": "fa-solid fa-clone", "default": false, @@ -2394,9 +2673,20 @@ "readOnly": false, "type": "boolean" }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "fixed": { "column": "fixed", - "label": "", + "label": "Fixed", "description": "", "icon": "fa-solid fa-wrench", "default": false, @@ -2460,6 +2750,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2473,7 +2774,7 @@ }, "published": { "column": "published", - "label": "", + "label": "Published", "description": "", "icon": "fa-solid fa-book", "default": false, @@ -2493,9 +2794,20 @@ "readOnly": false, "type": "boolean" }, + "resolved": { + "column": "resolved", + "label": "Resolved", + "description": "", + "icon": "fa-solid fa-check-double text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "retired": { "column": "retired", - "label": "", + "label": "Retired", "description": "", "icon": "fa-solid fa-chair text-success", "default": false, @@ -2504,11 +2816,11 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2539,11 +2851,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2556,6 +2882,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2568,6 +2895,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2580,6 +2908,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2592,6 +2921,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2604,6 +2934,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2616,6 +2947,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2628,6 +2960,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2638,6 +2971,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2645,27 +2979,27 @@ }, "key": { "column": "key", - "label": "Project Key", + "label": "Key", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "string", - "size": 32, - "default": null + "size": 32 }, "code_name": { "column": "code_name", - "label": "Code Name", + "label": "Code name", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "string", - "size": 128, - "default": null + "size": 128 } }, "permissions": { @@ -2674,6 +3008,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2686,6 +3021,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2698,6 +3034,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2710,6 +3047,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2722,6 +3060,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2733,6 +3072,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2744,6 +3084,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2755,6 +3096,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2768,6 +3110,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2780,6 +3123,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2792,6 +3136,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2806,6 +3151,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2817,6 +3163,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2829,6 +3176,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2841,6 +3189,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2853,6 +3202,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2866,6 +3216,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2879,6 +3230,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2892,6 +3244,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2905,6 +3258,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2918,6 +3272,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2931,6 +3286,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2946,6 +3302,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2958,6 +3315,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2970,6 +3328,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2982,6 +3341,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2995,6 +3355,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3006,6 +3367,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3017,6 +3379,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3028,6 +3391,7 @@ "label": "Flow", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3039,6 +3403,7 @@ "label": "History", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3050,6 +3415,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3061,6 +3427,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3073,6 +3440,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3084,6 +3452,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3095,6 +3464,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3105,6 +3475,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.release.json b/resources/package/model.release.json index 4b3bf52..98a3d89 100644 --- a/resources/package/model.release.json +++ b/resources/package/model.release.json @@ -14,15 +14,18 @@ "model_plural": "Releases", "model_singular": "Release", "model_slug": "release", - "type": "model", + "model_slug_plural": "releases", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_releases", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the release.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "release_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the release.", + "accessor": "boards", + "related": "Board", + "foreignKey": "release_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the release.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "release_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the release.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "release_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the release.", + "accessor": "projects", + "related": "Project", + "foreignKey": "release_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the release.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "release_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the release.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "release_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the release.", + "accessor": "teams", + "related": "Team", + "foreignKey": "release_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the release.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "release_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "release_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "release_type": null, "backlog_id": null, "board_id": null, "epic_id": null, @@ -165,18 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -204,16 +271,21 @@ "closed": false, "completed": false, "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, + "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -231,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -242,18 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -281,16 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", + "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -308,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -315,9 +394,9 @@ "sources": "array" }, "fillable": [ + "release_type", "owned_by_id", "parent_id", - "release_type", "backlog_id", "board_id", "epic_id", @@ -333,18 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -372,16 +451,21 @@ "closed", "completed", "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", + "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -399,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -407,6 +492,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "release_type", + "label": "Release Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -424,20 +525,20 @@ "type": "uuid" }, { - "column": "parent_id", - "label": "Parent id", + "column": "owned_by_id", + "label": "Owned by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "release_type", - "label": "Release type", + "column": "parent_id", + "label": "Parent id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { "column": "backlog_id", @@ -463,14 +564,6 @@ "unsigned": true, "type": "uuid" }, - { - "column": "owned_by_id", - "label": "Owned by id", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "uuid" - }, { "column": "flow_id", "label": "Flow id", @@ -578,40 +671,40 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -619,71 +712,71 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -694,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -702,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -710,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -718,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -726,7 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -734,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -742,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -750,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -758,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -766,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -774,7 +883,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -783,14 +892,30 @@ "column": "published", "label": "Published", "icon": "fa-solid fa-book", - "nullable": false, + "nullable": true, "unsigned": true, - "type": "string" + "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -798,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -806,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -818,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -895,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -903,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -911,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -919,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -927,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -935,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -943,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -951,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1140,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1182,10 +1323,22 @@ } ] }, - "models": { - "Release": "resources/configurations/playground-matrix/model.release.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "release_type", + "label": "Release Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1214,13 +1367,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "release_type", - "label": "Release type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1348,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1376,57 +1522,57 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" }, { - "column": "published_at", - "label": "Published at", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resumed_at", - "label": "Resumed at", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1434,56 +1580,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1588,108 +1734,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1809,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1856,9 +2044,21 @@ "with": false }, "ids": { + "release_type": { + "column": "release_type", + "label": "Release Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1873,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1888,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1903,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1913,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "release_type": { - "column": "release_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -1942,7 +2130,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -1957,7 +2145,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -1972,7 +2160,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -1987,7 +2175,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2002,7 +2190,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2017,7 +2205,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2032,7 +2220,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2047,7 +2235,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2062,7 +2250,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2077,7 +2265,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2092,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2107,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2122,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2137,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2160,51 +2348,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2215,6 +2364,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2225,46 +2375,51 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "Fixed at", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "postponed_at": { - "column": "postponed_at", - "label": "Postponed at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "published_at": { - "column": "published_at", - "label": "Published at", + "postponed_at": { + "column": "postponed_at", + "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "published_at": { + "column": "published_at", + "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2275,7 +2430,8 @@ "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2285,6 +2441,7 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2295,10 +2452,33 @@ "label": "Suspended at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" } }, "flags": { @@ -2357,22 +2537,22 @@ "readOnly": false, "type": "boolean" }, - "flagged": { - "column": "flagged", - "label": "Flagged", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-flag", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, "readOnly": false, "type": "boolean" }, - "fixed": { - "column": "fixed", - "label": "Fixed", + "flagged": { + "column": "flagged", + "label": "Flagged", "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-flag", "default": false, "index": false, "nullable": false, @@ -2423,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2456,22 +2647,22 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "Resolved", + "retired": { + "column": "retired", + "label": "Retired", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-chair text-success", "default": false, "index": false, "nullable": false, "readOnly": false, "type": "boolean" }, - "retired": { - "column": "retired", - "label": "Released", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-chair text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2502,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2519,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2531,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2543,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2555,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2567,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2579,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2591,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2601,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2613,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2625,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2637,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2649,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2661,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2672,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2683,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2694,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2707,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2719,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2731,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2745,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2756,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2768,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2780,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2792,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2805,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2818,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2831,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2844,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2857,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2870,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2885,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2897,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2909,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2921,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2934,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2945,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2956,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2967,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2978,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2989,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3001,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3012,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3023,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3033,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.roadmap.json b/resources/package/model.roadmap.json index b8a75f1..67e0ada 100644 --- a/resources/package/model.roadmap.json +++ b/resources/package/model.roadmap.json @@ -14,15 +14,18 @@ "model_plural": "Roadmaps", "model_singular": "Roadmap", "model_slug": "roadmap", - "type": "model", + "model_slug_plural": "roadmaps", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_roadmaps", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the roadmap.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the roadmap.", + "accessor": "boards", + "related": "Board", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the roadmap.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the roadmap.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the roadmap.", + "accessor": "projects", + "related": "Project", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the roadmap.", + "accessor": "releases", + "related": "Release", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the roadmap.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the roadmap.", + "accessor": "teams", + "related": "Team", + "foreignKey": "roadmap_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the roadmap.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "roadmap_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "roadmap_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "roadmap_type": null, "backlog_id": null, "board_id": null, "epic_id": null, @@ -165,18 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -204,16 +271,21 @@ "closed": false, "completed": false, "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, + "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -231,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -242,18 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -281,16 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", + "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -308,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -315,9 +394,9 @@ "sources": "array" }, "fillable": [ + "roadmap_type", "owned_by_id", "parent_id", - "roadmap_type", "backlog_id", "board_id", "epic_id", @@ -333,18 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -372,16 +451,21 @@ "closed", "completed", "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", + "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -399,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -407,6 +492,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "roadmap_type", + "label": "Roadmap Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -439,14 +540,6 @@ "unsigned": true, "type": "uuid" }, - { - "column": "roadmap_type", - "label": "Roadmap type", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -578,40 +671,40 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -619,71 +712,71 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -694,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -702,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -710,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -718,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -726,7 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -734,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -742,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -750,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -758,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -766,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -774,7 +883,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -782,7 +891,7 @@ { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -790,7 +899,23 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -798,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -806,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -818,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -895,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -903,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -911,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -919,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -927,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -935,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -943,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -951,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1140,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1182,10 +1323,22 @@ } ] }, - "models": { - "Roadmap": "resources/configurations/playground-matrix/model.roadmap.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "roadmap_type", + "label": "Roadmap Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1214,13 +1367,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "roadmap_type", - "label": "Roadmap type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1348,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1376,57 +1522,57 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" }, { - "column": "published_at", - "label": "Published at", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resumed_at", - "label": "Resumed at", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1434,56 +1580,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1588,108 +1734,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1809,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1856,9 +2044,21 @@ "with": false }, "ids": { + "roadmap_type": { + "column": "roadmap_type", + "label": "Roadmap Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1873,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1888,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1903,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1913,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "roadmap_type": { - "column": "roadmap_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -1942,7 +2130,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -1957,7 +2145,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -1972,7 +2160,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -1987,7 +2175,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2002,7 +2190,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2017,7 +2205,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2032,7 +2220,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2047,7 +2235,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2062,7 +2250,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2077,7 +2265,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2092,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2107,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2122,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2137,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2160,71 +2348,56 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "end_at": { - "column": "end_at", - "label": "End at", + "closed_at": { + "column": "closed_at", + "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "canceled_at": { - "column": "canceled_at", - "label": "Canceled at", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "closed_at": { - "column": "closed_at", - "label": "Closed at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "embargo_at": { - "column": "embargo_at", - "label": "Embargo at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2235,6 +2408,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2245,17 +2419,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2265,6 +2441,7 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2275,10 +2452,33 @@ "label": "Suspended at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" } }, "flags": { @@ -2337,6 +2537,17 @@ "readOnly": false, "type": "boolean" }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "flagged": { "column": "flagged", "label": "Flagged", @@ -2392,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2425,11 +2647,22 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "", + "retired": { + "column": "retired", + "label": "Retired", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-chair text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2460,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2477,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2489,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2501,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2513,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2525,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2537,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2549,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2559,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2571,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2583,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2595,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2607,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2619,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2630,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2641,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2652,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2665,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2677,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2689,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2703,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2714,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2726,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2738,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2750,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2763,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2776,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2789,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2802,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2815,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2828,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2843,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2855,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2867,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2879,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2892,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2903,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2914,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2925,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2936,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2947,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -2959,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2970,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2981,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2991,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.source.json b/resources/package/model.source.json index 475dcbc..c70a671 100644 --- a/resources/package/model.source.json +++ b/resources/package/model.source.json @@ -14,15 +14,18 @@ "model_plural": "Sources", "model_singular": "Source", "model_slug": "source", - "type": "model", + "model_slug_plural": "sources", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_sources", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -35,6 +38,13 @@ "foreignKey": "id", "localKey": "matrix_id" }, + "note": { + "comment": "The note of the source.", + "accessor": "note", + "related": "Note", + "foreignKey": "id", + "localKey": "note_id" + }, "tag": { "comment": "The tag of the source.", "accessor": "tag", @@ -50,7 +60,78 @@ "localKey": "team_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the source.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "source_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the source.", + "accessor": "boards", + "related": "Board", + "foreignKey": "source_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the source.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "source_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the source.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "source_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the source.", + "accessor": "projects", + "related": "Project", + "foreignKey": "source_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the source.", + "accessor": "releases", + "related": "Release", + "foreignKey": "source_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the source.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "source_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the source.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "source_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the source.", + "accessor": "teams", + "related": "Team", + "foreignKey": "source_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the source.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "source_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -58,29 +139,30 @@ } }, "attributes": { + "source_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "source_type": null, "matrix_id": null, + "note_id": null, "tag_id": null, "team_id": null, "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -108,16 +190,21 @@ "closed": false, "completed": false, "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, + "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -142,18 +229,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -181,16 +268,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", + "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -211,24 +303,25 @@ "sources": "array" }, "fillable": [ + "source_type", "owned_by_id", "parent_id", - "source_type", "matrix_id", + "note_id", "tag_id", "team_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -256,16 +349,21 @@ "closed", "completed", "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", + "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -287,6 +385,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "source_type", + "label": "Source Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -304,32 +418,32 @@ "type": "uuid" }, { - "column": "parent_id", - "label": "Parent id", + "column": "owned_by_id", + "label": "Owned by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "source_type", - "label": "Source type", + "column": "parent_id", + "label": "Parent id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { - "column": "owned_by_id", - "label": "Owned by id", + "column": "matrix_id", + "label": "Matrix id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "matrix_id", - "label": "Matrix id", + "column": "note_id", + "label": "Note id", "icon": "", "nullable": true, "unsigned": true, @@ -362,40 +476,40 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -403,71 +517,71 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -478,7 +592,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -486,7 +600,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -494,7 +608,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -502,7 +616,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -510,7 +624,15 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -518,7 +640,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -526,7 +648,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -534,7 +656,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -542,7 +664,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -550,7 +672,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -558,7 +688,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -566,7 +696,7 @@ { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -574,7 +704,23 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -582,7 +728,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -590,7 +736,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -602,6 +748,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -679,7 +833,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -687,7 +841,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -695,7 +849,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -703,7 +857,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -711,7 +865,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -719,7 +873,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -727,7 +881,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -735,7 +889,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -934,10 +1088,22 @@ } ] }, - "models": { - "Source": "resources/configurations/playground-matrix/model.source.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "source_type", + "label": "Source Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -967,15 +1133,15 @@ "type": "uuid" }, { - "column": "source_type", - "label": "Source type", + "column": "matrix_id", + "label": "Matrix id", "icon": "", "nullable": false, - "type": "string" + "type": "uuid" }, { - "column": "matrix_id", - "label": "Matrix id", + "column": "note_id", + "label": "Note id", "icon": "", "nullable": false, "type": "uuid" @@ -1016,22 +1182,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1044,57 +1210,57 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" }, { - "column": "published_at", - "label": "Published at", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "resumed_at", - "label": "Resumed at", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1102,56 +1268,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1256,108 +1422,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1496,9 +1697,21 @@ "with": false }, "ids": { + "source_type": { + "column": "source_type", + "label": "Source Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1513,7 +1726,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1528,7 +1741,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1543,7 +1756,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1553,25 +1766,28 @@ "unsigned": false, "type": "uuid" }, - "source_type": { - "column": "source_type", - "label": "", + "matrix_id": { + "column": "matrix_id", + "label": "Matrix id", "description": "", - "foreign": null, + "foreign": { + "references": "id", + "on": "matrix_matrices" + }, "icon": "", "index": true, "nullable": true, "readOnly": false, "unsigned": false, - "type": "string" + "type": "uuid" }, - "matrix_id": { - "column": "matrix_id", - "label": "", + "note_id": { + "column": "note_id", + "label": "Note id", "description": "", "foreign": { "references": "id", - "on": "matrix_matrices" + "on": "matrix_notes" }, "icon": "", "index": true, @@ -1582,7 +1798,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -1597,7 +1813,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -1620,51 +1836,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1675,6 +1852,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -1685,16 +1863,29 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1705,6 +1896,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1715,17 +1907,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -1735,27 +1929,41 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "resolved_at": { - "column": "resolved_at", - "label": "", + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "suspended_at": { - "column": "suspended_at", - "label": "Suspended at", + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -1817,22 +2025,11 @@ "readOnly": false, "type": "boolean" }, - "duplicate": { - "column": "duplicate", - "label": "", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-clone", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, - "fixed": { - "column": "fixed", - "label": "", - "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, @@ -1894,6 +2091,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -1929,7 +2137,7 @@ }, "retired": { "column": "retired", - "label": "", + "label": "Retired", "description": "", "icon": "fa-solid fa-chair text-success", "default": false, @@ -1938,11 +2146,11 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -1973,11 +2181,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1990,6 +2212,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2002,6 +2225,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2014,6 +2238,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2026,6 +2251,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2038,6 +2264,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2050,6 +2277,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2062,6 +2290,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2072,6 +2301,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2084,6 +2314,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2096,6 +2327,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2108,6 +2340,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2120,6 +2353,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2132,6 +2366,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2143,6 +2378,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2154,6 +2390,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2165,6 +2402,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2178,6 +2416,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2190,6 +2429,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2202,6 +2442,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2216,6 +2457,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2227,6 +2469,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2239,6 +2482,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2251,6 +2495,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2263,6 +2508,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2276,6 +2522,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2289,6 +2536,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2302,6 +2550,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2315,6 +2564,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2328,6 +2578,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2341,6 +2592,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2356,6 +2608,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2368,6 +2621,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2380,6 +2634,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2392,6 +2647,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2405,6 +2661,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2416,6 +2673,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2427,6 +2685,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -2439,6 +2698,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2450,6 +2710,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2460,6 +2721,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.sprint.json b/resources/package/model.sprint.json index f0d1c5e..3c456c2 100644 --- a/resources/package/model.sprint.json +++ b/resources/package/model.sprint.json @@ -14,15 +14,18 @@ "model_plural": "Sprints", "model_singular": "Sprint", "model_slug": "sprint", - "type": "model", + "model_slug_plural": "sprints", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_sprints", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the sprint.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the sprint.", + "accessor": "boards", + "related": "Board", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the sprint.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the sprint.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the sprint.", + "accessor": "projects", + "related": "Project", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the sprint.", + "accessor": "releases", + "related": "Release", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the sprint.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the sprint.", + "accessor": "teams", + "related": "Team", + "foreignKey": "sprint_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the sprint.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "sprint_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "sprint_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "sprint_type": null, "backlog_id": null, "board_id": null, "epic_id": null, @@ -165,20 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, - "fixed_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, "published_at": null, - "released_at": null, - "resumed_at": null, "resolved_at": null, + "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -206,20 +271,21 @@ "closed": false, "completed": false, "cron": false, - "duplicate": false, - "fixed": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, "published": false, "released": false, "retired": false, - "resolved": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -237,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -248,20 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", - "fixed_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", "published_at": "datetime", - "released_at": "datetime", - "resumed_at": "datetime", "resolved_at": "datetime", + "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -289,20 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", - "duplicate": "boolean", - "fixed": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", "published": "boolean", "released": "boolean", "retired": "boolean", - "resolved": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -320,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -327,9 +394,9 @@ "sources": "array" }, "fillable": [ + "sprint_type", "owned_by_id", "parent_id", - "sprint_type", "backlog_id", "board_id", "epic_id", @@ -345,20 +412,18 @@ "team_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", - "fixed_at", + "planned_end_at", + "planned_start_at", "postponed_at", "published_at", - "released_at", - "resumed_at", "resolved_at", + "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -386,20 +451,21 @@ "closed", "completed", "cron", - "duplicate", - "fixed", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", "published", "released", "retired", - "resolved", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -417,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -425,6 +492,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "sprint_type", + "label": "Sprint Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -457,14 +540,6 @@ "unsigned": true, "type": "uuid" }, - { - "column": "sprint_type", - "label": "Sprint type", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -595,14 +670,6 @@ "unsigned": true, "type": "datetime" }, - { - "column": "deleted_at", - "label": "Deleted at", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, { "column": "updated_at", "label": "Updated at", @@ -612,112 +679,104 @@ "type": "datetime" }, { - "column": "start_at", - "label": "", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "datetime" - }, - { - "column": "planned_start_at", - "label": "", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_end_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "planned_end_at", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "fixed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "published_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "released_at", - "label": "", + "column": "resumed_at", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resumed_at", - "label": "", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "resolved_at", - "label": "", + "column": "timer_end_at", + "label": "Timer end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "suspended_at", - "label": "", + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -728,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -736,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -744,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -752,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -760,23 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "boolean" - }, - { - "column": "duplicate", - "label": "Duplicate", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -784,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -792,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -800,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -808,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -816,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -824,7 +883,7 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -832,7 +891,7 @@ { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": true, "unsigned": true, "type": "boolean" @@ -840,7 +899,7 @@ { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -848,15 +907,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": true, "unsigned": true, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -864,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -872,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -884,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -961,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -969,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -977,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -985,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -993,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -1001,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -1009,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -1017,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1206,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1248,10 +1323,22 @@ } ] }, - "models": { - "Sprint": "resources/configurations/playground-matrix/model.sprint.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "sprint_type", + "label": "Sprint Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1280,13 +1367,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "sprint_type", - "label": "Sprint type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1414,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1442,29 +1522,8 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "closed_at", - "label": "Closed at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "embargo_at", - "label": "Embargo at", - "icon": "", - "nullable": false, - "type": "string" - }, - { - "column": "fixed_at", - "label": "Fixed at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" @@ -1484,8 +1543,8 @@ "type": "string" }, { - "column": "released_at", - "label": "Released at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" @@ -1498,15 +1557,22 @@ "type": "string" }, { - "column": "resolved_at", - "label": "Resolved at", + "column": "suspended_at", + "label": "Suspended at", "icon": "", "nullable": false, "type": "string" }, { - "column": "suspended_at", - "label": "Suspended at", + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": false, "type": "string" @@ -1514,56 +1580,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1668,136 +1734,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", "nullable": false, "type": "boolean" }, { - "column": "duplicate", - "label": "Duplicate", - "icon": "", - "nullable": false, - "type": "boolean" - }, - { - "column": "fixed", - "label": "Fixed", - "icon": "", + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", "nullable": false, "type": "boolean" }, { "column": "published", "label": "Published", - "icon": "", + "icon": "fa-solid fa-book", "nullable": false, "type": "boolean" }, { "column": "released", "label": "Released", - "icon": "", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", "nullable": false, "type": "boolean" }, { - "column": "resolved", - "label": "Resolved", - "icon": "", + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1917,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1964,9 +2044,21 @@ "with": false }, "ids": { + "sprint_type": { + "column": "sprint_type", + "label": "Sprint Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1981,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1996,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -2011,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -2021,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "sprint_type": { - "column": "sprint_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -2050,7 +2130,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -2065,7 +2145,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -2080,7 +2160,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -2095,7 +2175,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -2110,7 +2190,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -2125,7 +2205,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -2140,7 +2220,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -2155,7 +2235,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2170,7 +2250,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2185,7 +2265,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2200,7 +2280,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2215,7 +2295,7 @@ }, "team_id": { "column": "team_id", - "label": "", + "label": "Team id", "description": "", "foreign": { "references": "id", @@ -2230,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2245,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2268,51 +2348,12 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "end_at": { - "column": "end_at", - "label": "End at", - "description": "", - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, - "planned_end_at": { - "column": "planned_end_at", - "label": "Planned end at", - "description": "", - "icon": "", - "index": false, - "nullable": true, - "readOnly": false, - "type": "dateTime" - }, "canceled_at": { "column": "canceled_at", "label": "Canceled at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2323,6 +2364,7 @@ "label": "Closed at", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2333,16 +2375,29 @@ "label": "Embargo at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "fixed_at": { - "column": "fixed_at", - "label": "Fixed at", + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2353,6 +2408,7 @@ "label": "Postponed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2363,17 +2419,19 @@ "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "released_at": { - "column": "released_at", - "label": "Released at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2383,27 +2441,41 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "resolved_at": { - "column": "resolved_at", - "label": "Resolved at", + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "suspended_at": { - "column": "suspended_at", - "label": "Suspended at", + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2465,22 +2537,11 @@ "readOnly": false, "type": "boolean" }, - "duplicate": { - "column": "duplicate", - "label": "Duplicate", + "featured": { + "column": "featured", + "label": "Featured", "description": "", - "icon": "fa-solid fa-clone", - "default": false, - "index": false, - "nullable": false, - "readOnly": false, - "type": "boolean" - }, - "fixed": { - "column": "fixed", - "label": "Fixed", - "description": "", - "icon": "fa-solid fa-wrench", + "icon": "fa-solid fa-star text-warning", "default": false, "index": false, "nullable": false, @@ -2542,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2586,11 +2658,11 @@ "readOnly": false, "type": "boolean" }, - "resolved": { - "column": "resolved", - "label": "Resolved", + "special": { + "column": "special", + "label": "Special", "description": "", - "icon": "fa-solid fa-check-double text-success", + "icon": "fa-solid fa-star text-success", "default": false, "index": false, "nullable": false, @@ -2621,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2638,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2650,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2662,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2674,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2686,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2698,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2710,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2720,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2732,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2744,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2756,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2768,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2780,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2791,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2802,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2813,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2826,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2838,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2850,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2864,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2875,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2887,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2899,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2911,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2924,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2937,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2950,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2963,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2976,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2989,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3004,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3016,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3028,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -3040,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3053,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3064,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3075,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3086,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3097,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3108,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -3120,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3131,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3142,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -3152,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.tag.json b/resources/package/model.tag.json index 01fa5d9..47a0fde 100644 --- a/resources/package/model.tag.json +++ b/resources/package/model.tag.json @@ -14,15 +14,18 @@ "model_plural": "Tags", "model_singular": "Tag", "model_slug": "tag", - "type": "model", + "model_slug_plural": "tags", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_tags", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -36,7 +39,78 @@ "localKey": "matrix_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the tag.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "tag_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the tag.", + "accessor": "boards", + "related": "Board", + "foreignKey": "tag_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the tag.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "tag_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the tag.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "tag_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the tag.", + "accessor": "projects", + "related": "Project", + "foreignKey": "tag_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the tag.", + "accessor": "releases", + "related": "Release", + "foreignKey": "tag_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the tag.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "tag_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the tag.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "tag_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the tag.", + "accessor": "teams", + "related": "Team", + "foreignKey": "tag_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the tag.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "tag_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -44,11 +118,11 @@ } }, "attributes": { + "tag_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "tag_type": null, "matrix_id": null, "created_at": null, "updated_at": null, @@ -76,11 +150,15 @@ "latitude": null, "longitude": null, "active": true, + "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "retired": false, + "special": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -128,11 +206,15 @@ "latitude": "float", "longitude": "float", "active": "boolean", + "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "retired": "boolean", + "special": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -153,9 +235,9 @@ "sources": "array" }, "fillable": [ + "tag_type", "owned_by_id", "parent_id", - "tag_type", "matrix_id", "gids", "po", @@ -180,11 +262,15 @@ "latitude", "longitude", "active", + "cron", + "featured", "flagged", "internal", "locked", "retired", + "special", "unknown", + "locale", "label", "title", "byline", @@ -207,48 +293,56 @@ "builder": null, "ids": [ { - "column": "created_by_id", - "label": "Created by id", + "column": "id", + "label": "ID", "icon": "", "nullable": true, "unsigned": true, - "type": "uuid" + "type": "string" }, { - "column": "modified_by_id", - "label": "Modified by id", + "column": "tag_type", + "label": "Tag Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "created_by_id", + "label": "Created by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "parent_id", - "label": "Parent id", + "column": "modified_by_id", + "label": "Modified by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "matrix_id", - "label": "Matrix id", + "column": "owned_by_id", + "label": "Owned by id", "icon": "", "nullable": true, "unsigned": true, "type": "uuid" }, { - "column": "tag_type", - "label": "Tag type", + "column": "parent_id", + "label": "Parent id", "icon": "", "nullable": true, "unsigned": true, - "type": "string" + "type": "uuid" }, { - "column": "owned_by_id", - "label": "Owned by id", + "column": "matrix_id", + "label": "Matrix id", "icon": "", "nullable": true, "unsigned": true, @@ -265,16 +359,16 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, @@ -285,7 +379,23 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -293,7 +403,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -301,7 +411,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -309,7 +419,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -317,7 +427,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -325,7 +443,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -337,6 +455,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -414,7 +540,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -422,7 +548,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -430,7 +556,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -438,7 +564,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -446,7 +572,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -454,7 +580,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -462,7 +588,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -470,7 +596,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -669,10 +795,22 @@ } ] }, - "models": { - "Tag": "resources/configurations/playground-matrix/model.tag.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "tag_type", + "label": "Tag Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -701,13 +839,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "tag_type", - "label": "Tag type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "matrix_id", "label": "Matrix id", @@ -739,56 +870,56 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -893,45 +1024,73 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", + "nullable": false, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1070,9 +1229,21 @@ "with": false }, "ids": { + "tag_type": { + "column": "tag_type", + "label": "Tag Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1087,7 +1258,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1102,7 +1273,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1117,7 +1288,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1127,21 +1298,9 @@ "unsigned": false, "type": "uuid" }, - "tag_type": { - "column": "tag_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -1176,6 +1335,28 @@ "readOnly": false, "type": "boolean" }, + "cron": { + "column": "cron", + "label": "Cron", + "description": "", + "icon": "fa-regular fa-clock", + "default": false, + "index": true, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "flagged": { "column": "flagged", "label": "Flagged", @@ -1220,6 +1401,17 @@ "readOnly": false, "type": "boolean" }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "unknown": { "column": "unknown", "label": "Unknown", @@ -1233,11 +1425,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1250,6 +1456,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1262,6 +1469,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1274,6 +1482,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -1286,6 +1495,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1298,6 +1508,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1310,6 +1521,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1322,6 +1534,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1332,6 +1545,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -1344,6 +1558,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1356,6 +1571,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1368,6 +1584,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1380,6 +1597,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1392,6 +1610,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1403,6 +1622,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1414,6 +1634,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1425,6 +1646,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1438,6 +1660,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1450,6 +1673,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1462,6 +1686,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1476,6 +1701,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1487,6 +1713,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1499,6 +1726,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1511,6 +1739,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1523,6 +1752,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1536,6 +1766,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1549,6 +1780,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1562,6 +1794,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1575,6 +1808,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1588,6 +1822,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1601,6 +1836,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1616,6 +1852,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1628,6 +1865,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1640,6 +1878,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -1652,6 +1891,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1665,6 +1905,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1676,6 +1917,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1687,6 +1929,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -1699,6 +1942,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1710,6 +1954,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -1720,6 +1965,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.team.json b/resources/package/model.team.json index 99480ed..e43af53 100644 --- a/resources/package/model.team.json +++ b/resources/package/model.team.json @@ -14,15 +14,18 @@ "model_plural": "Teams", "model_singular": "Team", "model_slug": "team", - "type": "model", + "model_slug_plural": "teams", + "recipe": "matrix", + "type": "playground-model", "table": "matrix_teams", "perPage": null, "controller": true, "factory": true, "migration": true, "playground": true, - "policy": false, - "requests": false, + "policy": true, + "requests": true, + "revision": false, "seed": true, "test": true, "extends": "Model", @@ -134,7 +137,71 @@ "localKey": "version_id" } }, - "HasMany": [], + "HasMany": { + "backlogs": { + "comment": "The backlogs of the team.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "team_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the team.", + "accessor": "boards", + "related": "Board", + "foreignKey": "team_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the team.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "team_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the team.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "team_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the team.", + "accessor": "projects", + "related": "Project", + "foreignKey": "team_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the team.", + "accessor": "releases", + "related": "Release", + "foreignKey": "team_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the team.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "team_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the team.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "team_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the team.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "team_id", + "localKey": "id" + } + }, "scopes": { "sort": { "include": "minus", @@ -142,11 +209,11 @@ } }, "attributes": { + "team_type": null, "created_by_id": null, "modified_by_id": null, "owned_by_id": null, "parent_id": null, - "team_type": null, "backlog_id": null, "board_id": null, "epic_id": null, @@ -165,16 +232,18 @@ "created_at": null, "updated_at": null, "deleted_at": null, - "start_at": null, - "planned_start_at": null, - "end_at": null, - "planned_end_at": null, "canceled_at": null, "closed_at": null, "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, "postponed_at": null, + "published_at": null, + "resolved_at": null, "resumed_at": null, "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, "gids": 0, "po": 0, "pg": 0, @@ -202,15 +271,21 @@ "closed": false, "completed": false, "cron": false, + "featured": false, "flagged": false, "internal": false, "locked": false, "pending": false, "planned": false, + "prioritized": false, "problem": false, + "published": false, + "released": false, "retired": false, + "special": false, "suspended": false, "unknown": false, + "locale": "", "label": "", "title": "", "byline": "", @@ -228,6 +303,7 @@ "backlog": "{}", "board": "{}", "flow": "{}", + "history": "{}", "meta": "{}", "notes": "[]", "options": "{}", @@ -239,16 +315,18 @@ "created_at": "datetime", "updated_at": "datetime", "deleted_at": "datetime", - "start_at": "datetime", - "planned_start_at": "datetime", - "end_at": "datetime", - "planned_end_at": "datetime", "canceled_at": "datetime", "closed_at": "datetime", "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", "postponed_at": "datetime", + "published_at": "datetime", + "resolved_at": "datetime", "resumed_at": "datetime", "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", "gids": "integer", "po": "integer", "pg": "integer", @@ -276,15 +354,21 @@ "closed": "boolean", "completed": "boolean", "cron": "boolean", + "featured": "boolean", "flagged": "boolean", "internal": "boolean", "locked": "boolean", "pending": "boolean", "planned": "boolean", + "prioritized": "boolean", "problem": "boolean", + "published": "boolean", + "released": "boolean", "retired": "boolean", + "special": "boolean", "suspended": "boolean", "unknown": "boolean", + "locale": "string", "label": "string", "title": "string", "byline": "string", @@ -302,6 +386,7 @@ "backlog": "array", "board": "array", "flow": "array", + "history": "array", "meta": "array", "notes": "array", "options": "array", @@ -309,9 +394,9 @@ "sources": "array" }, "fillable": [ + "team_type", "owned_by_id", "parent_id", - "team_type", "backlog_id", "board_id", "epic_id", @@ -327,16 +412,18 @@ "tag_id", "ticket_id", "version_id", - "start_at", - "planned_start_at", - "end_at", - "planned_end_at", "canceled_at", "closed_at", "embargo_at", + "planned_end_at", + "planned_start_at", "postponed_at", + "published_at", + "resolved_at", "resumed_at", "suspended_at", + "timer_end_at", + "timer_start_at", "gids", "po", "pg", @@ -364,15 +451,21 @@ "closed", "completed", "cron", + "featured", "flagged", "internal", "locked", "pending", "planned", + "prioritized", "problem", + "published", + "released", "retired", + "special", "suspended", "unknown", + "locale", "label", "title", "byline", @@ -390,6 +483,7 @@ "backlog", "board", "flow", + "history", "meta", "options", "roadmap", @@ -398,6 +492,22 @@ "filters": { "builder": null, "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "team_type", + "label": "Team Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -430,14 +540,6 @@ "unsigned": true, "type": "uuid" }, - { - "column": "team_type", - "label": "Team type", - "icon": "", - "nullable": true, - "unsigned": true, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -569,40 +671,40 @@ "type": "datetime" }, { - "column": "deleted_at", - "label": "Deleted at", + "column": "updated_at", + "label": "Updated at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "updated_at", - "label": "Updated at", + "column": "deleted_at", + "label": "Deleted at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "start_at", - "label": "", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "planned_start_at", - "label": "", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "end_at", - "label": "", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": true, "unsigned": true, @@ -610,39 +712,39 @@ }, { "column": "planned_end_at", - "label": "", + "label": "Planned end at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "canceled_at", - "label": "", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "closed_at", - "label": "", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "embargo_at", - "label": "", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": true, "unsigned": true, "type": "datetime" }, { - "column": "postponed_at", - "label": "", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": true, "unsigned": true, @@ -650,7 +752,7 @@ }, { "column": "resumed_at", - "label": "", + "label": "Resumed at", "icon": "", "nullable": true, "unsigned": true, @@ -658,7 +760,23 @@ }, { "column": "suspended_at", - "label": "", + "label": "Suspended at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_start_at", + "label": "Timer start at", "icon": "", "nullable": true, "unsigned": true, @@ -669,7 +787,7 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": true, "unsigned": true, "type": "boolean" @@ -677,7 +795,7 @@ { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -685,7 +803,7 @@ { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": true, "unsigned": true, "type": "boolean" @@ -693,7 +811,7 @@ { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": true, "unsigned": true, "type": "boolean" @@ -701,7 +819,15 @@ { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -709,7 +835,7 @@ { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": true, "unsigned": true, "type": "boolean" @@ -717,7 +843,7 @@ { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": true, "unsigned": true, "type": "boolean" @@ -725,7 +851,7 @@ { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -733,7 +859,7 @@ { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -741,7 +867,15 @@ { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -749,7 +883,23 @@ { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": true, "unsigned": true, "type": "boolean" @@ -757,7 +907,15 @@ { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": true, "unsigned": true, "type": "boolean" @@ -765,7 +923,7 @@ { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": true, "unsigned": true, "type": "boolean" @@ -773,7 +931,7 @@ { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": true, "unsigned": true, "type": "boolean" @@ -785,6 +943,14 @@ "with": true }, "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, { "column": "label", "label": "Label", @@ -862,7 +1028,7 @@ { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": true, "unsigned": true, "type": "bigInteger" @@ -870,7 +1036,7 @@ { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -878,7 +1044,7 @@ { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -886,7 +1052,7 @@ { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": true, "unsigned": true, "type": "tinyInteger" @@ -894,7 +1060,7 @@ { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": true, "unsigned": true, "type": "boolean" @@ -902,7 +1068,7 @@ { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": true, "unsigned": true, "type": "boolean" @@ -910,7 +1076,7 @@ { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": true, "unsigned": true, "type": "boolean" @@ -918,7 +1084,7 @@ { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": true, "unsigned": true, "type": "boolean" @@ -1107,6 +1273,14 @@ "unsigned": true, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1149,10 +1323,22 @@ } ] }, - "models": { - "Team": "resources/configurations/playground-matrix/model.team.json" - }, + "models": [], "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "team_type", + "label": "Team Type", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "created_by_id", "label": "Created by id", @@ -1181,13 +1367,6 @@ "nullable": false, "type": "uuid" }, - { - "column": "team_type", - "label": "Team type", - "icon": "", - "nullable": false, - "type": "string" - }, { "column": "backlog_id", "label": "Backlog id", @@ -1315,22 +1494,22 @@ "type": "string" }, { - "column": "start_at", - "label": "Start at", + "column": "canceled_at", + "label": "Canceled at", "icon": "", "nullable": false, "type": "string" }, { - "column": "planned_start_at", - "label": "Planned start at", + "column": "closed_at", + "label": "Closed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "end_at", - "label": "End at", + "column": "embargo_at", + "label": "Embargo at", "icon": "", "nullable": false, "type": "string" @@ -1343,29 +1522,29 @@ "type": "string" }, { - "column": "canceled_at", - "label": "Canceled at", + "column": "planned_start_at", + "label": "Planned start at", "icon": "", "nullable": false, "type": "string" }, { - "column": "closed_at", - "label": "Closed at", + "column": "postponed_at", + "label": "Postponed at", "icon": "", "nullable": false, "type": "string" }, { - "column": "embargo_at", - "label": "Embargo at", + "column": "published_at", + "label": "Published at", "icon": "", "nullable": false, "type": "string" }, { - "column": "postponed_at", - "label": "Postponed at", + "column": "resolved_at", + "label": "Resolved at", "icon": "", "nullable": false, "type": "string" @@ -1384,59 +1563,73 @@ "nullable": false, "type": "string" }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "gids", "label": "Gids", - "icon": "", + "icon": "fa-solid fa-people-group", "nullable": false, "type": "bigInteger" }, { "column": "po", "label": "Po", - "icon": "", + "icon": "fa-solid fa-house-user", "nullable": false, "type": "tinyInteger" }, { "column": "pg", "label": "Pg", - "icon": "", + "icon": "fa-solid fa-people-roof", "nullable": false, "type": "tinyInteger" }, { "column": "pw", "label": "Pw", - "icon": "", + "icon": "fa-solid fa-globe", "nullable": false, "type": "tinyInteger" }, { "column": "only_admin", "label": "Only admin", - "icon": "", + "icon": "fa-solid fa-user-gear", "nullable": false, "type": "boolean" }, { "column": "only_user", "label": "Only user", - "icon": "", + "icon": "fa-solid fa-user", "nullable": false, "type": "boolean" }, { "column": "only_guest", "label": "Only guest", - "icon": "", + "icon": "fa-solid fa-person-rays", "nullable": false, "type": "boolean" }, { "column": "allow_public", "label": "Allow public", - "icon": "", + "icon": "fa-solid fa-users-line", "nullable": false, "type": "boolean" }, @@ -1541,101 +1734,143 @@ { "column": "active", "label": "Active", - "icon": "", + "icon": "fa-solid fa-person-running", "nullable": false, "type": "boolean" }, { "column": "canceled", "label": "Canceled", - "icon": "", + "icon": "fa-solid fa-ban text-warning", "nullable": false, "type": "boolean" }, { "column": "closed", "label": "Closed", - "icon": "", + "icon": "fa-solid fa-xmark", "nullable": false, "type": "boolean" }, { "column": "completed", "label": "Completed", - "icon": "", + "icon": "fa-solid fa-check", "nullable": false, "type": "boolean" }, { "column": "cron", "label": "Cron", - "icon": "", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", "nullable": false, "type": "boolean" }, { "column": "flagged", "label": "Flagged", - "icon": "", + "icon": "fa-solid fa-flag", "nullable": false, "type": "boolean" }, { "column": "internal", "label": "Internal", - "icon": "", + "icon": "fa-solid fa-server", "nullable": false, "type": "boolean" }, { "column": "locked", "label": "Locked", - "icon": "", + "icon": "fa-solid fa-lock text-warning", "nullable": false, "type": "boolean" }, { "column": "pending", "label": "Pending", - "icon": "", + "icon": "fa-solid fa-circle-pause text-warning", "nullable": false, "type": "boolean" }, { "column": "planned", "label": "Planned", - "icon": "", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", "nullable": false, "type": "boolean" }, { "column": "problem", "label": "Problem", - "icon": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": false, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", "nullable": false, "type": "boolean" }, { "column": "retired", "label": "Retired", - "icon": "", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", "nullable": false, "type": "boolean" }, { "column": "suspended", "label": "Suspended", - "icon": "", + "icon": "fa-solid fa-hand text-danger", "nullable": false, "type": "boolean" }, { "column": "unknown", "label": "Unknown", - "icon": "", + "icon": "fa-solid fa-question text-warning", "nullable": false, "type": "boolean" }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, { "column": "label", "label": "Label", @@ -1755,6 +1990,13 @@ "nullable": false, "type": "JSON_OBJECT" }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, { "column": "meta", "label": "Meta", @@ -1802,9 +2044,21 @@ "with": false }, "ids": { + "team_type": { + "column": "team_type", + "label": "Team Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, "created_by_id": { "column": "created_by_id", - "label": "", + "label": "Created by id", "description": "", "foreign": { "references": "id", @@ -1819,7 +2073,7 @@ }, "modified_by_id": { "column": "modified_by_id", - "label": "", + "label": "Modified by id", "description": "", "foreign": { "references": "id", @@ -1834,7 +2088,7 @@ }, "owned_by_id": { "column": "owned_by_id", - "label": "", + "label": "Owned by id", "description": "", "foreign": { "references": "id", @@ -1849,7 +2103,7 @@ }, "parent_id": { "column": "parent_id", - "label": "", + "label": "Parent id", "description": "", "foreign": null, "icon": "", @@ -1859,21 +2113,9 @@ "unsigned": false, "type": "uuid" }, - "team_type": { - "column": "team_type", - "label": "", - "description": "", - "foreign": null, - "icon": "", - "index": true, - "nullable": true, - "readOnly": false, - "unsigned": false, - "type": "string" - }, "backlog_id": { "column": "backlog_id", - "label": "", + "label": "Backlog id", "description": "", "foreign": { "references": "id", @@ -1888,7 +2130,7 @@ }, "board_id": { "column": "board_id", - "label": "", + "label": "Board id", "description": "", "foreign": { "references": "id", @@ -1903,7 +2145,7 @@ }, "epic_id": { "column": "epic_id", - "label": "", + "label": "Epic id", "description": "", "foreign": { "references": "id", @@ -1918,7 +2160,7 @@ }, "flow_id": { "column": "flow_id", - "label": "", + "label": "Flow id", "description": "", "foreign": { "references": "id", @@ -1933,7 +2175,7 @@ }, "matrix_id": { "column": "matrix_id", - "label": "", + "label": "Matrix id", "description": "", "foreign": { "references": "id", @@ -1948,7 +2190,7 @@ }, "milestone_id": { "column": "milestone_id", - "label": "", + "label": "Milestone id", "description": "", "foreign": { "references": "id", @@ -1963,7 +2205,7 @@ }, "note_id": { "column": "note_id", - "label": "", + "label": "Note id", "description": "", "foreign": { "references": "id", @@ -1978,7 +2220,7 @@ }, "project_id": { "column": "project_id", - "label": "", + "label": "Project id", "description": "", "foreign": { "references": "id", @@ -1993,7 +2235,7 @@ }, "release_id": { "column": "release_id", - "label": "", + "label": "Release id", "description": "", "foreign": { "references": "id", @@ -2008,7 +2250,7 @@ }, "roadmap_id": { "column": "roadmap_id", - "label": "", + "label": "Roadmap id", "description": "", "foreign": { "references": "id", @@ -2023,7 +2265,7 @@ }, "source_id": { "column": "source_id", - "label": "", + "label": "Source id", "description": "", "foreign": { "references": "id", @@ -2038,7 +2280,7 @@ }, "sprint_id": { "column": "sprint_id", - "label": "", + "label": "Sprint id", "description": "", "foreign": { "references": "id", @@ -2053,7 +2295,7 @@ }, "tag_id": { "column": "tag_id", - "label": "", + "label": "Tag id", "description": "", "foreign": { "references": "id", @@ -2068,7 +2310,7 @@ }, "ticket_id": { "column": "ticket_id", - "label": "", + "label": "Ticket id", "description": "", "foreign": { "references": "id", @@ -2083,7 +2325,7 @@ }, "version_id": { "column": "version_id", - "label": "", + "label": "Version id", "description": "", "foreign": { "references": "id", @@ -2106,32 +2348,35 @@ } ], "dates": { - "start_at": { - "column": "start_at", - "label": "Start at", + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "planned_start_at": { - "column": "planned_start_at", - "label": "Planned start at", + "closed_at": { + "column": "closed_at", + "label": "Closed at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" }, - "end_at": { - "column": "end_at", - "label": "End at", + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2141,47 +2386,52 @@ "label": "Planned end at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "canceled_at": { - "column": "canceled_at", - "label": "Canceled at", + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "closed_at": { - "column": "closed_at", - "label": "Closed at", + "postponed_at": { + "column": "postponed_at", + "label": "Postponed at", "description": "", "icon": "", - "index": true, + "html": false, + "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "embargo_at": { - "column": "embargo_at", - "label": "Embargo at", + "published_at": { + "column": "published_at", + "label": "Published at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" }, - "postponed_at": { - "column": "postponed_at", - "label": "Postponed at", + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", "description": "", "icon": "", - "index": false, + "html": false, + "index": true, "nullable": true, "readOnly": false, "type": "dateTime" @@ -2191,6 +2441,7 @@ "label": "Resumed at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2201,10 +2452,33 @@ "label": "Suspended at", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" } }, "flags": { @@ -2263,6 +2537,17 @@ "readOnly": false, "type": "boolean" }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "flagged": { "column": "flagged", "label": "Flagged", @@ -2318,6 +2603,17 @@ "readOnly": false, "type": "boolean" }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "problem": { "column": "problem", "label": "Problem", @@ -2329,6 +2625,28 @@ "readOnly": false, "type": "boolean" }, + "published": { + "column": "published", + "label": "Published", + "description": "", + "icon": "fa-solid fa-book", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "released": { + "column": "released", + "label": "Released", + "description": "", + "icon": "fa-solid fa-dove", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "retired": { "column": "retired", "label": "Retired", @@ -2340,6 +2658,17 @@ "readOnly": false, "type": "boolean" }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, "suspended": { "column": "suspended", "label": "Suspended", @@ -2364,11 +2693,25 @@ } }, "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, "label": { "column": "label", "label": "Label", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2381,6 +2724,7 @@ "label": "Title", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2393,6 +2737,7 @@ "label": "Byline", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2405,6 +2750,7 @@ "label": "Slug", "description": "", "icon": "", + "html": false, "index": true, "nullable": true, "readOnly": false, @@ -2417,6 +2763,7 @@ "label": "Url", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2429,6 +2776,7 @@ "label": "Description", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2441,6 +2789,7 @@ "label": "Introduction", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2453,6 +2802,7 @@ "label": "Content", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2463,6 +2813,7 @@ "label": "Summary", "description": "", "icon": "", + "html": true, "index": false, "nullable": true, "readOnly": false, @@ -2475,6 +2826,7 @@ "label": "Gids", "description": "", "icon": "fa-solid fa-people-group", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2487,6 +2839,7 @@ "label": "Po", "description": "", "icon": "fa-solid fa-house-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2499,6 +2852,7 @@ "label": "Pg", "description": "", "icon": "fa-solid fa-people-roof", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2511,6 +2865,7 @@ "label": "Pw", "description": "", "icon": "fa-solid fa-globe", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2523,6 +2878,7 @@ "label": "Only admin", "description": "", "icon": "fa-solid fa-user-gear", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2534,6 +2890,7 @@ "label": "Only user", "description": "", "icon": "fa-solid fa-user", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2545,6 +2902,7 @@ "label": "Only guest", "description": "", "icon": "fa-solid fa-person-rays", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2556,6 +2914,7 @@ "label": "Allow public", "description": "", "icon": "fa-solid fa-users-line", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2569,6 +2928,7 @@ "label": "Status", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2581,6 +2941,7 @@ "label": "Rank", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2593,6 +2954,7 @@ "label": "Size", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2607,6 +2969,7 @@ "label": "Matrix", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2618,6 +2981,7 @@ "label": "X", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2630,6 +2994,7 @@ "label": "Y", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2642,6 +3007,7 @@ "label": "Z", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2654,6 +3020,7 @@ "label": "R", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2667,6 +3034,7 @@ "label": "Theta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2680,6 +3048,7 @@ "label": "Rho", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2693,6 +3062,7 @@ "label": "Phi", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2706,6 +3076,7 @@ "label": "Elevation", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2719,6 +3090,7 @@ "label": "Latitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2732,6 +3104,7 @@ "label": "Longitude", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2747,6 +3120,7 @@ "label": "Icon", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2759,6 +3133,7 @@ "label": "Image", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2771,6 +3146,7 @@ "label": "Avatar", "description": "", "icon": "", + "html": false, "index": false, "nullable": false, "readOnly": false, @@ -2783,6 +3159,7 @@ "label": "Ui", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2796,6 +3173,7 @@ "label": "Assets", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2807,6 +3185,7 @@ "label": "Backlog", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2818,6 +3197,7 @@ "label": "Board", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2829,6 +3209,19 @@ "label": "Flow", "description": "", "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2840,6 +3233,7 @@ "label": "Meta", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2851,6 +3245,7 @@ "label": "Notes", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": true, @@ -2863,6 +3258,7 @@ "label": "Options", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2874,6 +3270,7 @@ "label": "Roadmap", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2885,6 +3282,7 @@ "label": "Sources", "description": "", "icon": "", + "html": false, "index": false, "nullable": true, "readOnly": false, @@ -2895,6 +3293,7 @@ }, "uses": [ "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", "Playground/Models/Model" ] } \ No newline at end of file diff --git a/resources/package/model.ticket.json b/resources/package/model.ticket.json new file mode 100644 index 0000000..99101dd --- /dev/null +++ b/resources/package/model.ticket.json @@ -0,0 +1,4095 @@ +{ + "class": "Ticket", + "config": "playground-matrix", + "fqdn": "Playground/Matrix/Models/Ticket", + "module": "Matrix", + "module_slug": "matrix", + "name": "Ticket", + "namespace": "Playground/Matrix", + "organization": "Playground", + "package": "playground-matrix", + "model": "Ticket", + "model_attribute": "title", + "model_attribute_required": true, + "model_plural": "Tickets", + "model_singular": "Ticket", + "model_slug": "ticket", + "model_slug_plural": "tickets", + "recipe": "matrix", + "type": "playground-model", + "table": "matrix_tickets", + "perPage": null, + "controller": true, + "factory": true, + "migration": true, + "playground": true, + "policy": true, + "requests": true, + "revision": false, + "seed": true, + "test": true, + "extends": "Model", + "implements": [], + "HasOne": { + "backlog": { + "comment": "The backlog of the ticket.", + "accessor": "backlog", + "related": "Backlog", + "foreignKey": "id", + "localKey": "backlog_id" + }, + "board": { + "comment": "The board of the ticket.", + "accessor": "board", + "related": "Board", + "foreignKey": "id", + "localKey": "board_id" + }, + "epic": { + "comment": "The epic of the ticket.", + "accessor": "epic", + "related": "Epic", + "foreignKey": "id", + "localKey": "epic_id" + }, + "flow": { + "comment": "The flow of the ticket.", + "accessor": "flow", + "related": "Flow", + "foreignKey": "id", + "localKey": "flow_id" + }, + "matrix": { + "comment": "The matrix of the ticket.", + "accessor": "matrix", + "related": "Matrix", + "foreignKey": "id", + "localKey": "matrix_id" + }, + "milestone": { + "comment": "The milestone of the ticket.", + "accessor": "milestone", + "related": "Milestone", + "foreignKey": "id", + "localKey": "milestone_id" + }, + "note": { + "comment": "The note of the ticket.", + "accessor": "note", + "related": "Note", + "foreignKey": "id", + "localKey": "note_id" + }, + "project": { + "comment": "The project of the ticket.", + "accessor": "project", + "related": "Project", + "foreignKey": "id", + "localKey": "project_id" + }, + "release": { + "comment": "The release of the ticket.", + "accessor": "release", + "related": "Release", + "foreignKey": "id", + "localKey": "release_id" + }, + "roadmap": { + "comment": "The roadmap of the ticket.", + "accessor": "roadmap", + "related": "Roadmap", + "foreignKey": "id", + "localKey": "roadmap_id" + }, + "source": { + "comment": "The source of the ticket.", + "accessor": "source", + "related": "Source", + "foreignKey": "id", + "localKey": "source_id" + }, + "sprint": { + "comment": "The sprint of the ticket.", + "accessor": "sprint", + "related": "Sprint", + "foreignKey": "id", + "localKey": "sprint_id" + }, + "tag": { + "comment": "The tag of the ticket.", + "accessor": "tag", + "related": "Tag", + "foreignKey": "id", + "localKey": "tag_id" + }, + "team": { + "comment": "The team of the ticket.", + "accessor": "team", + "related": "Team", + "foreignKey": "id", + "localKey": "team_id" + }, + "version": { + "comment": "The version of the ticket.", + "accessor": "version", + "related": "Version", + "foreignKey": "id", + "localKey": "version_id" + }, + "completedBy": { + "comment": "The completed by user of the ticket.", + "accessor": "completedBy", + "related": "\\Playground\\Models\\User", + "foreignKey": "id", + "localKey": "completed_by_id" + }, + "fixedBy": { + "comment": "The fixed by user of the ticket.", + "accessor": "fixedBy", + "related": "\\Playground\\Models\\User", + "foreignKey": "id", + "localKey": "fixed_by_id" + }, + "reportedBy": { + "comment": "The reported by user of the ticket.", + "accessor": "reportedBy", + "related": "\\Playground\\Models\\User", + "foreignKey": "id", + "localKey": "reported_by_id" + } + }, + "HasMany": { + "backlogs": { + "comment": "The backlogs of the ticket.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the ticket.", + "accessor": "boards", + "related": "Board", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the ticket.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the ticket.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the ticket.", + "accessor": "projects", + "related": "Project", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the ticket.", + "accessor": "releases", + "related": "Release", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the ticket.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the ticket.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "ticket_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the ticket.", + "accessor": "teams", + "related": "Team", + "foreignKey": "ticket_id", + "localKey": "id" + } + }, + "scopes": { + "sort": { + "include": "minus", + "builder": null + } + }, + "attributes": { + "ticket_type": null, + "created_by_id": null, + "modified_by_id": null, + "owned_by_id": null, + "parent_id": null, + "backlog_id": null, + "board_id": null, + "epic_id": null, + "flow_id": null, + "matrix_id": null, + "milestone_id": null, + "note_id": null, + "project_id": null, + "release_id": null, + "roadmap_id": null, + "source_id": null, + "sprint_id": null, + "tag_id": null, + "team_id": null, + "version_id": null, + "completed_by_id": null, + "duplicate_id": null, + "fixed_by_id": null, + "reported_by_id": null, + "version_fixed_id": null, + "created_at": null, + "updated_at": null, + "deleted_at": null, + "canceled_at": null, + "closed_at": null, + "embargo_at": null, + "fixed_at": null, + "planned_end_at": null, + "planned_start_at": null, + "postponed_at": null, + "published_at": null, + "resolved_at": null, + "resumed_at": null, + "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, + "gids": 0, + "po": 0, + "pg": 0, + "pw": 0, + "only_admin": false, + "only_user": false, + "only_guest": false, + "allow_public": false, + "status": 0, + "rank": 0, + "size": 0, + "matrix": "{}", + "x": null, + "y": null, + "z": null, + "r": null, + "theta": null, + "rho": null, + "phi": null, + "elevation": null, + "latitude": null, + "longitude": null, + "active": true, + "canceled": false, + "closed": false, + "completed": false, + "cron": false, + "duplicate": false, + "featured": false, + "fixed": false, + "flagged": false, + "internal": false, + "locked": false, + "pending": false, + "planned": false, + "prioritized": false, + "problem": false, + "published": false, + "released": false, + "resolved": false, + "retired": false, + "special": false, + "suspended": false, + "unknown": false, + "locale": "", + "label": "", + "title": "", + "byline": "", + "slug": null, + "url": "", + "description": "", + "introduction": "", + "content": null, + "summary": null, + "handler": null, + "key": null, + "code": null, + "key_code_hash": null, + "priority": null, + "severity": null, + "resolution": null, + "step": null, + "state": null, + "workflow_type": null, + "points": 0, + "actual": null, + "expected": null, + "story": null, + "steps": null, + "criteria": null, + "reproducibility": null, + "icon": "", + "image": "", + "avatar": "", + "ui": "{}", + "assets": "{}", + "backlog": "{}", + "board": "{}", + "flow": "{}", + "history": "{}", + "meta": "{}", + "notes": "[]", + "options": "{}", + "roadmap": "{}", + "sources": "{}" + }, + "casts": { + "ticket_type": "string", + "created_at": "datetime", + "updated_at": "datetime", + "deleted_at": "datetime", + "canceled_at": "datetime", + "closed_at": "datetime", + "embargo_at": "datetime", + "fixed_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", + "postponed_at": "datetime", + "published_at": "datetime", + "resolved_at": "datetime", + "resumed_at": "datetime", + "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", + "gids": "integer", + "po": "integer", + "pg": "integer", + "pw": "integer", + "only_admin": "boolean", + "only_user": "boolean", + "only_guest": "boolean", + "allow_public": "boolean", + "status": "integer", + "rank": "integer", + "size": "integer", + "matrix": "array", + "x": "integer", + "y": "integer", + "z": "integer", + "r": "float", + "theta": "float", + "rho": "float", + "phi": "float", + "elevation": "float", + "latitude": "float", + "longitude": "float", + "active": "boolean", + "canceled": "boolean", + "closed": "boolean", + "completed": "boolean", + "cron": "boolean", + "duplicate": "boolean", + "featured": "boolean", + "fixed": "boolean", + "flagged": "boolean", + "internal": "boolean", + "locked": "boolean", + "pending": "boolean", + "planned": "boolean", + "prioritized": "boolean", + "problem": "boolean", + "published": "boolean", + "released": "boolean", + "resolved": "boolean", + "retired": "boolean", + "special": "boolean", + "suspended": "boolean", + "unknown": "boolean", + "locale": "string", + "label": "string", + "title": "string", + "byline": "string", + "slug": "string", + "url": "string", + "description": "string", + "introduction": "string", + "content": "string", + "summary": "string", + "handler": "string", + "key": "string", + "code": "integer", + "key_code_hash": "string", + "priority": "string", + "severity": "string", + "resolution": "string", + "step": "string", + "state": "string", + "workflow_type": "string", + "points": "integer", + "actual": "string", + "expected": "string", + "story": "string", + "steps": "string", + "criteria": "string", + "reproducibility": "decimal", + "icon": "string", + "image": "string", + "avatar": "string", + "ui": "array", + "assets": "array", + "backlog": "array", + "board": "array", + "flow": "array", + "history": "array", + "meta": "array", + "notes": "array", + "options": "array", + "roadmap": "array", + "sources": "array" + }, + "fillable": [ + "ticket_type", + "owned_by_id", + "parent_id", + "backlog_id", + "board_id", + "epic_id", + "flow_id", + "matrix_id", + "milestone_id", + "note_id", + "project_id", + "release_id", + "roadmap_id", + "source_id", + "sprint_id", + "tag_id", + "team_id", + "version_id", + "completed_by_id", + "duplicate_id", + "fixed_by_id", + "reported_by_id", + "version_fixed_id", + "canceled_at", + "closed_at", + "embargo_at", + "fixed_at", + "planned_end_at", + "planned_start_at", + "postponed_at", + "published_at", + "resolved_at", + "resumed_at", + "suspended_at", + "timer_end_at", + "timer_start_at", + "gids", + "po", + "pg", + "pw", + "only_admin", + "only_user", + "only_guest", + "allow_public", + "status", + "rank", + "size", + "matrix", + "x", + "y", + "z", + "r", + "theta", + "rho", + "phi", + "elevation", + "latitude", + "longitude", + "active", + "canceled", + "closed", + "completed", + "cron", + "duplicate", + "featured", + "fixed", + "flagged", + "internal", + "locked", + "pending", + "planned", + "prioritized", + "problem", + "published", + "released", + "resolved", + "retired", + "special", + "suspended", + "unknown", + "locale", + "label", + "title", + "byline", + "slug", + "url", + "description", + "introduction", + "content", + "summary", + "handler", + "key", + "code", + "key_code_hash", + "priority", + "severity", + "resolution", + "step", + "state", + "workflow_type", + "points", + "actual", + "expected", + "story", + "steps", + "criteria", + "reproducibility", + "icon", + "image", + "avatar", + "ui", + "assets", + "backlog", + "board", + "flow", + "history", + "meta", + "options", + "roadmap", + "sources" + ], + "filters": { + "builder": null, + "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "ticket_type", + "label": "Ticket Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "created_by_id", + "label": "Created by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "modified_by_id", + "label": "Modified by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "owned_by_id", + "label": "Owned by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "backlog_id", + "label": "Backlog id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "board_id", + "label": "Board id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "epic_id", + "label": "Epic id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "flow_id", + "label": "Flow id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "matrix_id", + "label": "Matrix id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "milestone_id", + "label": "Milestone id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "note_id", + "label": "Note id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "project_id", + "label": "Project id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "release_id", + "label": "Release id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "roadmap_id", + "label": "Roadmap id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "source_id", + "label": "Source id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "sprint_id", + "label": "Sprint id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "tag_id", + "label": "Tag id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "team_id", + "label": "Team id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "version_id", + "label": "Version id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "completed_by_id", + "label": "Completed by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "duplicate_id", + "label": "Duplicate id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "fixed_by_id", + "label": "Fixed by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "reported_by_id", + "label": "Reported by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "version_fixed_id", + "label": "Version fixed id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + } + ], + "dates": [ + { + "column": "created_at", + "label": "Created at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "updated_at", + "label": "Updated at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "deleted_at", + "label": "Deleted at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "canceled_at", + "label": "Canceled at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "closed_at", + "label": "Closed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "embargo_at", + "label": "Embargo at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "fixed_at", + "label": "Fixed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "planned_end_at", + "label": "Planned end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "planned_start_at", + "label": "Planned start at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "postponed_at", + "label": "Postponed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "resolved_at", + "label": "Resolved at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "resumed_at", + "label": "Resumed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "suspended_at", + "label": "Suspended at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + } + ], + "flags": [ + { + "column": "active", + "label": "Active", + "icon": "fa-solid fa-person-running", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "canceled", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "closed", + "label": "Closed", + "icon": "fa-solid fa-xmark", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "completed", + "label": "Completed", + "icon": "fa-solid fa-check", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "duplicate", + "label": "Duplicate", + "icon": "fa-solid fa-clone", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "fixed", + "label": "Fixed", + "icon": "fa-solid fa-wrench", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "flagged", + "label": "Flagged", + "icon": "fa-solid fa-flag", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "internal", + "label": "Internal", + "icon": "fa-solid fa-server", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "locked", + "label": "Locked", + "icon": "fa-solid fa-lock text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "pending", + "label": "Pending", + "icon": "fa-solid fa-circle-pause text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "planned", + "label": "Planned", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "problem", + "label": "Problem", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "resolved", + "label": "Resolved", + "icon": "fa-solid fa-check-double text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "suspended", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "unknown", + "label": "Unknown", + "icon": "fa-solid fa-question text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + } + ], + "trash": { + "hide": true, + "only": true, + "with": true + }, + "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "label", + "label": "Label", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "title", + "label": "Title", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "byline", + "label": "Byline", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "slug", + "label": "Slug", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "url", + "label": "Url", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "description", + "label": "Description", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "introduction", + "label": "Introduction", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "content", + "label": "Content", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "summary", + "label": "Summary", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "handler", + "label": "Handler", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "key", + "label": "Key", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "code", + "label": "Code", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "key_code_hash", + "label": "Key code hash", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "priority", + "label": "Priority", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "severity", + "label": "Severity", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "resolution", + "label": "Resolution", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "step", + "label": "Step", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "state", + "label": "State", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "workflow_type", + "label": "Workflow type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "points", + "label": "Points", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "actual", + "label": "Actual", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "expected", + "label": "Expected", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "story", + "label": "Story", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "steps", + "label": "Steps", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "criteria", + "label": "Criteria", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "reproducibility", + "label": "Reproducibility", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "decimal" + } + ], + "permissions": [ + { + "column": "gids", + "label": "Gids", + "icon": "fa-solid fa-people-group", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "po", + "label": "Po", + "icon": "fa-solid fa-house-user", + "nullable": true, + "unsigned": true, + "type": "tinyInteger" + }, + { + "column": "pg", + "label": "Pg", + "icon": "fa-solid fa-people-roof", + "nullable": true, + "unsigned": true, + "type": "tinyInteger" + }, + { + "column": "pw", + "label": "Pw", + "icon": "fa-solid fa-globe", + "nullable": true, + "unsigned": true, + "type": "tinyInteger" + }, + { + "column": "only_admin", + "label": "Only admin", + "icon": "fa-solid fa-user-gear", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "only_user", + "label": "Only user", + "icon": "fa-solid fa-user", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "only_guest", + "label": "Only guest", + "icon": "fa-solid fa-person-rays", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "allow_public", + "label": "Allow public", + "icon": "fa-solid fa-users-line", + "nullable": true, + "unsigned": true, + "type": "boolean" + } + ], + "status": [ + { + "column": "status", + "label": "Status", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "rank", + "label": "Rank", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "size", + "label": "Size", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + } + ], + "matrix": [ + { + "column": "matrix", + "label": "Matrix", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "x", + "label": "x", + "icon": "", + "nullable": true, + "unsigned": false, + "type": "integer" + }, + { + "column": "y", + "label": "y", + "icon": "", + "nullable": true, + "unsigned": false, + "type": "integer" + }, + { + "column": "z", + "label": "z", + "icon": "", + "nullable": true, + "unsigned": false, + "type": "integer" + }, + { + "column": "r", + "label": "r", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "theta", + "label": "\u03b8", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "rho", + "label": "\u03c1", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "phi", + "label": "\u03c6", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "elevation", + "label": "Elevation", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "latitude", + "label": "Latitude", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "longitude", + "label": "Longitude", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + } + ], + "ui": [ + { + "column": "icon", + "label": "Icon", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "image", + "label": "Image", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "avatar", + "label": "Avatar", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "ui", + "label": "Ui", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + } + ], + "json": [ + { + "column": "assets", + "label": "Assets", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "backlog", + "label": "Backlog", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "board", + "label": "Board", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "flow", + "label": "Flow", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "meta", + "label": "Meta", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "notes", + "label": "Notes", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_ARRAY" + }, + { + "column": "options", + "label": "Options", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "roadmap", + "label": "Roadmap", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "sources", + "label": "Sources", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + } + ] + }, + "models": [], + "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "ticket_type", + "label": "Ticket Type", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "created_by_id", + "label": "Created by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "modified_by_id", + "label": "Modified by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "owned_by_id", + "label": "Owned by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "backlog_id", + "label": "Backlog id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "board_id", + "label": "Board id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "epic_id", + "label": "Epic id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "flow_id", + "label": "Flow id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "matrix_id", + "label": "Matrix id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "milestone_id", + "label": "Milestone id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "note_id", + "label": "Note id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "project_id", + "label": "Project id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "release_id", + "label": "Release id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "roadmap_id", + "label": "Roadmap id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "source_id", + "label": "Source id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "sprint_id", + "label": "Sprint id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "tag_id", + "label": "Tag id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "team_id", + "label": "Team id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "version_id", + "label": "Version id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "completed_by_id", + "label": "Completed by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "duplicate_id", + "label": "Duplicate id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "fixed_by_id", + "label": "Fixed by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "reported_by_id", + "label": "Reported by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "version_fixed_id", + "label": "Version fixed id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "created_at", + "label": "Created At", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "updated_at", + "label": "Updated At", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "deleted_at", + "label": "Deleted At", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "canceled_at", + "label": "Canceled at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "closed_at", + "label": "Closed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "embargo_at", + "label": "Embargo at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "fixed_at", + "label": "Fixed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "planned_end_at", + "label": "Planned end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "planned_start_at", + "label": "Planned start at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "postponed_at", + "label": "Postponed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "resolved_at", + "label": "Resolved at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "resumed_at", + "label": "Resumed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "suspended_at", + "label": "Suspended at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "gids", + "label": "Gids", + "icon": "fa-solid fa-people-group", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "po", + "label": "Po", + "icon": "fa-solid fa-house-user", + "nullable": false, + "type": "tinyInteger" + }, + { + "column": "pg", + "label": "Pg", + "icon": "fa-solid fa-people-roof", + "nullable": false, + "type": "tinyInteger" + }, + { + "column": "pw", + "label": "Pw", + "icon": "fa-solid fa-globe", + "nullable": false, + "type": "tinyInteger" + }, + { + "column": "only_admin", + "label": "Only admin", + "icon": "fa-solid fa-user-gear", + "nullable": false, + "type": "boolean" + }, + { + "column": "only_user", + "label": "Only user", + "icon": "fa-solid fa-user", + "nullable": false, + "type": "boolean" + }, + { + "column": "only_guest", + "label": "Only guest", + "icon": "fa-solid fa-person-rays", + "nullable": false, + "type": "boolean" + }, + { + "column": "allow_public", + "label": "Allow public", + "icon": "fa-solid fa-users-line", + "nullable": false, + "type": "boolean" + }, + { + "column": "status", + "label": "Status", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "rank", + "label": "Rank", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "size", + "label": "Size", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "matrix", + "label": "Matrix", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "x", + "label": "X", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "y", + "label": "Y", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "z", + "label": "Z", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "r", + "label": "R", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "theta", + "label": "Theta", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "rho", + "label": "Rho", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "phi", + "label": "Phi", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "elevation", + "label": "Elevation", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "latitude", + "label": "Latitude", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "longitude", + "label": "Longitude", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "active", + "label": "Active", + "icon": "fa-solid fa-person-running", + "nullable": false, + "type": "boolean" + }, + { + "column": "canceled", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "closed", + "label": "Closed", + "icon": "fa-solid fa-xmark", + "nullable": false, + "type": "boolean" + }, + { + "column": "completed", + "label": "Completed", + "icon": "fa-solid fa-check", + "nullable": false, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "duplicate", + "label": "Duplicate", + "icon": "fa-solid fa-clone", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "fixed", + "label": "Fixed", + "icon": "fa-solid fa-wrench", + "nullable": false, + "type": "boolean" + }, + { + "column": "flagged", + "label": "Flagged", + "icon": "fa-solid fa-flag", + "nullable": false, + "type": "boolean" + }, + { + "column": "internal", + "label": "Internal", + "icon": "fa-solid fa-server", + "nullable": false, + "type": "boolean" + }, + { + "column": "locked", + "label": "Locked", + "icon": "fa-solid fa-lock text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "pending", + "label": "Pending", + "icon": "fa-solid fa-circle-pause text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "planned", + "label": "Planned", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "problem", + "label": "Problem", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": false, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "resolved", + "label": "Resolved", + "icon": "fa-solid fa-check-double text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "suspended", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "unknown", + "label": "Unknown", + "icon": "fa-solid fa-question text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "label", + "label": "Label", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "title", + "label": "Title", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "byline", + "label": "Byline", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "slug", + "label": "Slug", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "url", + "label": "Url", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "description", + "label": "Description", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "introduction", + "label": "Introduction", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "content", + "label": "Content", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "summary", + "label": "Summary", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "handler", + "label": "Handler", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "key", + "label": "Key", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "code", + "label": "Code", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "key_code_hash", + "label": "Key code hash", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "priority", + "label": "Priority", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "severity", + "label": "Severity", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "resolution", + "label": "Resolution", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "step", + "label": "Step", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "state", + "label": "State", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "workflow_type", + "label": "Workflow type", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "points", + "label": "Points", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "actual", + "label": "Actual", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "expected", + "label": "Expected", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "story", + "label": "Story", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "steps", + "label": "Steps", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "criteria", + "label": "Criteria", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "reproducibility", + "label": "Reproducibility", + "icon": "", + "nullable": false, + "type": "decimal" + }, + { + "column": "icon", + "label": "Icon", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "image", + "label": "Image", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "avatar", + "label": "Avatar", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "ui", + "label": "Ui", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "assets", + "label": "Assets", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "backlog", + "label": "Backlog", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "board", + "label": "Board", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "flow", + "label": "Flow", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "history", + "label": "History", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "meta", + "label": "Meta", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "notes", + "label": "Notes", + "icon": "", + "nullable": false, + "type": "JSON_ARRAY" + }, + { + "column": "options", + "label": "Options", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "roadmap", + "label": "Roadmap", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "sources", + "label": "Sources", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + } + ], + "create": { + "migration": "2020_01_02_100001_create_matrix_tickets_table", + "primary": "uuid", + "timestamps": true, + "softDeletes": true, + "trash": { + "hide": false, + "only": false, + "with": false + }, + "ids": { + "ticket_type": { + "column": "ticket_type", + "label": "Ticket Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, + "created_by_id": { + "column": "created_by_id", + "label": "Created by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": true, + "unsigned": false, + "type": "uuid" + }, + "modified_by_id": { + "column": "modified_by_id", + "label": "Modified by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": true, + "unsigned": false, + "type": "uuid" + }, + "owned_by_id": { + "column": "owned_by_id", + "label": "Owned by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "parent_id": { + "column": "parent_id", + "label": "Parent id", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "backlog_id": { + "column": "backlog_id", + "label": "Backlog id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_backlogs" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "board_id": { + "column": "board_id", + "label": "Board id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_boards" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "epic_id": { + "column": "epic_id", + "label": "Epic id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_epics" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "flow_id": { + "column": "flow_id", + "label": "Flow id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_flows" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "matrix_id": { + "column": "matrix_id", + "label": "Matrix id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_matrices" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "milestone_id": { + "column": "milestone_id", + "label": "Milestone id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_milestones" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "note_id": { + "column": "note_id", + "label": "Note id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_notes" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "project_id": { + "column": "project_id", + "label": "Project id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_projects" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "release_id": { + "column": "release_id", + "label": "Release id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_releases" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "roadmap_id": { + "column": "roadmap_id", + "label": "Roadmap id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_roadmaps" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "source_id": { + "column": "source_id", + "label": "Source id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_sources" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "sprint_id": { + "column": "sprint_id", + "label": "Sprint id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_sprints" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "tag_id": { + "column": "tag_id", + "label": "Tag id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_tags" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "team_id": { + "column": "team_id", + "label": "Team id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_teams" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "version_id": { + "column": "version_id", + "label": "Version id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_versions" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "completed_by_id": { + "column": "completed_by_id", + "label": "Completed by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "duplicate_id": { + "column": "duplicate_id", + "label": "Duplicate id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_tickets" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "fixed_by_id": { + "column": "fixed_by_id", + "label": "Fixed by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "reported_by_id": { + "column": "reported_by_id", + "label": "Reported by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "version_fixed_id": { + "column": "version_fixed_id", + "label": "Version fixed id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_versions" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + } + }, + "unique": [ + { + "keys": [ + "slug", + "parent_id" + ] + } + ], + "dates": { + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "closed_at": { + "column": "closed_at", + "label": "Closed at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "fixed_at": { + "column": "fixed_at", + "label": "Fixed at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "postponed_at": { + "column": "postponed_at", + "label": "Postponed at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "published_at": { + "column": "published_at", + "label": "Published at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "resumed_at": { + "column": "resumed_at", + "label": "Resumed at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + } + }, + "flags": { + "active": { + "column": "active", + "label": "Active", + "description": "", + "icon": "fa-solid fa-person-running", + "default": true, + "index": true, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "canceled": { + "column": "canceled", + "label": "Canceled", + "description": "", + "icon": "fa-solid fa-ban text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "closed": { + "column": "closed", + "label": "Closed", + "description": "", + "icon": "fa-solid fa-xmark", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "completed": { + "column": "completed", + "label": "Completed", + "description": "", + "icon": "fa-solid fa-check", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "cron": { + "column": "cron", + "label": "Cron", + "description": "", + "icon": "fa-regular fa-clock", + "default": false, + "index": true, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "duplicate": { + "column": "duplicate", + "label": "Duplicate", + "description": "", + "icon": "fa-solid fa-clone", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "fixed": { + "column": "fixed", + "label": "Fixed", + "description": "", + "icon": "fa-solid fa-wrench", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "flagged": { + "column": "flagged", + "label": "Flagged", + "description": "", + "icon": "fa-solid fa-flag", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "internal": { + "column": "internal", + "label": "Internal", + "description": "", + "icon": "fa-solid fa-server", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "locked": { + "column": "locked", + "label": "Locked", + "description": "", + "icon": "fa-solid fa-lock text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "pending": { + "column": "pending", + "label": "Pending", + "description": "", + "icon": "fa-solid fa-circle-pause text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "planned": { + "column": "planned", + "label": "Planned", + "description": "", + "icon": "fa-solid fa-circle-pause text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "problem": { + "column": "problem", + "label": "Problem", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "published": { + "column": "published", + "label": "Published", + "description": "", + "icon": "fa-solid fa-book", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "released": { + "column": "released", + "label": "Released", + "description": "", + "icon": "fa-solid fa-dove", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "resolved": { + "column": "resolved", + "label": "Resolved", + "description": "", + "icon": "fa-solid fa-check-double text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "retired": { + "column": "retired", + "label": "Retired", + "description": "", + "icon": "fa-solid fa-chair text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "suspended": { + "column": "suspended", + "label": "Suspended", + "description": "", + "icon": "fa-solid fa-hand text-danger", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "unknown": { + "column": "unknown", + "label": "Unknown", + "description": "", + "icon": "fa-solid fa-question text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + } + }, + "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, + "label": { + "column": "label", + "label": "Label", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 128, + "default": "" + }, + "title": { + "column": "title", + "label": "Title", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, + "byline": { + "column": "byline", + "label": "Byline", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, + "slug": { + "column": "slug", + "label": "Slug", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "string", + "size": 128, + "default": null + }, + "url": { + "column": "url", + "label": "Url", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "description": { + "column": "description", + "label": "Description", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "introduction": { + "column": "introduction", + "label": "Introduction", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "content": { + "column": "content", + "label": "Content", + "description": "", + "icon": "", + "html": true, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "summary": { + "column": "summary", + "label": "Summary", + "description": "", + "icon": "", + "html": true, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "handler": { + "column": "handler", + "label": "Handler", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "key": { + "column": "key", + "label": "Key", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "string", + "size": 32 + }, + "code": { + "column": "code", + "label": "Code", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": true + }, + "key_code_hash": { + "column": "key_code_hash", + "label": "Key code hash", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "priority": { + "column": "priority", + "label": "Priority", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "severity": { + "column": "severity", + "label": "Severity", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "resolution": { + "column": "resolution", + "label": "Resolution", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "step": { + "column": "step", + "label": "Step", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "state": { + "column": "state", + "label": "State", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "workflow_type": { + "column": "workflow_type", + "label": "Workflow type", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "string" + }, + "points": { + "column": "points", + "label": "Points", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": true, + "default": 0 + }, + "actual": { + "column": "actual", + "label": "Actual", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "expected": { + "column": "expected", + "label": "Expected", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "story": { + "column": "story", + "label": "Story", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "steps": { + "column": "steps", + "label": "Steps", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "criteria": { + "column": "criteria", + "label": "Criteria", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "reproducibility": { + "column": "reproducibility", + "label": "Reproducibility", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 8, + "scale": 2 + } + }, + "permissions": { + "gids": { + "column": "gids", + "label": "Gids", + "description": "", + "icon": "fa-solid fa-people-group", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": true, + "default": 0 + }, + "po": { + "column": "po", + "label": "Po", + "description": "", + "icon": "fa-solid fa-house-user", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "tinyInteger", + "unsigned": true, + "default": 0 + }, + "pg": { + "column": "pg", + "label": "Pg", + "description": "", + "icon": "fa-solid fa-people-roof", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "tinyInteger", + "unsigned": true, + "default": 0 + }, + "pw": { + "column": "pw", + "label": "Pw", + "description": "", + "icon": "fa-solid fa-globe", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "tinyInteger", + "unsigned": true, + "default": 0 + }, + "only_admin": { + "column": "only_admin", + "label": "Only admin", + "description": "", + "icon": "fa-solid fa-user-gear", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + }, + "only_user": { + "column": "only_user", + "label": "Only user", + "description": "", + "icon": "fa-solid fa-user", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + }, + "only_guest": { + "column": "only_guest", + "label": "Only guest", + "description": "", + "icon": "fa-solid fa-person-rays", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + }, + "allow_public": { + "column": "allow_public", + "label": "Allow public", + "description": "", + "icon": "fa-solid fa-users-line", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + } + }, + "status": { + "status": { + "column": "status", + "label": "Status", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": true, + "default": 0 + }, + "rank": { + "column": "rank", + "label": "Rank", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": 0 + }, + "size": { + "column": "size", + "label": "Size", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": 0 + } + }, + "matrix": { + "matrix": { + "column": "matrix", + "label": "Matrix", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "x": { + "column": "x", + "label": "X", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": null + }, + "y": { + "column": "y", + "label": "Y", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": null + }, + "z": { + "column": "z", + "label": "Z", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": null + }, + "r": { + "column": "r", + "label": "R", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 65, + "scale": 10, + "default": null + }, + "theta": { + "column": "theta", + "label": "Theta", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 10, + "scale": 6, + "default": null + }, + "rho": { + "column": "rho", + "label": "Rho", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 10, + "scale": 6, + "default": null + }, + "phi": { + "column": "phi", + "label": "Phi", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 10, + "scale": 6, + "default": null + }, + "elevation": { + "column": "elevation", + "label": "Elevation", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 65, + "scale": 10, + "default": null + }, + "latitude": { + "column": "latitude", + "label": "Latitude", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 8, + "scale": 6, + "default": null + }, + "longitude": { + "column": "longitude", + "label": "Longitude", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 9, + "scale": 6, + "default": null + } + }, + "ui": { + "icon": { + "column": "icon", + "label": "Icon", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 128, + "default": "" + }, + "image": { + "column": "image", + "label": "Image", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "avatar": { + "column": "avatar", + "label": "Avatar", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "ui": { + "column": "ui", + "label": "Ui", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + } + }, + "json": { + "assets": { + "column": "assets", + "label": "Assets", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "backlog": { + "column": "backlog", + "label": "Backlog", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "board": { + "column": "board", + "label": "Board", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "flow": { + "column": "flow", + "label": "Flow", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "history": { + "column": "history", + "label": "History", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "meta": { + "column": "meta", + "label": "Meta", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "notes": { + "column": "notes", + "label": "Notes", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": true, + "type": "JSON_ARRAY", + "comment": "Array of note objects", + "default": "[]" + }, + "options": { + "column": "options", + "label": "Options", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "roadmap": { + "column": "roadmap", + "label": "Roadmap", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "sources": { + "column": "sources", + "label": "Sources", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + } + } + }, + "uses": [ + "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", + "Playground/Models/Model" + ] +} \ No newline at end of file diff --git a/resources/package/model.version.json b/resources/package/model.version.json new file mode 100644 index 0000000..62142d5 --- /dev/null +++ b/resources/package/model.version.json @@ -0,0 +1,2824 @@ +{ + "class": "Version", + "config": "playground-matrix", + "fqdn": "Playground/Matrix/Models/Version", + "module": "Matrix", + "module_slug": "matrix", + "name": "Version", + "namespace": "Playground/Matrix", + "organization": "Playground", + "package": "playground-matrix", + "model": "Version", + "model_attribute": "title", + "model_attribute_required": true, + "model_plural": "Versions", + "model_singular": "Version", + "model_slug": "version", + "model_slug_plural": "versions", + "recipe": "matrix", + "type": "playground-model", + "table": "matrix_versions", + "perPage": null, + "controller": true, + "factory": true, + "migration": true, + "playground": true, + "policy": true, + "requests": true, + "revision": false, + "seed": true, + "test": true, + "extends": "Model", + "implements": [], + "HasOne": { + "matrix": { + "comment": "The matrix of the version.", + "accessor": "matrix", + "related": "Matrix", + "foreignKey": "id", + "localKey": "matrix_id" + }, + "project": { + "comment": "The project of the version.", + "accessor": "project", + "related": "Project", + "foreignKey": "id", + "localKey": "project_id" + }, + "tag": { + "comment": "The tag of the version.", + "accessor": "tag", + "related": "Tag", + "foreignKey": "id", + "localKey": "tag_id" + }, + "team": { + "comment": "The team of the version.", + "accessor": "team", + "related": "Team", + "foreignKey": "id", + "localKey": "team_id" + }, + "ticket": { + "comment": "The ticket of the version.", + "accessor": "ticket", + "related": "Ticket", + "foreignKey": "id", + "localKey": "ticket_id" + } + }, + "HasMany": { + "backlogs": { + "comment": "The backlogs of the version.", + "accessor": "backlogs", + "related": "Backlog", + "foreignKey": "version_id", + "localKey": "id" + }, + "boards": { + "comment": "The boards of the version.", + "accessor": "boards", + "related": "Board", + "foreignKey": "version_id", + "localKey": "id" + }, + "epics": { + "comment": "The epics of the version.", + "accessor": "epics", + "related": "Epic", + "foreignKey": "version_id", + "localKey": "id" + }, + "milestones": { + "comment": "The milestones of the version.", + "accessor": "milestones", + "related": "Milestone", + "foreignKey": "version_id", + "localKey": "id" + }, + "projects": { + "comment": "The projects of the version.", + "accessor": "projects", + "related": "Project", + "foreignKey": "version_id", + "localKey": "id" + }, + "releases": { + "comment": "The releases of the version.", + "accessor": "releases", + "related": "Release", + "foreignKey": "version_id", + "localKey": "id" + }, + "roadmaps": { + "comment": "The roadmaps of the version.", + "accessor": "roadmaps", + "related": "Roadmap", + "foreignKey": "version_id", + "localKey": "id" + }, + "sprints": { + "comment": "The sprints of the version.", + "accessor": "sprints", + "related": "Sprint", + "foreignKey": "version_id", + "localKey": "id" + }, + "teams": { + "comment": "The teams of the version.", + "accessor": "teams", + "related": "Team", + "foreignKey": "version_id", + "localKey": "id" + }, + "tickets": { + "comment": "The tickets of the version.", + "accessor": "tickets", + "related": "Ticket", + "foreignKey": "version_id", + "localKey": "id" + } + }, + "scopes": { + "sort": { + "include": "minus", + "builder": null + } + }, + "attributes": { + "version_type": null, + "created_by_id": null, + "modified_by_id": null, + "owned_by_id": null, + "parent_id": null, + "matrix_id": null, + "project_id": null, + "tag_id": null, + "team_id": null, + "ticket_id": null, + "created_at": null, + "updated_at": null, + "deleted_at": null, + "canceled_at": null, + "closed_at": null, + "embargo_at": null, + "planned_end_at": null, + "planned_start_at": null, + "postponed_at": null, + "published_at": null, + "resolved_at": null, + "resumed_at": null, + "suspended_at": null, + "timer_end_at": null, + "timer_start_at": null, + "gids": 0, + "po": 0, + "pg": 0, + "pw": 0, + "only_admin": false, + "only_user": false, + "only_guest": false, + "allow_public": false, + "status": 0, + "rank": 0, + "size": 0, + "matrix": "{}", + "x": null, + "y": null, + "z": null, + "r": null, + "theta": null, + "rho": null, + "phi": null, + "elevation": null, + "latitude": null, + "longitude": null, + "active": true, + "canceled": false, + "closed": false, + "completed": false, + "cron": false, + "featured": false, + "fixed": false, + "flagged": false, + "internal": false, + "locked": false, + "pending": false, + "planned": false, + "prioritized": false, + "problem": false, + "published": false, + "released": false, + "resolved": false, + "retired": false, + "special": false, + "suspended": false, + "unknown": false, + "locale": "", + "label": "", + "title": "", + "byline": "", + "slug": null, + "url": "", + "description": "", + "introduction": "", + "content": null, + "summary": null, + "icon": "", + "image": "", + "avatar": "", + "ui": "{}", + "assets": "{}", + "meta": "{}", + "notes": "[]", + "options": "{}", + "sources": "{}" + }, + "casts": { + "version_type": "string", + "created_at": "datetime", + "updated_at": "datetime", + "deleted_at": "datetime", + "canceled_at": "datetime", + "closed_at": "datetime", + "embargo_at": "datetime", + "planned_end_at": "datetime", + "planned_start_at": "datetime", + "postponed_at": "datetime", + "published_at": "datetime", + "resolved_at": "datetime", + "resumed_at": "datetime", + "suspended_at": "datetime", + "timer_end_at": "datetime", + "timer_start_at": "datetime", + "gids": "integer", + "po": "integer", + "pg": "integer", + "pw": "integer", + "only_admin": "boolean", + "only_user": "boolean", + "only_guest": "boolean", + "allow_public": "boolean", + "status": "integer", + "rank": "integer", + "size": "integer", + "matrix": "array", + "x": "integer", + "y": "integer", + "z": "integer", + "r": "float", + "theta": "float", + "rho": "float", + "phi": "float", + "elevation": "float", + "latitude": "float", + "longitude": "float", + "active": "boolean", + "canceled": "boolean", + "closed": "boolean", + "completed": "boolean", + "cron": "boolean", + "featured": "boolean", + "fixed": "boolean", + "flagged": "boolean", + "internal": "boolean", + "locked": "boolean", + "pending": "boolean", + "planned": "boolean", + "prioritized": "boolean", + "problem": "boolean", + "published": "boolean", + "released": "boolean", + "resolved": "boolean", + "retired": "boolean", + "special": "boolean", + "suspended": "boolean", + "unknown": "boolean", + "locale": "string", + "label": "string", + "title": "string", + "byline": "string", + "slug": "string", + "url": "string", + "description": "string", + "introduction": "string", + "content": "string", + "summary": "string", + "icon": "string", + "image": "string", + "avatar": "string", + "ui": "array", + "assets": "array", + "meta": "array", + "notes": "array", + "options": "array", + "sources": "array" + }, + "fillable": [ + "version_type", + "owned_by_id", + "parent_id", + "matrix_id", + "project_id", + "tag_id", + "team_id", + "ticket_id", + "canceled_at", + "closed_at", + "embargo_at", + "planned_end_at", + "planned_start_at", + "postponed_at", + "published_at", + "resolved_at", + "resumed_at", + "suspended_at", + "timer_end_at", + "timer_start_at", + "gids", + "po", + "pg", + "pw", + "only_admin", + "only_user", + "only_guest", + "allow_public", + "status", + "rank", + "size", + "matrix", + "x", + "y", + "z", + "r", + "theta", + "rho", + "phi", + "elevation", + "latitude", + "longitude", + "active", + "canceled", + "closed", + "completed", + "cron", + "featured", + "fixed", + "flagged", + "internal", + "locked", + "pending", + "planned", + "prioritized", + "problem", + "published", + "released", + "resolved", + "retired", + "special", + "suspended", + "unknown", + "locale", + "label", + "title", + "byline", + "slug", + "url", + "description", + "introduction", + "content", + "summary", + "icon", + "image", + "avatar", + "ui", + "assets", + "meta", + "options", + "sources" + ], + "filters": { + "builder": null, + "ids": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "version_type", + "label": "Version Type", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "created_by_id", + "label": "Created by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "modified_by_id", + "label": "Modified by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "owned_by_id", + "label": "Owned by id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "matrix_id", + "label": "Matrix id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "project_id", + "label": "Project id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "tag_id", + "label": "Tag id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "team_id", + "label": "Team id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + }, + { + "column": "ticket_id", + "label": "Ticket id", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "uuid" + } + ], + "dates": [ + { + "column": "created_at", + "label": "Created at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "updated_at", + "label": "Updated at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "deleted_at", + "label": "Deleted at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "canceled_at", + "label": "Canceled at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "closed_at", + "label": "Closed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "embargo_at", + "label": "Embargo at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "planned_end_at", + "label": "Planned end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "planned_start_at", + "label": "Planned start at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "postponed_at", + "label": "Postponed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "resolved_at", + "label": "Resolved at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "resumed_at", + "label": "Resumed at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "suspended_at", + "label": "Suspended at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "datetime" + } + ], + "flags": [ + { + "column": "active", + "label": "Active", + "icon": "fa-solid fa-person-running", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "canceled", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "closed", + "label": "Closed", + "icon": "fa-solid fa-xmark", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "completed", + "label": "Completed", + "icon": "fa-solid fa-check", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "fixed", + "label": "Fixed", + "icon": "fa-solid fa-wrench", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "flagged", + "label": "Flagged", + "icon": "fa-solid fa-flag", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "internal", + "label": "Internal", + "icon": "fa-solid fa-server", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "locked", + "label": "Locked", + "icon": "fa-solid fa-lock text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "pending", + "label": "Pending", + "icon": "fa-solid fa-circle-pause text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "planned", + "label": "Planned", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "problem", + "label": "Problem", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "resolved", + "label": "Resolved", + "icon": "fa-solid fa-check-double text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "suspended", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "unknown", + "label": "Unknown", + "icon": "fa-solid fa-question text-warning", + "nullable": true, + "unsigned": true, + "type": "boolean" + } + ], + "trash": { + "hide": true, + "only": true, + "with": true + }, + "columns": [ + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "label", + "label": "Label", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "title", + "label": "Title", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "byline", + "label": "Byline", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "slug", + "label": "Slug", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "url", + "label": "Url", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "description", + "label": "Description", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "introduction", + "label": "Introduction", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "content", + "label": "Content", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + }, + { + "column": "summary", + "label": "Summary", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "mediumText" + } + ], + "permissions": [ + { + "column": "gids", + "label": "Gids", + "icon": "fa-solid fa-people-group", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "po", + "label": "Po", + "icon": "fa-solid fa-house-user", + "nullable": true, + "unsigned": true, + "type": "tinyInteger" + }, + { + "column": "pg", + "label": "Pg", + "icon": "fa-solid fa-people-roof", + "nullable": true, + "unsigned": true, + "type": "tinyInteger" + }, + { + "column": "pw", + "label": "Pw", + "icon": "fa-solid fa-globe", + "nullable": true, + "unsigned": true, + "type": "tinyInteger" + }, + { + "column": "only_admin", + "label": "Only admin", + "icon": "fa-solid fa-user-gear", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "only_user", + "label": "Only user", + "icon": "fa-solid fa-user", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "only_guest", + "label": "Only guest", + "icon": "fa-solid fa-person-rays", + "nullable": true, + "unsigned": true, + "type": "boolean" + }, + { + "column": "allow_public", + "label": "Allow public", + "icon": "fa-solid fa-users-line", + "nullable": true, + "unsigned": true, + "type": "boolean" + } + ], + "status": [ + { + "column": "status", + "label": "Status", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "rank", + "label": "Rank", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + }, + { + "column": "size", + "label": "Size", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "bigInteger" + } + ], + "matrix": [ + { + "column": "matrix", + "label": "Matrix", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "x", + "label": "x", + "icon": "", + "nullable": true, + "unsigned": false, + "type": "integer" + }, + { + "column": "y", + "label": "y", + "icon": "", + "nullable": true, + "unsigned": false, + "type": "integer" + }, + { + "column": "z", + "label": "z", + "icon": "", + "nullable": true, + "unsigned": false, + "type": "integer" + }, + { + "column": "r", + "label": "r", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "theta", + "label": "\u03b8", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "rho", + "label": "\u03c1", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "phi", + "label": "\u03c6", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "elevation", + "label": "Elevation", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "latitude", + "label": "Latitude", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + }, + { + "column": "longitude", + "label": "Longitude", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "float" + } + ], + "ui": [ + { + "column": "icon", + "label": "Icon", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "image", + "label": "Image", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "avatar", + "label": "Avatar", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "string" + }, + { + "column": "ui", + "label": "Ui", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + } + ], + "json": [ + { + "column": "assets", + "label": "Assets", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "meta", + "label": "Meta", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "notes", + "label": "Notes", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_ARRAY" + }, + { + "column": "options", + "label": "Options", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + }, + { + "column": "sources", + "label": "Sources", + "icon": "", + "nullable": true, + "unsigned": true, + "type": "JSON_OBJECT" + } + ] + }, + "models": [], + "sortable": [ + { + "column": "id", + "label": "ID", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "version_type", + "label": "Version Type", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "created_by_id", + "label": "Created by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "modified_by_id", + "label": "Modified by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "owned_by_id", + "label": "Owned by id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "parent_id", + "label": "Parent id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "matrix_id", + "label": "Matrix id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "project_id", + "label": "Project id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "tag_id", + "label": "Tag id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "team_id", + "label": "Team id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "ticket_id", + "label": "Ticket id", + "icon": "", + "nullable": false, + "type": "uuid" + }, + { + "column": "created_at", + "label": "Created At", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "updated_at", + "label": "Updated At", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "deleted_at", + "label": "Deleted At", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "canceled_at", + "label": "Canceled at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "closed_at", + "label": "Closed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "embargo_at", + "label": "Embargo at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "planned_end_at", + "label": "Planned end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "planned_start_at", + "label": "Planned start at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "postponed_at", + "label": "Postponed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "published_at", + "label": "Published at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "resolved_at", + "label": "Resolved at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "resumed_at", + "label": "Resumed at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "suspended_at", + "label": "Suspended at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_end_at", + "label": "Timer end at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "timer_start_at", + "label": "Timer start at", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "gids", + "label": "Gids", + "icon": "fa-solid fa-people-group", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "po", + "label": "Po", + "icon": "fa-solid fa-house-user", + "nullable": false, + "type": "tinyInteger" + }, + { + "column": "pg", + "label": "Pg", + "icon": "fa-solid fa-people-roof", + "nullable": false, + "type": "tinyInteger" + }, + { + "column": "pw", + "label": "Pw", + "icon": "fa-solid fa-globe", + "nullable": false, + "type": "tinyInteger" + }, + { + "column": "only_admin", + "label": "Only admin", + "icon": "fa-solid fa-user-gear", + "nullable": false, + "type": "boolean" + }, + { + "column": "only_user", + "label": "Only user", + "icon": "fa-solid fa-user", + "nullable": false, + "type": "boolean" + }, + { + "column": "only_guest", + "label": "Only guest", + "icon": "fa-solid fa-person-rays", + "nullable": false, + "type": "boolean" + }, + { + "column": "allow_public", + "label": "Allow public", + "icon": "fa-solid fa-users-line", + "nullable": false, + "type": "boolean" + }, + { + "column": "status", + "label": "Status", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "rank", + "label": "Rank", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "size", + "label": "Size", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "matrix", + "label": "Matrix", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "x", + "label": "X", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "y", + "label": "Y", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "z", + "label": "Z", + "icon": "", + "nullable": false, + "type": "bigInteger" + }, + { + "column": "r", + "label": "R", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "theta", + "label": "Theta", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "rho", + "label": "Rho", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "phi", + "label": "Phi", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "elevation", + "label": "Elevation", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "latitude", + "label": "Latitude", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "longitude", + "label": "Longitude", + "icon": "", + "nullable": false, + "type": "float" + }, + { + "column": "active", + "label": "Active", + "icon": "fa-solid fa-person-running", + "nullable": false, + "type": "boolean" + }, + { + "column": "canceled", + "label": "Canceled", + "icon": "fa-solid fa-ban text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "closed", + "label": "Closed", + "icon": "fa-solid fa-xmark", + "nullable": false, + "type": "boolean" + }, + { + "column": "completed", + "label": "Completed", + "icon": "fa-solid fa-check", + "nullable": false, + "type": "boolean" + }, + { + "column": "cron", + "label": "Cron", + "icon": "fa-regular fa-clock", + "nullable": false, + "type": "boolean" + }, + { + "column": "featured", + "label": "Featured", + "icon": "fa-solid fa-star text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "fixed", + "label": "Fixed", + "icon": "fa-solid fa-wrench", + "nullable": false, + "type": "boolean" + }, + { + "column": "flagged", + "label": "Flagged", + "icon": "fa-solid fa-flag", + "nullable": false, + "type": "boolean" + }, + { + "column": "internal", + "label": "Internal", + "icon": "fa-solid fa-server", + "nullable": false, + "type": "boolean" + }, + { + "column": "locked", + "label": "Locked", + "icon": "fa-solid fa-lock text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "pending", + "label": "Pending", + "icon": "fa-solid fa-circle-pause text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "planned", + "label": "Planned", + "icon": "fa-solid fa-circle-pause text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "prioritized", + "label": "Prioritized", + "icon": "fa-solid fa-triangle-exclamation text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "problem", + "label": "Problem", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "published", + "label": "Published", + "icon": "fa-solid fa-book", + "nullable": false, + "type": "boolean" + }, + { + "column": "released", + "label": "Released", + "icon": "fa-solid fa-dove", + "nullable": false, + "type": "boolean" + }, + { + "column": "resolved", + "label": "Resolved", + "icon": "fa-solid fa-check-double text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "retired", + "label": "Retired", + "icon": "fa-solid fa-chair text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "special", + "label": "Special", + "icon": "fa-solid fa-star text-success", + "nullable": false, + "type": "boolean" + }, + { + "column": "suspended", + "label": "Suspended", + "icon": "fa-solid fa-hand text-danger", + "nullable": false, + "type": "boolean" + }, + { + "column": "unknown", + "label": "Unknown", + "icon": "fa-solid fa-question text-warning", + "nullable": false, + "type": "boolean" + }, + { + "column": "locale", + "label": "Locale", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "label", + "label": "Label", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "title", + "label": "Title", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "byline", + "label": "Byline", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "slug", + "label": "Slug", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "url", + "label": "Url", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "description", + "label": "Description", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "introduction", + "label": "Introduction", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "content", + "label": "Content", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "summary", + "label": "Summary", + "icon": "", + "nullable": false, + "type": "mediumText" + }, + { + "column": "icon", + "label": "Icon", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "image", + "label": "Image", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "avatar", + "label": "Avatar", + "icon": "", + "nullable": false, + "type": "string" + }, + { + "column": "ui", + "label": "Ui", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "assets", + "label": "Assets", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "meta", + "label": "Meta", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "notes", + "label": "Notes", + "icon": "", + "nullable": false, + "type": "JSON_ARRAY" + }, + { + "column": "options", + "label": "Options", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + }, + { + "column": "sources", + "label": "Sources", + "icon": "", + "nullable": false, + "type": "JSON_OBJECT" + } + ], + "create": { + "migration": "2020_01_02_100001_create_matrix_versions_table", + "primary": "uuid", + "timestamps": true, + "softDeletes": true, + "trash": { + "hide": false, + "only": false, + "with": false + }, + "ids": { + "version_type": { + "column": "version_type", + "label": "Version Type", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "string" + }, + "created_by_id": { + "column": "created_by_id", + "label": "Created by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": true, + "unsigned": false, + "type": "uuid" + }, + "modified_by_id": { + "column": "modified_by_id", + "label": "Modified by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": true, + "unsigned": false, + "type": "uuid" + }, + "owned_by_id": { + "column": "owned_by_id", + "label": "Owned by id", + "description": "", + "foreign": { + "references": "id", + "on": "users" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "parent_id": { + "column": "parent_id", + "label": "Parent id", + "description": "", + "foreign": null, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "matrix_id": { + "column": "matrix_id", + "label": "Matrix id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_matrices" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "project_id": { + "column": "project_id", + "label": "Project id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_projects" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "tag_id": { + "column": "tag_id", + "label": "Tag id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_tags" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "team_id": { + "column": "team_id", + "label": "Team id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_teams" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + }, + "ticket_id": { + "column": "ticket_id", + "label": "Ticket id", + "description": "", + "foreign": { + "references": "id", + "on": "matrix_tickets" + }, + "icon": "", + "index": true, + "nullable": true, + "readOnly": false, + "unsigned": false, + "type": "uuid" + } + }, + "unique": [ + { + "keys": [ + "slug", + "parent_id" + ] + } + ], + "dates": { + "canceled_at": { + "column": "canceled_at", + "label": "Canceled at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "closed_at": { + "column": "closed_at", + "label": "Closed at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "embargo_at": { + "column": "embargo_at", + "label": "Embargo at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_end_at": { + "column": "planned_end_at", + "label": "Planned end at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "planned_start_at": { + "column": "planned_start_at", + "label": "Planned start at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "postponed_at": { + "column": "postponed_at", + "label": "Postponed at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "published_at": { + "column": "published_at", + "label": "Published at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "resolved_at": { + "column": "resolved_at", + "label": "Resolved at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "resumed_at": { + "column": "resumed_at", + "label": "Resumed at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "suspended_at": { + "column": "suspended_at", + "label": "Suspended at", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_end_at": { + "column": "timer_end_at", + "label": "Timer end at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + }, + "timer_start_at": { + "column": "timer_start_at", + "label": "Timer start at", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "dateTime" + } + }, + "flags": { + "active": { + "column": "active", + "label": "Active", + "description": "", + "icon": "fa-solid fa-person-running", + "default": true, + "index": true, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "canceled": { + "column": "canceled", + "label": "Canceled", + "description": "", + "icon": "fa-solid fa-ban text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "closed": { + "column": "closed", + "label": "Closed", + "description": "", + "icon": "fa-solid fa-xmark", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "completed": { + "column": "completed", + "label": "Completed", + "description": "", + "icon": "fa-solid fa-check", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "cron": { + "column": "cron", + "label": "Cron", + "description": "", + "icon": "fa-regular fa-clock", + "default": false, + "index": true, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "featured": { + "column": "featured", + "label": "Featured", + "description": "", + "icon": "fa-solid fa-star text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "fixed": { + "column": "fixed", + "label": "Fixed", + "description": "", + "icon": "fa-solid fa-wrench", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "flagged": { + "column": "flagged", + "label": "Flagged", + "description": "", + "icon": "fa-solid fa-flag", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "internal": { + "column": "internal", + "label": "Internal", + "description": "", + "icon": "fa-solid fa-server", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "locked": { + "column": "locked", + "label": "Locked", + "description": "", + "icon": "fa-solid fa-lock text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "pending": { + "column": "pending", + "label": "Pending", + "description": "", + "icon": "fa-solid fa-circle-pause text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "planned": { + "column": "planned", + "label": "Planned", + "description": "", + "icon": "fa-solid fa-circle-pause text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "prioritized": { + "column": "prioritized", + "label": "Prioritized", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "problem": { + "column": "problem", + "label": "Problem", + "description": "", + "icon": "fa-solid fa-triangle-exclamation text-danger", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "published": { + "column": "published", + "label": "Published", + "description": "", + "icon": "fa-solid fa-book", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "released": { + "column": "released", + "label": "Released", + "description": "", + "icon": "fa-solid fa-dove", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "resolved": { + "column": "resolved", + "label": "Resolved", + "description": "", + "icon": "fa-solid fa-check-double text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "retired": { + "column": "retired", + "label": "Retired", + "description": "", + "icon": "fa-solid fa-chair text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "special": { + "column": "special", + "label": "Special", + "description": "", + "icon": "fa-solid fa-star text-success", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "suspended": { + "column": "suspended", + "label": "Suspended", + "description": "", + "icon": "fa-solid fa-hand text-danger", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + }, + "unknown": { + "column": "unknown", + "label": "Unknown", + "description": "", + "icon": "fa-solid fa-question text-warning", + "default": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean" + } + }, + "columns": { + "locale": { + "column": "locale", + "label": "Locale", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, + "label": { + "column": "label", + "label": "Label", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 128, + "default": "" + }, + "title": { + "column": "title", + "label": "Title", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, + "byline": { + "column": "byline", + "label": "Byline", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 255, + "default": "" + }, + "slug": { + "column": "slug", + "label": "Slug", + "description": "", + "icon": "", + "html": false, + "index": true, + "nullable": true, + "readOnly": false, + "type": "string", + "size": 128, + "default": null + }, + "url": { + "column": "url", + "label": "Url", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "description": { + "column": "description", + "label": "Description", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "introduction": { + "column": "introduction", + "label": "Introduction", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "content": { + "column": "content", + "label": "Content", + "description": "", + "icon": "", + "html": true, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + }, + "summary": { + "column": "summary", + "label": "Summary", + "description": "", + "icon": "", + "html": true, + "index": false, + "nullable": true, + "readOnly": false, + "type": "mediumText" + } + }, + "permissions": { + "gids": { + "column": "gids", + "label": "Gids", + "description": "", + "icon": "fa-solid fa-people-group", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": true, + "default": 0 + }, + "po": { + "column": "po", + "label": "Po", + "description": "", + "icon": "fa-solid fa-house-user", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "tinyInteger", + "unsigned": true, + "default": 0 + }, + "pg": { + "column": "pg", + "label": "Pg", + "description": "", + "icon": "fa-solid fa-people-roof", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "tinyInteger", + "unsigned": true, + "default": 0 + }, + "pw": { + "column": "pw", + "label": "Pw", + "description": "", + "icon": "fa-solid fa-globe", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "tinyInteger", + "unsigned": true, + "default": 0 + }, + "only_admin": { + "column": "only_admin", + "label": "Only admin", + "description": "", + "icon": "fa-solid fa-user-gear", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + }, + "only_user": { + "column": "only_user", + "label": "Only user", + "description": "", + "icon": "fa-solid fa-user", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + }, + "only_guest": { + "column": "only_guest", + "label": "Only guest", + "description": "", + "icon": "fa-solid fa-person-rays", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + }, + "allow_public": { + "column": "allow_public", + "label": "Allow public", + "description": "", + "icon": "fa-solid fa-users-line", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "boolean", + "default": false + } + }, + "status": { + "status": { + "column": "status", + "label": "Status", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": true, + "default": 0 + }, + "rank": { + "column": "rank", + "label": "Rank", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": 0 + }, + "size": { + "column": "size", + "label": "Size", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": 0 + } + }, + "matrix": { + "matrix": { + "column": "matrix", + "label": "Matrix", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "x": { + "column": "x", + "label": "X", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": null + }, + "y": { + "column": "y", + "label": "Y", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": null + }, + "z": { + "column": "z", + "label": "Z", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "bigInteger", + "unsigned": false, + "default": null + }, + "r": { + "column": "r", + "label": "R", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 65, + "scale": 10, + "default": null + }, + "theta": { + "column": "theta", + "label": "Theta", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 10, + "scale": 6, + "default": null + }, + "rho": { + "column": "rho", + "label": "Rho", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 10, + "scale": 6, + "default": null + }, + "phi": { + "column": "phi", + "label": "Phi", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 10, + "scale": 6, + "default": null + }, + "elevation": { + "column": "elevation", + "label": "Elevation", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 65, + "scale": 10, + "default": null + }, + "latitude": { + "column": "latitude", + "label": "Latitude", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 8, + "scale": 6, + "default": null + }, + "longitude": { + "column": "longitude", + "label": "Longitude", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "decimal", + "precision": 9, + "scale": 6, + "default": null + } + }, + "ui": { + "icon": { + "column": "icon", + "label": "Icon", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 128, + "default": "" + }, + "image": { + "column": "image", + "label": "Image", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "avatar": { + "column": "avatar", + "label": "Avatar", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": false, + "readOnly": false, + "type": "string", + "size": 512, + "default": "" + }, + "ui": { + "column": "ui", + "label": "Ui", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + } + }, + "json": { + "assets": { + "column": "assets", + "label": "Assets", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "meta": { + "column": "meta", + "label": "Meta", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "notes": { + "column": "notes", + "label": "Notes", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": true, + "type": "JSON_ARRAY", + "comment": "Array of note objects", + "default": "[]" + }, + "options": { + "column": "options", + "label": "Options", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + }, + "sources": { + "column": "sources", + "label": "Sources", + "description": "", + "icon": "", + "html": false, + "index": false, + "nullable": true, + "readOnly": false, + "type": "JSON_OBJECT", + "default": "{}" + } + } + }, + "uses": [ + "Illuminate/Database/Eloquent/Relations/HasOne", + "Illuminate/Database/Eloquent/Relations/HasMany", + "Playground/Models/Model" + ] +} \ No newline at end of file diff --git a/resources/package/package.playground-matrix.json b/resources/package/package.playground-matrix.json index 6c41e30..9759713 100644 --- a/resources/package/package.playground-matrix.json +++ b/resources/package/package.playground-matrix.json @@ -22,15 +22,15 @@ "withTests": true, "playground": true, "package_name": "Playground: Matrix", - "package_description": "Playground: This package provides the models to use Playground Matrix, a project management tool.", + "package_description": "Playground: This package provides the models to use Playground Matrix, a Project Management System.", "package_homepage": "https://github.com/gammamatrix/playground-matrix", "package_keywords": [ - "matrix", - "projects", - "tickets", "gammamatrix", "laravel", - "playground" + "matrix", + "playground", + "projects", + "tickets" ], "package_license": "MIT", "package_authors": [ diff --git a/src/Models/Backlog.php b/src/Models/Backlog.php index 30b856b..50c100c 100644 --- a/src/Models/Backlog.php +++ b/src/Models/Backlog.php @@ -14,11 +14,11 @@ * \Playground\Matrix\Models\Backlog * * @property string $id + * @property ?string $backlog_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $backlog_type * @property ?string $board_id * @property ?string $epic_id * @property ?string $flow_id @@ -37,20 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -78,8 +76,7 @@ * @property bool $closed * @property bool $completed * @property bool $cron - * @property bool $duplicate - * @property bool $fixed + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked @@ -90,10 +87,10 @@ * @property bool $published * @property bool $released * @property bool $retired - * @property bool $resolved * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -111,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -127,11 +125,11 @@ class Backlog extends Model * @var array */ protected $attributes = [ + 'backlog_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'backlog_type' => null, 'board_id' => null, 'epic_id' => null, 'flow_id' => null, @@ -150,20 +148,18 @@ class Backlog extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, - 'fixed_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, - 'resumed_at' => null, 'resolved_at' => null, + 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -191,20 +187,21 @@ class Backlog extends Model 'closed' => false, 'completed' => false, 'cron' => false, - 'duplicate' => false, - 'fixed' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, 'retired' => false, - 'resolved' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -222,6 +219,7 @@ class Backlog extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -235,9 +233,9 @@ class Backlog extends Model * @var array */ protected $fillable = [ + 'backlog_type', 'owned_by_id', 'parent_id', - 'backlog_type', 'board_id', 'epic_id', 'flow_id', @@ -253,20 +251,18 @@ class Backlog extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', - 'fixed_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', - 'resumed_at', 'resolved_at', + 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -294,20 +290,21 @@ class Backlog extends Model 'closed', 'completed', 'cron', - 'duplicate', - 'fixed', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', 'retired', - 'resolved', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -325,6 +322,7 @@ class Backlog extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -343,20 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', - 'fixed_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', - 'resumed_at' => 'datetime', 'resolved_at' => 'datetime', + 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -366,6 +362,8 @@ protected function casts(): array 'only_guest' => 'boolean', 'allow_public' => 'boolean', 'status' => 'integer', + 'rank' => 'integer', + 'size' => 'integer', 'matrix' => 'array', 'x' => 'integer', 'y' => 'integer', @@ -377,27 +375,26 @@ protected function casts(): array 'elevation' => 'float', 'latitude' => 'float', 'longitude' => 'float', - 'rank' => 'integer', - 'size' => 'integer', 'active' => 'boolean', 'canceled' => 'boolean', 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', - 'duplicate' => 'boolean', - 'fixed' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', 'retired' => 'boolean', - 'resolved' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -415,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -633,6 +631,90 @@ public function version(): HasOne ); } + /** + * The boards of the backlog. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'backlog_id', + 'id' + ); + } + + /** + * The epics of the backlog. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'backlog_id', + 'id' + ); + } + + /** + * The milestones of the backlog. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'backlog_id', + 'id' + ); + } + + /** + * The projects of the backlog. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'backlog_id', + 'id' + ); + } + + /** + * The releases of the backlog. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'backlog_id', + 'id' + ); + } + + /** + * The roadmaps of the backlog. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'backlog_id', + 'id' + ); + } + /** * The sprints of the backlog. * @@ -647,6 +729,20 @@ public function sprints(): HasMany ); } + /** + * The teams of the backlog. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'backlog_id', + 'id' + ); + } + /** * The tickets of the backlog. * diff --git a/src/Models/Board.php b/src/Models/Board.php index 1afabda..e3f16fe 100644 --- a/src/Models/Board.php +++ b/src/Models/Board.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,12 +14,12 @@ * \Playground\Matrix\Models\Board * * @property string $id + * @property ?string $board_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id * @property ?string $backlog_id - * @property ?string $board_type * @property ?string $epic_id * @property ?string $flow_id * @property ?string $matrix_id @@ -36,20 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -77,20 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron - * @property bool $duplicate - * @property bool $fixed + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released * @property bool $retired - * @property bool $resolved + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -108,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -124,11 +125,11 @@ class Board extends Model * @var array */ protected $attributes = [ + 'board_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'board_type' => null, 'backlog_id' => null, 'epic_id' => null, 'flow_id' => null, @@ -147,20 +148,18 @@ class Board extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, - 'fixed_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, - 'resumed_at' => null, 'resolved_at' => null, + 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -188,20 +187,21 @@ class Board extends Model 'closed' => false, 'completed' => false, 'cron' => false, - 'duplicate' => false, - 'fixed' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, 'retired' => false, - 'resolved' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -219,6 +219,7 @@ class Board extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -232,9 +233,9 @@ class Board extends Model * @var array */ protected $fillable = [ + 'board_type', 'owned_by_id', 'parent_id', - 'board_type', 'backlog_id', 'epic_id', 'flow_id', @@ -250,20 +251,18 @@ class Board extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', - 'fixed_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', - 'resumed_at', 'resolved_at', + 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -291,20 +290,21 @@ class Board extends Model 'closed', 'completed', 'cron', - 'duplicate', - 'fixed', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', 'retired', - 'resolved', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -322,6 +322,7 @@ class Board extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -340,20 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', - 'fixed_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', - 'resumed_at' => 'datetime', 'resolved_at' => 'datetime', + 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -381,20 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', - 'duplicate' => 'boolean', - 'fixed' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', 'retired' => 'boolean', - 'resolved' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -412,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -629,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the board. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'board_id', + 'id' + ); + } + + /** + * The epics of the board. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'board_id', + 'id' + ); + } + + /** + * The milestones of the board. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'board_id', + 'id' + ); + } + + /** + * The projects of the board. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'board_id', + 'id' + ); + } + + /** + * The releases of the board. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'board_id', + 'id' + ); + } + + /** + * The roadmaps of the board. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'board_id', + 'id' + ); + } + + /** + * The sprints of the board. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'board_id', + 'id' + ); + } + + /** + * The teams of the board. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'board_id', + 'id' + ); + } + + /** + * The tickets of the board. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'board_id', + 'id' + ); + } } diff --git a/src/Models/Epic.php b/src/Models/Epic.php index bc0a2fa..20d5b15 100644 --- a/src/Models/Epic.php +++ b/src/Models/Epic.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Epic * * @property string $id + * @property ?string $epic_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $epic_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $flow_id @@ -36,20 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -77,20 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron - * @property bool $duplicate - * @property bool $fixed + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released * @property bool $retired - * @property bool $resolved + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -108,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -124,11 +125,11 @@ class Epic extends Model * @var array */ protected $attributes = [ + 'epic_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'epic_type' => null, 'backlog_id' => null, 'board_id' => null, 'flow_id' => null, @@ -147,20 +148,18 @@ class Epic extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, - 'fixed_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, - 'resumed_at' => null, 'resolved_at' => null, + 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -188,20 +187,21 @@ class Epic extends Model 'closed' => false, 'completed' => false, 'cron' => false, - 'duplicate' => false, - 'fixed' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, 'retired' => false, - 'resolved' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -219,6 +219,7 @@ class Epic extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -232,9 +233,9 @@ class Epic extends Model * @var array */ protected $fillable = [ + 'epic_type', 'owned_by_id', 'parent_id', - 'epic_type', 'backlog_id', 'board_id', 'flow_id', @@ -250,20 +251,18 @@ class Epic extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', - 'fixed_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', - 'resumed_at', 'resolved_at', + 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -291,20 +290,21 @@ class Epic extends Model 'closed', 'completed', 'cron', - 'duplicate', - 'fixed', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', 'retired', - 'resolved', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -322,6 +322,7 @@ class Epic extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -340,20 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', - 'fixed_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', - 'resumed_at' => 'datetime', 'resolved_at' => 'datetime', + 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -381,20 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', - 'duplicate' => 'boolean', - 'fixed' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', 'retired' => 'boolean', - 'resolved' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -412,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -629,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the epic. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'epic_id', + 'id' + ); + } + + /** + * The boards of the epic. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'epic_id', + 'id' + ); + } + + /** + * The milestones of the epic. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'epic_id', + 'id' + ); + } + + /** + * The projects of the epic. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'epic_id', + 'id' + ); + } + + /** + * The releases of the epic. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'epic_id', + 'id' + ); + } + + /** + * The roadmaps of the epic. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'epic_id', + 'id' + ); + } + + /** + * The sprints of the epic. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'epic_id', + 'id' + ); + } + + /** + * The teams of the epic. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'epic_id', + 'id' + ); + } + + /** + * The tickets of the epic. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'epic_id', + 'id' + ); + } } diff --git a/src/Models/Flow.php b/src/Models/Flow.php index 5854ddd..83ee7e0 100644 --- a/src/Models/Flow.php +++ b/src/Models/Flow.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Flow * * @property string $id + * @property ?string $flow_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $flow_type * @property ?string $matrix_id * @property ?string $note_id * @property ?string $tag_id @@ -25,14 +26,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at + * @property ?Carbon $canceled_at + * @property ?Carbon $closed_at * @property ?Carbon $embargo_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at + * @property ?Carbon $published_at + * @property ?Carbon $resolved_at * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -56,16 +61,25 @@ * @property ?double $latitude * @property ?double $longitude * @property bool $active + * @property bool $canceled + * @property bool $closed + * @property bool $completed * @property bool $cron + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem + * @property bool $published + * @property bool $released * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -80,13 +94,9 @@ * @property string $avatar * @property ?array $ui * @property ?array $assets - * @property ?array $flow * @property ?array $meta * @property ?array $notes * @property ?array $options - * @property ?array $backlog - * @property ?array $board - * @property ?array $roadmap * @property ?array $sources */ class Flow extends Model @@ -99,11 +109,11 @@ class Flow extends Model * @var array */ protected $attributes = [ + 'flow_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'flow_type' => null, 'matrix_id' => null, 'note_id' => null, 'tag_id' => null, @@ -111,14 +121,18 @@ class Flow extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, + 'published_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -142,16 +156,25 @@ class Flow extends Model 'latitude' => null, 'longitude' => null, 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, + 'published' => false, + 'released' => false, 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -166,13 +189,9 @@ class Flow extends Model 'avatar' => '', 'ui' => '{}', 'assets' => '{}', - 'backlog' => '{}', - 'board' => '{}', - 'flow' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', - 'roadmap' => '{}', 'sources' => '{}', ]; @@ -182,21 +201,25 @@ class Flow extends Model * @var array */ protected $fillable = [ + 'flow_type', 'owned_by_id', 'parent_id', - 'flow_type', 'matrix_id', 'note_id', 'tag_id', 'team_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', + 'canceled_at', + 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', + 'published_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -220,16 +243,25 @@ class Flow extends Model 'latitude', 'longitude', 'active', + 'canceled', + 'closed', + 'completed', 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', + 'published', + 'released', 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -244,12 +276,8 @@ class Flow extends Model 'avatar', 'ui', 'assets', - 'backlog', - 'board', - 'flow', 'meta', 'options', - 'roadmap', 'sources', ]; @@ -265,14 +293,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', + 'canceled_at' => 'datetime', + 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', + 'published_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -296,16 +328,25 @@ protected function casts(): array 'latitude' => 'float', 'longitude' => 'float', 'active' => 'boolean', + 'canceled' => 'boolean', + 'closed' => 'boolean', + 'completed' => 'boolean', 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', + 'published' => 'boolean', + 'released' => 'boolean', 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -320,13 +361,9 @@ protected function casts(): array 'avatar' => 'string', 'ui' => 'array', 'assets' => 'array', - 'backlog' => 'array', - 'board' => 'array', - 'flow' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', - 'roadmap' => 'array', 'sources' => 'array', ]; } @@ -386,4 +423,144 @@ public function team(): HasOne 'team_id' ); } + + /** + * The backlogs of the flow. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'flow_id', + 'id' + ); + } + + /** + * The boards of the flow. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'flow_id', + 'id' + ); + } + + /** + * The epics of the flow. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'flow_id', + 'id' + ); + } + + /** + * The milestones of the flow. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'flow_id', + 'id' + ); + } + + /** + * The projects of the flow. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'flow_id', + 'id' + ); + } + + /** + * The releases of the flow. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'flow_id', + 'id' + ); + } + + /** + * The roadmaps of the flow. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'flow_id', + 'id' + ); + } + + /** + * The sprints of the flow. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'flow_id', + 'id' + ); + } + + /** + * The teams of the flow. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'flow_id', + 'id' + ); + } + + /** + * The tickets of the flow. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'flow_id', + 'id' + ); + } } diff --git a/src/Models/Matrix.php b/src/Models/Matrix.php index bcda9bc..dc8b870 100644 --- a/src/Models/Matrix.php +++ b/src/Models/Matrix.php @@ -6,32 +6,32 @@ declare(strict_types=1); namespace Playground\Matrix\Models; -use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; /** * \Playground\Matrix\Models\Matrix * * @property string $id + * @property ?string $matrix_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $matrix_type - * @property ?string $matrix_id * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at + * @property ?Carbon $published_at + * @property ?Carbon $resolved_at * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -59,15 +59,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem + * @property bool $published + * @property bool $released * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -97,25 +103,26 @@ class Matrix extends Model * @var array */ protected $attributes = [ + 'matrix_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'matrix_type' => null, - 'matrix_id' => null, 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, + 'published_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -143,15 +150,21 @@ class Matrix extends Model 'closed' => false, 'completed' => false, 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, + 'published' => false, + 'released' => false, 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -178,20 +191,21 @@ class Matrix extends Model * @var array */ protected $fillable = [ + 'matrix_type', 'owned_by_id', 'parent_id', - 'matrix_type', - 'matrix_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', + 'published_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -219,15 +233,21 @@ class Matrix extends Model 'closed', 'completed', 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', + 'published', + 'released', 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -259,16 +279,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', + 'published_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -296,15 +318,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', + 'published' => 'boolean', + 'released' => 'boolean', 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -325,18 +353,4 @@ protected function casts(): array 'sources' => 'array', ]; } - - /** - * The matrix of the matrix. - * - * @return HasOne - */ - public function matrix(): HasOne - { - return $this->hasOne( - Matrix::class, - 'id', - 'matrix_id' - ); - } } diff --git a/src/Models/Milestone.php b/src/Models/Milestone.php index 3dd0bbf..4f0388b 100644 --- a/src/Models/Milestone.php +++ b/src/Models/Milestone.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Milestone * * @property string $id + * @property ?string $milestone_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $milestone_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $epic_id @@ -36,20 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at * @property ?Carbon $resolved_at * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -77,20 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron - * @property bool $duplicate - * @property bool $fixed + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released * @property bool $retired - * @property bool $resolved + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -108,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -124,11 +125,11 @@ class Milestone extends Model * @var array */ protected $attributes = [ + 'milestone_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'milestone_type' => null, 'backlog_id' => null, 'board_id' => null, 'epic_id' => null, @@ -147,18 +148,18 @@ class Milestone extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -186,20 +187,21 @@ class Milestone extends Model 'closed' => false, 'completed' => false, 'cron' => false, - 'duplicate' => false, - 'fixed' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, 'retired' => false, - 'resolved' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -217,6 +219,7 @@ class Milestone extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -230,9 +233,9 @@ class Milestone extends Model * @var array */ protected $fillable = [ + 'milestone_type', 'owned_by_id', 'parent_id', - 'milestone_type', 'backlog_id', 'board_id', 'epic_id', @@ -248,18 +251,18 @@ class Milestone extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -287,20 +290,21 @@ class Milestone extends Model 'closed', 'completed', 'cron', - 'duplicate', - 'fixed', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', 'retired', - 'resolved', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -318,6 +322,7 @@ class Milestone extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -336,18 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -375,20 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', - 'duplicate' => 'boolean', - 'fixed' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', 'retired' => 'boolean', - 'resolved' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -406,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -623,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the milestone. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'milestone_id', + 'id' + ); + } + + /** + * The boards of the milestone. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'milestone_id', + 'id' + ); + } + + /** + * The epics of the milestone. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'milestone_id', + 'id' + ); + } + + /** + * The projects of the milestone. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'milestone_id', + 'id' + ); + } + + /** + * The releases of the milestone. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'milestone_id', + 'id' + ); + } + + /** + * The roadmaps of the milestone. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'milestone_id', + 'id' + ); + } + + /** + * The sprints of the milestone. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'milestone_id', + 'id' + ); + } + + /** + * The teams of the milestone. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'milestone_id', + 'id' + ); + } + + /** + * The tickets of the milestone. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'milestone_id', + 'id' + ); + } } diff --git a/src/Models/Note.php b/src/Models/Note.php index 567c6b1..8611d93 100644 --- a/src/Models/Note.php +++ b/src/Models/Note.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Note * * @property string $id + * @property ?string $note_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $note_type * @property ?string $matrix_id * @property ?string $tag_id * @property ?Carbon $created_at @@ -49,13 +50,22 @@ * @property bool $canceled * @property bool $closed * @property bool $completed + * @property bool $cron + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem + * @property bool $published + * @property bool $released + * @property bool $retired + * @property bool $special + * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -85,11 +95,11 @@ class Note extends Model * @var array */ protected $attributes = [ + 'note_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'note_type' => null, 'matrix_id' => null, 'tag_id' => null, 'created_at' => null, @@ -121,13 +131,22 @@ class Note extends Model 'canceled' => false, 'closed' => false, 'completed' => false, + 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'special' => false, + 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -154,9 +173,9 @@ class Note extends Model * @var array */ protected $fillable = [ + 'note_type', 'owned_by_id', 'parent_id', - 'note_type', 'matrix_id', 'tag_id', 'gids', @@ -185,13 +204,22 @@ class Note extends Model 'canceled', 'closed', 'completed', + 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', + 'published', + 'released', + 'retired', + 'special', + 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -249,13 +277,22 @@ protected function casts(): array 'canceled' => 'boolean', 'closed' => 'boolean', 'completed' => 'boolean', + 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', + 'published' => 'boolean', + 'released' => 'boolean', + 'retired' => 'boolean', + 'special' => 'boolean', + 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -304,4 +341,144 @@ public function tag(): HasOne 'tag_id' ); } + + /** + * The backlogs of the note. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'note_id', + 'id' + ); + } + + /** + * The boards of the note. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'note_id', + 'id' + ); + } + + /** + * The epics of the note. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'note_id', + 'id' + ); + } + + /** + * The milestones of the note. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'note_id', + 'id' + ); + } + + /** + * The projects of the note. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'note_id', + 'id' + ); + } + + /** + * The releases of the note. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'note_id', + 'id' + ); + } + + /** + * The roadmaps of the note. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'note_id', + 'id' + ); + } + + /** + * The sprints of the note. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'note_id', + 'id' + ); + } + + /** + * The teams of the note. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'note_id', + 'id' + ); + } + + /** + * The tickets of the note. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'note_id', + 'id' + ); + } } diff --git a/src/Models/Project.php b/src/Models/Project.php index c4f61f9..5bfe25b 100644 --- a/src/Models/Project.php +++ b/src/Models/Project.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Project * * @property string $id + * @property ?string $project_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $project_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $epic_id @@ -36,19 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -77,19 +77,23 @@ * @property bool $completed * @property bool $cron * @property bool $duplicate + * @property bool $featured * @property bool $fixed * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released - * @property bool $retired * @property bool $resolved + * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -126,11 +130,11 @@ class Project extends Model * @var array */ protected $attributes = [ + 'project_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'project_type' => null, 'backlog_id' => null, 'board_id' => null, 'epic_id' => null, @@ -149,18 +153,18 @@ class Project extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -188,15 +192,24 @@ class Project extends Model 'closed' => false, 'completed' => false, 'cron' => false, + 'duplicate' => false, + 'featured' => false, + 'fixed' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, + 'published' => false, 'released' => false, + 'resolved' => false, + 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -230,9 +243,9 @@ class Project extends Model * @var array */ protected $fillable = [ + 'project_type', 'owned_by_id', 'parent_id', - 'project_type', 'backlog_id', 'board_id', 'epic_id', @@ -248,18 +261,18 @@ class Project extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -287,15 +300,24 @@ class Project extends Model 'closed', 'completed', 'cron', + 'duplicate', + 'featured', + 'fixed', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', + 'published', 'released', + 'resolved', + 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -334,18 +356,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -373,15 +395,24 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', + 'duplicate' => 'boolean', + 'featured' => 'boolean', + 'fixed' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', + 'published' => 'boolean', 'released' => 'boolean', + 'resolved' => 'boolean', + 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -619,4 +650,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the project. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'project_id', + 'id' + ); + } + + /** + * The boards of the project. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'project_id', + 'id' + ); + } + + /** + * The epics of the project. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'project_id', + 'id' + ); + } + + /** + * The milestones of the project. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'project_id', + 'id' + ); + } + + /** + * The releases of the project. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'project_id', + 'id' + ); + } + + /** + * The roadmaps of the project. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'project_id', + 'id' + ); + } + + /** + * The sprints of the project. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'project_id', + 'id' + ); + } + + /** + * The teams of the project. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'project_id', + 'id' + ); + } + + /** + * The tickets of the project. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'project_id', + 'id' + ); + } } diff --git a/src/Models/Release.php b/src/Models/Release.php index 124ae06..1bfaa72 100644 --- a/src/Models/Release.php +++ b/src/Models/Release.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Release * * @property string $id + * @property ?string $release_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $release_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $epic_id @@ -36,20 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at * @property ?Carbon $resolved_at * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -77,19 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron + * @property bool $featured * @property bool $flagged - * @property bool $fixed * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released - * @property bool $resolved * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -107,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -123,11 +125,11 @@ class Release extends Model * @var array */ protected $attributes = [ + 'release_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'release_type' => null, 'backlog_id' => null, 'board_id' => null, 'epic_id' => null, @@ -146,18 +148,18 @@ class Release extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -185,16 +187,21 @@ class Release extends Model 'closed' => false, 'completed' => false, 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, + 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -212,6 +219,7 @@ class Release extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -225,9 +233,9 @@ class Release extends Model * @var array */ protected $fillable = [ + 'release_type', 'owned_by_id', 'parent_id', - 'release_type', 'backlog_id', 'board_id', 'epic_id', @@ -243,18 +251,18 @@ class Release extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -282,16 +290,21 @@ class Release extends Model 'closed', 'completed', 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', + 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -309,6 +322,7 @@ class Release extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -327,18 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -366,16 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', + 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -393,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -610,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the release. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'release_id', + 'id' + ); + } + + /** + * The boards of the release. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'release_id', + 'id' + ); + } + + /** + * The epics of the release. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'release_id', + 'id' + ); + } + + /** + * The milestones of the release. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'release_id', + 'id' + ); + } + + /** + * The projects of the release. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'release_id', + 'id' + ); + } + + /** + * The roadmaps of the release. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'release_id', + 'id' + ); + } + + /** + * The sprints of the release. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'release_id', + 'id' + ); + } + + /** + * The teams of the release. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'release_id', + 'id' + ); + } + + /** + * The tickets of the release. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'release_id', + 'id' + ); + } } diff --git a/src/Models/Roadmap.php b/src/Models/Roadmap.php index c7bb810..0cb4ceb 100644 --- a/src/Models/Roadmap.php +++ b/src/Models/Roadmap.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Roadmap * * @property string $id + * @property ?string $roadmap_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $roadmap_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $epic_id @@ -36,18 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at + * @property ?Carbon $resolved_at * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -75,17 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released - * @property bool $resolved + * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -103,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -119,11 +125,11 @@ class Roadmap extends Model * @var array */ protected $attributes = [ + 'roadmap_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'roadmap_type' => null, 'backlog_id' => null, 'board_id' => null, 'epic_id' => null, @@ -142,18 +148,18 @@ class Roadmap extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -181,16 +187,21 @@ class Roadmap extends Model 'closed' => false, 'completed' => false, 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, + 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -208,6 +219,7 @@ class Roadmap extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -221,9 +233,9 @@ class Roadmap extends Model * @var array */ protected $fillable = [ + 'roadmap_type', 'owned_by_id', 'parent_id', - 'roadmap_type', 'backlog_id', 'board_id', 'epic_id', @@ -239,18 +251,18 @@ class Roadmap extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -278,16 +290,21 @@ class Roadmap extends Model 'closed', 'completed', 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', + 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -305,6 +322,7 @@ class Roadmap extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -323,18 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -362,16 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', + 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -389,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -606,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the roadmap. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The boards of the roadmap. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The epics of the roadmap. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The milestones of the roadmap. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The projects of the roadmap. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The releases of the roadmap. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The sprints of the roadmap. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The teams of the roadmap. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'roadmap_id', + 'id' + ); + } + + /** + * The tickets of the roadmap. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'roadmap_id', + 'id' + ); + } } diff --git a/src/Models/Source.php b/src/Models/Source.php index 4ec105d..1c0a850 100644 --- a/src/Models/Source.php +++ b/src/Models/Source.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,31 +14,30 @@ * \Playground\Matrix\Models\Source * * @property string $id + * @property ?string $source_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $source_type * @property ?string $matrix_id + * @property ?string $note_id * @property ?string $tag_id * @property ?string $team_id * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -65,20 +65,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron - * @property bool $duplicate - * @property bool $fixed + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released * @property bool $retired - * @property bool $resolved + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -108,29 +109,30 @@ class Source extends Model * @var array */ protected $attributes = [ + 'source_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'source_type' => null, 'matrix_id' => null, + 'note_id' => null, 'tag_id' => null, 'team_id' => null, 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -158,16 +160,21 @@ class Source extends Model 'closed' => false, 'completed' => false, 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, + 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -194,24 +201,25 @@ class Source extends Model * @var array */ protected $fillable = [ + 'source_type', 'owned_by_id', 'parent_id', - 'source_type', 'matrix_id', + 'note_id', 'tag_id', 'team_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -239,16 +247,21 @@ class Source extends Model 'closed', 'completed', 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', + 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -280,18 +293,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -319,16 +332,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', + 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -364,6 +382,20 @@ public function matrix(): HasOne ); } + /** + * The note of the source. + * + * @return HasOne + */ + public function note(): HasOne + { + return $this->hasOne( + Note::class, + 'id', + 'note_id' + ); + } + /** * The tag of the source. * @@ -391,4 +423,144 @@ public function team(): HasOne 'team_id' ); } + + /** + * The backlogs of the source. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'source_id', + 'id' + ); + } + + /** + * The boards of the source. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'source_id', + 'id' + ); + } + + /** + * The epics of the source. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'source_id', + 'id' + ); + } + + /** + * The milestones of the source. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'source_id', + 'id' + ); + } + + /** + * The projects of the source. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'source_id', + 'id' + ); + } + + /** + * The releases of the source. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'source_id', + 'id' + ); + } + + /** + * The roadmaps of the source. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'source_id', + 'id' + ); + } + + /** + * The sprints of the source. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'source_id', + 'id' + ); + } + + /** + * The teams of the source. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'source_id', + 'id' + ); + } + + /** + * The tickets of the source. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'source_id', + 'id' + ); + } } diff --git a/src/Models/Sprint.php b/src/Models/Sprint.php index d5ebd94..1e0a450 100644 --- a/src/Models/Sprint.php +++ b/src/Models/Sprint.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Sprint * * @property string $id + * @property ?string $sprint_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $sprint_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $epic_id @@ -36,20 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -77,20 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron - * @property bool $duplicate - * @property bool $fixed + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released * @property bool $retired - * @property bool $resolved + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -108,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -124,11 +125,11 @@ class Sprint extends Model * @var array */ protected $attributes = [ + 'sprint_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'sprint_type' => null, 'backlog_id' => null, 'board_id' => null, 'epic_id' => null, @@ -147,20 +148,18 @@ class Sprint extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, - 'fixed_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, - 'resumed_at' => null, 'resolved_at' => null, + 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -188,20 +187,21 @@ class Sprint extends Model 'closed' => false, 'completed' => false, 'cron' => false, - 'duplicate' => false, - 'fixed' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, 'published' => false, 'released' => false, 'retired' => false, - 'resolved' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -219,6 +219,7 @@ class Sprint extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -232,9 +233,9 @@ class Sprint extends Model * @var array */ protected $fillable = [ + 'sprint_type', 'owned_by_id', 'parent_id', - 'sprint_type', 'backlog_id', 'board_id', 'epic_id', @@ -250,20 +251,18 @@ class Sprint extends Model 'team_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', - 'fixed_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', - 'resumed_at', 'resolved_at', + 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -291,20 +290,21 @@ class Sprint extends Model 'closed', 'completed', 'cron', - 'duplicate', - 'fixed', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', 'published', 'released', 'retired', - 'resolved', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -322,6 +322,7 @@ class Sprint extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -340,20 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', - 'fixed_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', - 'resumed_at' => 'datetime', 'resolved_at' => 'datetime', + 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -381,20 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', - 'duplicate' => 'boolean', - 'fixed' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', 'retired' => 'boolean', - 'resolved' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -412,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -629,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the sprint. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'sprint_id', + 'id' + ); + } + + /** + * The boards of the sprint. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'sprint_id', + 'id' + ); + } + + /** + * The epics of the sprint. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'sprint_id', + 'id' + ); + } + + /** + * The milestones of the sprint. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'sprint_id', + 'id' + ); + } + + /** + * The projects of the sprint. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'sprint_id', + 'id' + ); + } + + /** + * The releases of the sprint. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'sprint_id', + 'id' + ); + } + + /** + * The roadmaps of the sprint. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'sprint_id', + 'id' + ); + } + + /** + * The teams of the sprint. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'sprint_id', + 'id' + ); + } + + /** + * The tickets of the sprint. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'sprint_id', + 'id' + ); + } } diff --git a/src/Models/Tag.php b/src/Models/Tag.php index b2b33eb..53bc075 100644 --- a/src/Models/Tag.php +++ b/src/Models/Tag.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Tag * * @property string $id + * @property ?string $tag_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $tag_type * @property ?string $matrix_id * @property ?Carbon $created_at * @property ?Carbon $updated_at @@ -45,11 +46,15 @@ * @property ?double $latitude * @property ?double $longitude * @property bool $active + * @property bool $cron + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $retired + * @property bool $special * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -79,11 +84,11 @@ class Tag extends Model * @var array */ protected $attributes = [ + 'tag_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'tag_type' => null, 'matrix_id' => null, 'created_at' => null, 'updated_at' => null, @@ -111,11 +116,15 @@ class Tag extends Model 'latitude' => null, 'longitude' => null, 'active' => true, + 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'retired' => false, + 'special' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -142,9 +151,9 @@ class Tag extends Model * @var array */ protected $fillable = [ + 'tag_type', 'owned_by_id', 'parent_id', - 'tag_type', 'matrix_id', 'gids', 'po', @@ -169,11 +178,15 @@ class Tag extends Model 'latitude', 'longitude', 'active', + 'cron', + 'featured', 'flagged', 'internal', 'locked', 'retired', + 'special', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -228,11 +241,15 @@ protected function casts(): array 'latitude' => 'float', 'longitude' => 'float', 'active' => 'boolean', + 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'retired' => 'boolean', + 'special' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -267,4 +284,144 @@ public function matrix(): HasOne 'matrix_id' ); } + + /** + * The backlogs of the tag. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'tag_id', + 'id' + ); + } + + /** + * The boards of the tag. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'tag_id', + 'id' + ); + } + + /** + * The epics of the tag. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'tag_id', + 'id' + ); + } + + /** + * The milestones of the tag. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'tag_id', + 'id' + ); + } + + /** + * The projects of the tag. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'tag_id', + 'id' + ); + } + + /** + * The releases of the tag. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'tag_id', + 'id' + ); + } + + /** + * The roadmaps of the tag. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'tag_id', + 'id' + ); + } + + /** + * The sprints of the tag. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'tag_id', + 'id' + ); + } + + /** + * The teams of the tag. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'tag_id', + 'id' + ); + } + + /** + * The tickets of the tag. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'tag_id', + 'id' + ); + } } diff --git a/src/Models/Team.php b/src/Models/Team.php index a13e7d3..0346f01 100644 --- a/src/Models/Team.php +++ b/src/Models/Team.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,11 +14,11 @@ * \Playground\Matrix\Models\Team * * @property string $id + * @property ?string $team_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $team_type * @property ?string $backlog_id * @property ?string $board_id * @property ?string $epic_id @@ -36,16 +37,18 @@ * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at + * @property ?Carbon $published_at + * @property ?Carbon $resolved_at * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -73,15 +76,21 @@ * @property bool $closed * @property bool $completed * @property bool $cron + * @property bool $featured * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem + * @property bool $published + * @property bool $released * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -99,6 +108,7 @@ * @property ?array $backlog * @property ?array $board * @property ?array $flow + * @property ?array $history * @property ?array $meta * @property ?array $notes * @property ?array $options @@ -115,11 +125,11 @@ class Team extends Model * @var array */ protected $attributes = [ + 'team_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'team_type' => null, 'backlog_id' => null, 'board_id' => null, 'epic_id' => null, @@ -138,16 +148,18 @@ class Team extends Model 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, + 'published_at' => null, + 'resolved_at' => null, 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -175,15 +187,21 @@ class Team extends Model 'closed' => false, 'completed' => false, 'cron' => false, + 'featured' => false, 'flagged' => false, 'internal' => false, 'locked' => false, 'pending' => false, 'planned' => false, + 'prioritized' => false, 'problem' => false, + 'published' => false, + 'released' => false, 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -201,6 +219,7 @@ class Team extends Model 'backlog' => '{}', 'board' => '{}', 'flow' => '{}', + 'history' => '{}', 'meta' => '{}', 'notes' => '[]', 'options' => '{}', @@ -214,9 +233,9 @@ class Team extends Model * @var array */ protected $fillable = [ + 'team_type', 'owned_by_id', 'parent_id', - 'team_type', 'backlog_id', 'board_id', 'epic_id', @@ -232,16 +251,18 @@ class Team extends Model 'tag_id', 'ticket_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', 'canceled_at', 'closed_at', 'embargo_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', + 'published_at', + 'resolved_at', 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -269,15 +290,21 @@ class Team extends Model 'closed', 'completed', 'cron', + 'featured', 'flagged', 'internal', 'locked', 'pending', 'planned', + 'prioritized', 'problem', + 'published', + 'released', 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -295,6 +322,7 @@ class Team extends Model 'backlog', 'board', 'flow', + 'history', 'meta', 'options', 'roadmap', @@ -313,16 +341,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', + 'published_at' => 'datetime', + 'resolved_at' => 'datetime', 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -350,15 +380,21 @@ protected function casts(): array 'closed' => 'boolean', 'completed' => 'boolean', 'cron' => 'boolean', + 'featured' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', 'pending' => 'boolean', 'planned' => 'boolean', + 'prioritized' => 'boolean', 'problem' => 'boolean', + 'published' => 'boolean', + 'released' => 'boolean', 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -376,6 +412,7 @@ protected function casts(): array 'backlog' => 'array', 'board' => 'array', 'flow' => 'array', + 'history' => 'array', 'meta' => 'array', 'notes' => 'array', 'options' => 'array', @@ -593,4 +630,130 @@ public function version(): HasOne 'version_id' ); } + + /** + * The backlogs of the team. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'team_id', + 'id' + ); + } + + /** + * The boards of the team. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'team_id', + 'id' + ); + } + + /** + * The epics of the team. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'team_id', + 'id' + ); + } + + /** + * The milestones of the team. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'team_id', + 'id' + ); + } + + /** + * The projects of the team. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'team_id', + 'id' + ); + } + + /** + * The releases of the team. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'team_id', + 'id' + ); + } + + /** + * The roadmaps of the team. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'team_id', + 'id' + ); + } + + /** + * The sprints of the team. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'team_id', + 'id' + ); + } + + /** + * The tickets of the team. + * + * @return HasMany + */ + public function tickets(): HasMany + { + return $this->hasMany( + Ticket::class, + 'team_id', + 'id' + ); + } } diff --git a/src/Models/Ticket.php b/src/Models/Ticket.php index f638f57..d324ac0 100644 --- a/src/Models/Ticket.php +++ b/src/Models/Ticket.php @@ -6,56 +6,55 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; -use Playground\Models\User; /** * \Playground\Matrix\Models\Ticket * * @property string $id + * @property ?string $ticket_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $ticket_type - * @property ?string $duplicate_id * @property ?string $backlog_id * @property ?string $board_id - * @property ?scalar $completed_by_id * @property ?string $epic_id - * @property ?scalar $fixed_by_id * @property ?string $flow_id * @property ?string $matrix_id * @property ?string $milestone_id * @property ?string $note_id * @property ?string $project_id * @property ?string $release_id - * @property ?scalar $reported_by_id * @property ?string $roadmap_id * @property ?string $source_id * @property ?string $sprint_id * @property ?string $tag_id * @property ?string $team_id * @property ?string $version_id + * @property ?scalar $completed_by_id + * @property ?string $duplicate_id + * @property ?scalar $fixed_by_id + * @property ?scalar $reported_by_id * @property ?string $version_fixed_id * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -84,6 +83,7 @@ * @property bool $completed * @property bool $cron * @property bool $duplicate + * @property bool $featured * @property bool $fixed * @property bool $flagged * @property bool $internal @@ -94,11 +94,12 @@ * @property bool $problem * @property bool $published * @property bool $released - * @property bool $retired * @property bool $resolved + * @property bool $retired * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -108,16 +109,16 @@ * @property string $introduction * @property ?string $content * @property ?string $summary - * @property string $handler + * @property ?string $handler * @property ?string $key * @property ?int $code * @property ?string $key_code_hash - * @property string $priority - * @property string $severity - * @property string $resolution - * @property string $step - * @property string $state - * @property string $workflow_type + * @property ?string $priority + * @property ?string $severity + * @property ?string $resolution + * @property ?string $step + * @property ?string $state + * @property ?string $workflow_type * @property int $points * @property ?string $actual * @property ?string $expected @@ -150,48 +151,47 @@ class Ticket extends Model * @var array */ protected $attributes = [ + 'ticket_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'ticket_type' => null, 'backlog_id' => null, 'board_id' => null, - 'completed_by_id' => null, - 'duplicate_id' => null, 'epic_id' => null, - 'fixed_by_id' => null, 'flow_id' => null, 'matrix_id' => null, 'milestone_id' => null, 'note_id' => null, 'project_id' => null, 'release_id' => null, - 'reported_by_id' => null, 'roadmap_id' => null, 'source_id' => null, 'sprint_id' => null, 'tag_id' => null, 'team_id' => null, - 'version_fixed_id' => null, 'version_id' => null, + 'completed_by_id' => null, + 'duplicate_id' => null, + 'fixed_by_id' => null, + 'reported_by_id' => null, + 'version_fixed_id' => null, 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, - 'start_at' => null, - 'planned_start_at' => null, - 'end_at' => null, - 'planned_end_at' => null, 'canceled_at' => null, 'closed_at' => null, 'embargo_at' => null, 'fixed_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, 'postponed_at' => null, 'published_at' => null, - 'released_at' => null, - 'resumed_at' => null, 'resolved_at' => null, + 'resumed_at' => null, 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -220,6 +220,7 @@ class Ticket extends Model 'completed' => false, 'cron' => false, 'duplicate' => false, + 'featured' => false, 'fixed' => false, 'flagged' => false, 'internal' => false, @@ -230,10 +231,12 @@ class Ticket extends Model 'problem' => false, 'published' => false, 'released' => false, - 'retired' => false, 'resolved' => false, + 'retired' => false, + 'special' => false, 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -243,16 +246,16 @@ class Ticket extends Model 'introduction' => '', 'content' => null, 'summary' => null, - 'handler' => '', + 'handler' => null, 'key' => null, 'code' => null, 'key_code_hash' => null, - 'priority' => '', - 'severity' => '', - 'resolution' => '', - 'step' => '', - 'state' => '', - 'workflow_type' => '', + 'priority' => null, + 'severity' => null, + 'resolution' => null, + 'step' => null, + 'state' => null, + 'workflow_type' => null, 'points' => 0, 'actual' => null, 'expected' => null, @@ -282,43 +285,42 @@ class Ticket extends Model * @var array */ protected $fillable = [ + 'ticket_type', 'owned_by_id', 'parent_id', - 'ticket_type', 'backlog_id', 'board_id', - 'completed_by_id', - 'duplicate_id', 'epic_id', - 'fixed_by_id', 'flow_id', 'matrix_id', 'milestone_id', 'note_id', 'project_id', 'release_id', - 'reported_by_id', 'roadmap_id', 'source_id', 'sprint_id', 'tag_id', 'team_id', - 'version_fixed_id', 'version_id', - 'start_at', - 'planned_start_at', - 'end_at', - 'planned_end_at', + 'completed_by_id', + 'duplicate_id', + 'fixed_by_id', + 'reported_by_id', + 'version_fixed_id', 'canceled_at', 'closed_at', 'embargo_at', 'fixed_at', + 'planned_end_at', + 'planned_start_at', 'postponed_at', 'published_at', - 'released_at', - 'resumed_at', 'resolved_at', + 'resumed_at', 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -347,6 +349,7 @@ class Ticket extends Model 'completed', 'cron', 'duplicate', + 'featured', 'fixed', 'flagged', 'internal', @@ -357,10 +360,12 @@ class Ticket extends Model 'problem', 'published', 'released', - 'retired', 'resolved', + 'retired', + 'special', 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -371,6 +376,9 @@ class Ticket extends Model 'content', 'summary', 'handler', + 'key', + 'code', + 'key_code_hash', 'priority', 'severity', 'resolution', @@ -411,20 +419,19 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', - 'start_at' => 'datetime', - 'planned_start_at' => 'datetime', - 'end_at' => 'datetime', - 'planned_end_at' => 'datetime', 'canceled_at' => 'datetime', 'closed_at' => 'datetime', 'embargo_at' => 'datetime', 'fixed_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', 'postponed_at' => 'datetime', 'published_at' => 'datetime', - 'released_at' => 'datetime', - 'resumed_at' => 'datetime', 'resolved_at' => 'datetime', + 'resumed_at' => 'datetime', 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -453,6 +460,7 @@ protected function casts(): array 'completed' => 'boolean', 'cron' => 'boolean', 'duplicate' => 'boolean', + 'featured' => 'boolean', 'fixed' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', @@ -463,10 +471,12 @@ protected function casts(): array 'problem' => 'boolean', 'published' => 'boolean', 'released' => 'boolean', - 'retired' => 'boolean', 'resolved' => 'boolean', + 'retired' => 'boolean', + 'special' => 'boolean', 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -538,20 +548,6 @@ public function board(): HasOne ); } - /** - * The completed by user of the ticket. - * - * @return HasOne - */ - public function completedBy(): HasOne - { - return $this->hasOne( - User::class, - 'id', - 'completed_by_id' - ); - } - /** * The epic of the ticket. * @@ -566,20 +562,6 @@ public function epic(): HasOne ); } - /** - * The fixed by user of the ticket. - * - * @return HasOne - */ - public function fixedBy(): HasOne - { - return $this->hasOne( - User::class, - 'id', - 'fixed_by_id' - ); - } - /** * The flow of the ticket. * @@ -664,20 +646,6 @@ public function release(): HasOne ); } - /** - * The reported by user of the ticket. - * - * @return HasOne - */ - public function reportedBy(): HasOne - { - return $this->hasOne( - User::class, - 'id', - 'reported_by_id' - ); - } - /** * The roadmap of the ticket. * @@ -761,4 +729,172 @@ public function version(): HasOne 'version_id' ); } + + /** + * The completed by user of the ticket. + * + * @return HasOne<\Playground\Models\User> + */ + public function completedBy(): HasOne + { + return $this->hasOne( + \Playground\Models\User::class, + 'id', + 'completed_by_id' + ); + } + + /** + * The fixed by user of the ticket. + * + * @return HasOne<\Playground\Models\User> + */ + public function fixedBy(): HasOne + { + return $this->hasOne( + \Playground\Models\User::class, + 'id', + 'fixed_by_id' + ); + } + + /** + * The reported by user of the ticket. + * + * @return HasOne<\Playground\Models\User> + */ + public function reportedBy(): HasOne + { + return $this->hasOne( + \Playground\Models\User::class, + 'id', + 'reported_by_id' + ); + } + + /** + * The backlogs of the ticket. + * + * @return HasMany + */ + public function backlogs(): HasMany + { + return $this->hasMany( + Backlog::class, + 'ticket_id', + 'id' + ); + } + + /** + * The boards of the ticket. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'ticket_id', + 'id' + ); + } + + /** + * The epics of the ticket. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'ticket_id', + 'id' + ); + } + + /** + * The milestones of the ticket. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'ticket_id', + 'id' + ); + } + + /** + * The projects of the ticket. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'ticket_id', + 'id' + ); + } + + /** + * The releases of the ticket. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'ticket_id', + 'id' + ); + } + + /** + * The roadmaps of the ticket. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'ticket_id', + 'id' + ); + } + + /** + * The sprints of the ticket. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'ticket_id', + 'id' + ); + } + + /** + * The teams of the ticket. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( + Team::class, + 'ticket_id', + 'id' + ); + } } diff --git a/src/Models/Version.php b/src/Models/Version.php index 64da494..58bc6f4 100644 --- a/src/Models/Version.php +++ b/src/Models/Version.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Playground\Matrix\Models; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\HasOne; use Playground\Models\Model; @@ -13,35 +14,31 @@ * \Playground\Matrix\Models\Version * * @property string $id + * @property ?string $version_type * @property ?scalar $created_by_id * @property ?scalar $modified_by_id * @property ?scalar $owned_by_id * @property ?string $parent_id - * @property ?string $version_type * @property ?string $matrix_id * @property ?string $project_id - * @property ?string $roadmap_id - * @property ?string $source_id * @property ?string $tag_id * @property ?string $team_id * @property ?string $ticket_id * @property ?Carbon $created_at * @property ?Carbon $updated_at * @property ?Carbon $deleted_at - * @property ?Carbon $start_at - * @property ?Carbon $planned_start_at - * @property ?Carbon $end_at - * @property ?Carbon $planned_end_at * @property ?Carbon $canceled_at * @property ?Carbon $closed_at * @property ?Carbon $embargo_at - * @property ?Carbon $fixed_at + * @property ?Carbon $planned_end_at + * @property ?Carbon $planned_start_at * @property ?Carbon $postponed_at * @property ?Carbon $published_at - * @property ?Carbon $released_at - * @property ?Carbon $resumed_at * @property ?Carbon $resolved_at + * @property ?Carbon $resumed_at * @property ?Carbon $suspended_at + * @property ?Carbon $timer_end_at + * @property ?Carbon $timer_start_at * @property int $gids * @property int $po * @property int $pg @@ -68,19 +65,24 @@ * @property bool $canceled * @property bool $closed * @property bool $completed + * @property bool $cron + * @property bool $featured * @property bool $fixed * @property bool $flagged * @property bool $internal * @property bool $locked * @property bool $pending * @property bool $planned + * @property bool $prioritized * @property bool $problem * @property bool $published * @property bool $released - * @property bool $retired * @property bool $resolved + * @property bool $retired + * @property bool $special * @property bool $suspended * @property bool $unknown + * @property string $locale * @property string $label * @property string $title * @property string $byline @@ -110,15 +112,31 @@ class Version extends Model * @var array */ protected $attributes = [ + 'version_type' => null, 'created_by_id' => null, 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, - 'version_type' => null, 'matrix_id' => null, + 'project_id' => null, + 'tag_id' => null, + 'team_id' => null, + 'ticket_id' => null, 'created_at' => null, 'updated_at' => null, 'deleted_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'planned_end_at' => null, + 'planned_start_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'resolved_at' => null, + 'resumed_at' => null, + 'suspended_at' => null, + 'timer_end_at' => null, + 'timer_start_at' => null, 'gids' => 0, 'po' => 0, 'pg' => 0, @@ -142,11 +160,27 @@ class Version extends Model 'latitude' => null, 'longitude' => null, 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'cron' => false, + 'featured' => false, + 'fixed' => false, 'flagged' => false, 'internal' => false, 'locked' => false, + 'pending' => false, + 'planned' => false, + 'prioritized' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'resolved' => false, 'retired' => false, + 'special' => false, + 'suspended' => false, 'unknown' => false, + 'locale' => '', 'label' => '', 'title' => '', 'byline' => '', @@ -173,10 +207,26 @@ class Version extends Model * @var array */ protected $fillable = [ + 'version_type', 'owned_by_id', 'parent_id', - 'version_type', 'matrix_id', + 'project_id', + 'tag_id', + 'team_id', + 'ticket_id', + 'canceled_at', + 'closed_at', + 'embargo_at', + 'planned_end_at', + 'planned_start_at', + 'postponed_at', + 'published_at', + 'resolved_at', + 'resumed_at', + 'suspended_at', + 'timer_end_at', + 'timer_start_at', 'gids', 'po', 'pg', @@ -200,11 +250,27 @@ class Version extends Model 'latitude', 'longitude', 'active', + 'canceled', + 'closed', + 'completed', + 'cron', + 'featured', + 'fixed', 'flagged', 'internal', 'locked', + 'pending', + 'planned', + 'prioritized', + 'problem', + 'published', + 'released', + 'resolved', 'retired', + 'special', + 'suspended', 'unknown', + 'locale', 'label', 'title', 'byline', @@ -236,6 +302,18 @@ protected function casts(): array 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', + 'canceled_at' => 'datetime', + 'closed_at' => 'datetime', + 'embargo_at' => 'datetime', + 'planned_end_at' => 'datetime', + 'planned_start_at' => 'datetime', + 'postponed_at' => 'datetime', + 'published_at' => 'datetime', + 'resolved_at' => 'datetime', + 'resumed_at' => 'datetime', + 'suspended_at' => 'datetime', + 'timer_end_at' => 'datetime', + 'timer_start_at' => 'datetime', 'gids' => 'integer', 'po' => 'integer', 'pg' => 'integer', @@ -259,11 +337,27 @@ protected function casts(): array 'latitude' => 'float', 'longitude' => 'float', 'active' => 'boolean', + 'canceled' => 'boolean', + 'closed' => 'boolean', + 'completed' => 'boolean', + 'cron' => 'boolean', + 'featured' => 'boolean', + 'fixed' => 'boolean', 'flagged' => 'boolean', 'internal' => 'boolean', 'locked' => 'boolean', + 'pending' => 'boolean', + 'planned' => 'boolean', + 'prioritized' => 'boolean', + 'problem' => 'boolean', + 'published' => 'boolean', + 'released' => 'boolean', + 'resolved' => 'boolean', 'retired' => 'boolean', + 'special' => 'boolean', + 'suspended' => 'boolean', 'unknown' => 'boolean', + 'locale' => 'string', 'label' => 'string', 'title' => 'string', 'byline' => 'string', @@ -314,72 +408,184 @@ public function project(): HasOne } /** - * The roadmap of the version. + * The tag of the version. * - * @return HasOne + * @return HasOne */ - public function roadmap(): HasOne + public function tag(): HasOne { return $this->hasOne( - Roadmap::class, + Tag::class, 'id', - 'roadmap_id' + 'tag_id' ); } /** - * The source of the version. + * The team of the version. * - * @return HasOne + * @return HasOne */ - public function source(): HasOne + public function team(): HasOne { return $this->hasOne( - Source::class, + Team::class, 'id', - 'source_id' + 'team_id' ); } /** - * The tag of the version. + * The ticket of the version. * - * @return HasOne + * @return HasOne */ - public function tag(): HasOne + public function ticket(): HasOne { return $this->hasOne( - Tag::class, + Ticket::class, 'id', - 'tag_id' + 'ticket_id' ); } /** - * The team of the version. + * The backlogs of the version. * - * @return HasOne + * @return HasMany */ - public function team(): HasOne + public function backlogs(): HasMany { - return $this->hasOne( + return $this->hasMany( + Backlog::class, + 'version_id', + 'id' + ); + } + + /** + * The boards of the version. + * + * @return HasMany + */ + public function boards(): HasMany + { + return $this->hasMany( + Board::class, + 'version_id', + 'id' + ); + } + + /** + * The epics of the version. + * + * @return HasMany + */ + public function epics(): HasMany + { + return $this->hasMany( + Epic::class, + 'version_id', + 'id' + ); + } + + /** + * The milestones of the version. + * + * @return HasMany + */ + public function milestones(): HasMany + { + return $this->hasMany( + Milestone::class, + 'version_id', + 'id' + ); + } + + /** + * The projects of the version. + * + * @return HasMany + */ + public function projects(): HasMany + { + return $this->hasMany( + Project::class, + 'version_id', + 'id' + ); + } + + /** + * The releases of the version. + * + * @return HasMany + */ + public function releases(): HasMany + { + return $this->hasMany( + Release::class, + 'version_id', + 'id' + ); + } + + /** + * The roadmaps of the version. + * + * @return HasMany + */ + public function roadmaps(): HasMany + { + return $this->hasMany( + Roadmap::class, + 'version_id', + 'id' + ); + } + + /** + * The sprints of the version. + * + * @return HasMany + */ + public function sprints(): HasMany + { + return $this->hasMany( + Sprint::class, + 'version_id', + 'id' + ); + } + + /** + * The teams of the version. + * + * @return HasMany + */ + public function teams(): HasMany + { + return $this->hasMany( Team::class, - 'id', - 'team_id' + 'version_id', + 'id' ); } /** - * The ticket of the version. + * The tickets of the version. * - * @return HasOne + * @return HasMany */ - public function ticket(): HasOne + public function tickets(): HasMany { - return $this->hasOne( + return $this->hasMany( Ticket::class, - 'id', - 'ticket_id' + 'version_id', + 'id' ); } } diff --git a/tests/Feature/Console/Commands/About/CommandTest.php b/tests/Feature/Console/Commands/About/CommandTest.php index 21ddbca..321307e 100644 --- a/tests/Feature/Console/Commands/About/CommandTest.php +++ b/tests/Feature/Console/Commands/About/CommandTest.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace Tests\Feature\Playground\Matrix\Console\Commands\About; +use Illuminate\Console\Command; use PHPUnit\Framework\Attributes\CoversClass; use Playground\Matrix\ServiceProvider; use Tests\Feature\Playground\Matrix\TestCase; @@ -29,13 +30,13 @@ protected function defineEnvironment($app) $app['config']->set('playground-matrix.load.migrations', true); } - public function test_command_about_displays_package_information_and_succeed_with_code_0(): void + public function test_command_about_displays_package_information_and_succeed(): void { /** * @var \Illuminate\Testing\PendingCommand $result */ $result = $this->artisan('about'); - $result->assertExitCode(0); + $result->assertExitCode(Command::SUCCESS); $result->expectsOutputToContain('Playground: Matrix'); } } diff --git a/tests/Feature/Models/Backlog/ModelTest.php b/tests/Feature/Models/Backlog/ModelTest.php index e2060bd..508e621 100644 --- a/tests/Feature/Models/Backlog/ModelTest.php +++ b/tests/Feature/Models/Backlog/ModelTest.php @@ -21,10 +21,38 @@ class ModelTest extends ModelCase * @var array> Test has many relationships. */ protected array $hasMany = [ + 'boards' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], 'sprints' => [ 'key' => 'backlog_id', 'modelClass' => \Playground\Matrix\Models\Sprint::class, ], + 'teams' => [ + 'key' => 'backlog_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], 'tickets' => [ 'key' => 'backlog_id', 'modelClass' => \Playground\Matrix\Models\Ticket::class, diff --git a/tests/Feature/Models/Board/ModelTest.php b/tests/Feature/Models/Board/ModelTest.php index 89f6998..d0482e8 100644 --- a/tests/Feature/Models/Board/ModelTest.php +++ b/tests/Feature/Models/Board/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'epics' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'board_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Epic/ModelTest.php b/tests/Feature/Models/Epic/ModelTest.php index b2fbb6a..b7d0f41 100644 --- a/tests/Feature/Models/Epic/ModelTest.php +++ b/tests/Feature/Models/Epic/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'milestones' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'epic_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Flow/ModelTest.php b/tests/Feature/Models/Flow/ModelTest.php index 1b471db..757ff07 100644 --- a/tests/Feature/Models/Flow/ModelTest.php +++ b/tests/Feature/Models/Flow/ModelTest.php @@ -17,6 +17,52 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'flow_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Matrix/ModelTest.php b/tests/Feature/Models/Matrix/ModelTest.php index 792ec0d..ef8af0b 100644 --- a/tests/Feature/Models/Matrix/ModelTest.php +++ b/tests/Feature/Models/Matrix/ModelTest.php @@ -41,10 +41,5 @@ class ModelTest extends ModelCase 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Matrix::class, ], - 'matrix' => [ - 'key' => 'matrix_id', - 'rule' => 'create', - 'modelClass' => \Playground\Matrix\Models\Matrix::class, - ], ]; } diff --git a/tests/Feature/Models/Milestone/ModelTest.php b/tests/Feature/Models/Milestone/ModelTest.php index a99b50b..30c7686 100644 --- a/tests/Feature/Models/Milestone/ModelTest.php +++ b/tests/Feature/Models/Milestone/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'projects' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'milestone_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Note/ModelTest.php b/tests/Feature/Models/Note/ModelTest.php index 41fe39a..6513589 100644 --- a/tests/Feature/Models/Note/ModelTest.php +++ b/tests/Feature/Models/Note/ModelTest.php @@ -17,6 +17,52 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'note_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Project/ModelTest.php b/tests/Feature/Models/Project/ModelTest.php index 17f4e86..f6dcb9c 100644 --- a/tests/Feature/Models/Project/ModelTest.php +++ b/tests/Feature/Models/Project/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'releases' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'project_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Release/ModelTest.php b/tests/Feature/Models/Release/ModelTest.php index ad03eef..ae7cfe7 100644 --- a/tests/Feature/Models/Release/ModelTest.php +++ b/tests/Feature/Models/Release/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'roadmaps' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'release_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Roadmap/ModelTest.php b/tests/Feature/Models/Roadmap/ModelTest.php index d63eaa6..aafc0b6 100644 --- a/tests/Feature/Models/Roadmap/ModelTest.php +++ b/tests/Feature/Models/Roadmap/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'sprints' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'roadmap_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Source/ModelTest.php b/tests/Feature/Models/Source/ModelTest.php index 5f28fe5..8ac95a4 100644 --- a/tests/Feature/Models/Source/ModelTest.php +++ b/tests/Feature/Models/Source/ModelTest.php @@ -17,6 +17,52 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'source_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ @@ -46,6 +92,11 @@ class ModelTest extends ModelCase 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Matrix::class, ], + 'note' => [ + 'key' => 'note_id', + 'rule' => 'create', + 'modelClass' => \Playground\Matrix\Models\Note::class, + ], 'tag' => [ 'key' => 'tag_id', 'rule' => 'create', diff --git a/tests/Feature/Models/Sprint/ModelTest.php b/tests/Feature/Models/Sprint/ModelTest.php index 52441a7..b7f5f36 100644 --- a/tests/Feature/Models/Sprint/ModelTest.php +++ b/tests/Feature/Models/Sprint/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'teams' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'sprint_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Tag/ModelTest.php b/tests/Feature/Models/Tag/ModelTest.php index 9ac5ab0..68dea4b 100644 --- a/tests/Feature/Models/Tag/ModelTest.php +++ b/tests/Feature/Models/Tag/ModelTest.php @@ -17,6 +17,52 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'tag_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Team/ModelTest.php b/tests/Feature/Models/Team/ModelTest.php index ace3451..0d7554d 100644 --- a/tests/Feature/Models/Team/ModelTest.php +++ b/tests/Feature/Models/Team/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'tickets' => [ + 'key' => 'team_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ diff --git a/tests/Feature/Models/Ticket/ModelTest.php b/tests/Feature/Models/Ticket/ModelTest.php index 8c2f150..d320676 100644 --- a/tests/Feature/Models/Ticket/ModelTest.php +++ b/tests/Feature/Models/Ticket/ModelTest.php @@ -17,6 +17,48 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'ticket_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + ]; + /** * @var array> Test has one relationships. */ @@ -51,21 +93,11 @@ class ModelTest extends ModelCase 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Board::class, ], - 'completedBy' => [ - 'key' => 'completed_by_id', - 'rule' => 'create', - 'modelClass' => \Playground\Models\User::class, - ], 'epic' => [ 'key' => 'epic_id', 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Epic::class, ], - 'fixedBy' => [ - 'key' => 'fixed_by_id', - 'rule' => 'create', - 'modelClass' => \Playground\Models\User::class, - ], 'flow' => [ 'key' => 'flow_id', 'rule' => 'create', @@ -96,11 +128,6 @@ class ModelTest extends ModelCase 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Release::class, ], - 'reportedBy' => [ - 'key' => 'reported_by_id', - 'rule' => 'create', - 'modelClass' => \Playground\Models\User::class, - ], 'roadmap' => [ 'key' => 'roadmap_id', 'rule' => 'create', @@ -131,5 +158,20 @@ class ModelTest extends ModelCase 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Version::class, ], + 'completedBy' => [ + 'key' => 'completed_by_id', + 'rule' => 'first', + 'modelClass' => \Playground\Models\User::class, + ], + 'fixedBy' => [ + 'key' => 'fixed_by_id', + 'rule' => 'first', + 'modelClass' => \Playground\Models\User::class, + ], + 'reportedBy' => [ + 'key' => 'reported_by_id', + 'rule' => 'first', + 'modelClass' => \Playground\Models\User::class, + ], ]; } diff --git a/tests/Feature/Models/Version/ModelTest.php b/tests/Feature/Models/Version/ModelTest.php index 099941c..19592ae 100644 --- a/tests/Feature/Models/Version/ModelTest.php +++ b/tests/Feature/Models/Version/ModelTest.php @@ -17,6 +17,52 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array> Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Backlog::class, + ], + 'boards' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Board::class, + ], + 'epics' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Epic::class, + ], + 'milestones' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Milestone::class, + ], + 'projects' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Project::class, + ], + 'releases' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Release::class, + ], + 'roadmaps' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Roadmap::class, + ], + 'sprints' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Sprint::class, + ], + 'teams' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Team::class, + ], + 'tickets' => [ + 'key' => 'version_id', + 'modelClass' => \Playground\Matrix\Models\Ticket::class, + ], + ]; + /** * @var array> Test has one relationships. */ @@ -51,16 +97,6 @@ class ModelTest extends ModelCase 'rule' => 'create', 'modelClass' => \Playground\Matrix\Models\Project::class, ], - 'roadmap' => [ - 'key' => 'roadmap_id', - 'rule' => 'create', - 'modelClass' => \Playground\Matrix\Models\Roadmap::class, - ], - 'source' => [ - 'key' => 'source_id', - 'rule' => 'create', - 'modelClass' => \Playground\Matrix\Models\Source::class, - ], 'tag' => [ 'key' => 'tag_id', 'rule' => 'create', diff --git a/tests/Unit/Models/Backlog/ModelTest.php b/tests/Unit/Models/Backlog/ModelTest.php index b102483..c83da35 100644 --- a/tests/Unit/Models/Backlog/ModelTest.php +++ b/tests/Unit/Models/Backlog/ModelTest.php @@ -21,7 +21,14 @@ class ModelTest extends ModelCase * @var array Test has many relationships. */ protected array $hasMany = [ + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', 'sprints', + 'teams', 'tickets', ]; diff --git a/tests/Unit/Models/Board/ModelTest.php b/tests/Unit/Models/Board/ModelTest.php index 3762f8b..9e208af 100644 --- a/tests/Unit/Models/Board/ModelTest.php +++ b/tests/Unit/Models/Board/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Epic/ModelTest.php b/tests/Unit/Models/Epic/ModelTest.php index 86c1ca5..ace93b7 100644 --- a/tests/Unit/Models/Epic/ModelTest.php +++ b/tests/Unit/Models/Epic/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Flow/ModelTest.php b/tests/Unit/Models/Flow/ModelTest.php index 53fe816..db7ee17 100644 --- a/tests/Unit/Models/Flow/ModelTest.php +++ b/tests/Unit/Models/Flow/ModelTest.php @@ -17,6 +17,22 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Matrix/ModelTest.php b/tests/Unit/Models/Matrix/ModelTest.php index e7eed71..c429fa4 100644 --- a/tests/Unit/Models/Matrix/ModelTest.php +++ b/tests/Unit/Models/Matrix/ModelTest.php @@ -25,6 +25,5 @@ class ModelTest extends ModelCase 'modifier', 'owner', 'parent', - 'matrix', ]; } diff --git a/tests/Unit/Models/Milestone/ModelTest.php b/tests/Unit/Models/Milestone/ModelTest.php index 5b47037..288d74f 100644 --- a/tests/Unit/Models/Milestone/ModelTest.php +++ b/tests/Unit/Models/Milestone/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Note/ModelTest.php b/tests/Unit/Models/Note/ModelTest.php index c42b936..2e3adf5 100644 --- a/tests/Unit/Models/Note/ModelTest.php +++ b/tests/Unit/Models/Note/ModelTest.php @@ -17,6 +17,22 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Project/ModelTest.php b/tests/Unit/Models/Project/ModelTest.php index de55075..234aee5 100644 --- a/tests/Unit/Models/Project/ModelTest.php +++ b/tests/Unit/Models/Project/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Release/ModelTest.php b/tests/Unit/Models/Release/ModelTest.php index a934325..9c8d814 100644 --- a/tests/Unit/Models/Release/ModelTest.php +++ b/tests/Unit/Models/Release/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Roadmap/ModelTest.php b/tests/Unit/Models/Roadmap/ModelTest.php index 4bd3436..aa42310 100644 --- a/tests/Unit/Models/Roadmap/ModelTest.php +++ b/tests/Unit/Models/Roadmap/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Source/ModelTest.php b/tests/Unit/Models/Source/ModelTest.php index d715c11..237ba80 100644 --- a/tests/Unit/Models/Source/ModelTest.php +++ b/tests/Unit/Models/Source/ModelTest.php @@ -17,6 +17,22 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ @@ -26,6 +42,7 @@ class ModelTest extends ModelCase 'owner', 'parent', 'matrix', + 'note', 'tag', 'team', ]; diff --git a/tests/Unit/Models/Sprint/ModelTest.php b/tests/Unit/Models/Sprint/ModelTest.php index c68efd2..1ef59ca 100644 --- a/tests/Unit/Models/Sprint/ModelTest.php +++ b/tests/Unit/Models/Sprint/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Tag/ModelTest.php b/tests/Unit/Models/Tag/ModelTest.php index 198c758..ef00f8f 100644 --- a/tests/Unit/Models/Tag/ModelTest.php +++ b/tests/Unit/Models/Tag/ModelTest.php @@ -17,6 +17,22 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Team/ModelTest.php b/tests/Unit/Models/Team/ModelTest.php index 19038bd..96ae0da 100644 --- a/tests/Unit/Models/Team/ModelTest.php +++ b/tests/Unit/Models/Team/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'tickets', + ]; + /** * @var array Test has one relationships. */ diff --git a/tests/Unit/Models/Ticket/ModelTest.php b/tests/Unit/Models/Ticket/ModelTest.php index b597e9e..bb96a94 100644 --- a/tests/Unit/Models/Ticket/ModelTest.php +++ b/tests/Unit/Models/Ticket/ModelTest.php @@ -17,6 +17,21 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + ]; + /** * @var array Test has one relationships. */ @@ -27,21 +42,21 @@ class ModelTest extends ModelCase 'parent', 'backlog', 'board', - 'completedBy', 'epic', - 'fixedBy', 'flow', 'matrix', 'milestone', 'note', 'project', 'release', - 'reportedBy', 'roadmap', 'source', 'sprint', 'tag', 'team', 'version', + 'completedBy', + 'fixedBy', + 'reportedBy', ]; } diff --git a/tests/Unit/Models/Version/ModelTest.php b/tests/Unit/Models/Version/ModelTest.php index 66c9c99..b4396a9 100644 --- a/tests/Unit/Models/Version/ModelTest.php +++ b/tests/Unit/Models/Version/ModelTest.php @@ -17,6 +17,22 @@ class ModelTest extends ModelCase protected bool $hasRelationships = true; + /** + * @var array Test has many relationships. + */ + protected array $hasMany = [ + 'backlogs', + 'boards', + 'epics', + 'milestones', + 'projects', + 'releases', + 'roadmaps', + 'sprints', + 'teams', + 'tickets', + ]; + /** * @var array Test has one relationships. */ @@ -27,8 +43,6 @@ class ModelTest extends ModelCase 'parent', 'matrix', 'project', - 'roadmap', - 'source', 'tag', 'team', 'ticket',