Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nimdanitro committed Feb 20, 2024
2 parents b567ff1 + a330158 commit 7ff4a6f
Show file tree
Hide file tree
Showing 313 changed files with 54,350 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
REACT_APP_API_URL="/v1/graphql"
REACT_APP_API_WS_URL="ws://localhost:4180/v1/graphql"

REACT_APP_VERSION=${VERSION}
REACT_APP_SHA_VERSION=${GIT_SHA}
INLINE_RUNTIME_CHUNK=false
GENERATE_SOURCEMAP=false
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_API_URL="/v1/graphql"
#REACT_APP_API_WS_URL=
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
8 changes: 8 additions & 0 deletions Sitrep/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Sitrep/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Sitrep/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Sitrep/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Sitrep/Sitrep.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
6 changes: 6 additions & 0 deletions Sitrep/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Sitrep",
"version": "1.0.0",
"dependencies": {
}
}
Empty file added metadata/actions.graphql
Empty file.
6 changes: 6 additions & 0 deletions metadata/actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
actions: []
custom_types:
enums: []
input_objects: []
objects: []
scalars: []
1 change: 1 addition & 0 deletions metadata/allow_list.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions metadata/api_limits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions metadata/cron_triggers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
62 changes: 62 additions & 0 deletions metadata/databases/Postgres/tables/public_divisions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
table:
name: divisions
schema: public
configuration:
column_config: {}
custom_column_names: {}
custom_root_fields:
delete:
comment: ""
name: null
delete_by_pk:
comment: ""
name: null
select_aggregate:
comment: ""
name: null
select_by_pk:
comment: ""
name: null
object_relationships:
- name: incident
using:
foreign_key_constraint_on: incident_id
array_relationships:
- name: message_divisions
using:
foreign_key_constraint_on:
column: division_id
table:
name: message_division
schema: public
insert_permissions:
- role: editor
permission:
check: {}
columns:
- description
- incident_id
- name
select_permissions:
- role: editor
permission:
columns:
- description
- id
- name
filter: {}
- role: viewer
permission:
columns:
- description
- id
- name
filter: {}
update_permissions:
- role: editor
permission:
columns:
- description
- name
filter: {}
check: null
61 changes: 61 additions & 0 deletions metadata/databases/Postgres/tables/public_incidents.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
table:
name: incidents
schema: public
object_relationships:
- name: location
using:
foreign_key_constraint_on: location_id
array_relationships:
- name: divisions
using:
foreign_key_constraint_on:
column: incident_id
table:
name: divisions
schema: public
- name: journals
using:
foreign_key_constraint_on:
column: incident_id
table:
name: journals
schema: public
insert_permissions:
- role: editor
permission:
check: {}
columns:
- location_id
- name
select_permissions:
- role: editor
permission:
columns:
- name
- closed_at
- created_at
- deleted_at
- updated_at
- id
- location_id
filter: {}
- role: viewer
permission:
columns:
- name
- closed_at
- created_at
- deleted_at
- updated_at
- id
- location_id
filter: {}
update_permissions:
- role: editor
permission:
columns:
- closed_at
- location_id
- name
filter: {}
check: {}
51 changes: 51 additions & 0 deletions metadata/databases/Postgres/tables/public_journals.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
table:
name: journals
schema: public
object_relationships:
- name: incident
using:
foreign_key_constraint_on: incident_id
array_relationships:
- name: messages
using:
foreign_key_constraint_on:
column: journal_id
table:
name: messages
schema: public
insert_permissions:
- role: editor
permission:
check: {}
columns:
- incident_id
- name
select_permissions:
- role: editor
permission:
columns:
- closed_at
- created_at
- deleted_at
- id
- name
- updated_at
filter: {}
- role: viewer
permission:
columns:
- closed_at
- created_at
- deleted_at
- id
- name
- updated_at
filter: {}
update_permissions:
- role: editor
permission:
columns:
- closed_at
- name
filter: {}
check: null
53 changes: 53 additions & 0 deletions metadata/databases/Postgres/tables/public_locations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
table:
name: locations
schema: public
object_relationships:
- name: incidentById
using:
foreign_key_constraint_on:
column: location_id
table:
name: incidents
schema: public
array_relationships:
- name: incident
using:
foreign_key_constraint_on:
column: location_id
table:
name: incidents
schema: public
insert_permissions:
- role: editor
permission:
check: {}
columns:
- coordinates
- name
select_permissions:
- role: editor
permission:
columns:
- coordinates
- name
- created_at
- updated_at
- id
filter: {}
- role: viewer
permission:
columns:
- coordinates
- name
- created_at
- updated_at
- id
filter: {}
update_permissions:
- role: editor
permission:
columns:
- coordinates
- name
filter: {}
check: {}
17 changes: 17 additions & 0 deletions metadata/databases/Postgres/tables/public_medium.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
table:
name: medium
schema: public
is_enum: true
select_permissions:
- role: editor
permission:
columns:
- description
- name
filter: {}
- role: viewer
permission:
columns:
- description
- name
filter: {}
65 changes: 65 additions & 0 deletions metadata/databases/Postgres/tables/public_message_division.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
table:
name: message_division
schema: public
configuration:
column_config: {}
custom_column_names: {}
custom_root_fields:
delete:
comment: ""
name: null
delete_by_pk:
comment: ""
name: null
insert:
comment: ""
name: null
select:
comment: ""
name: null
select_aggregate:
comment: ""
name: null
select_by_pk:
comment: ""
name: null
update:
comment: ""
name: null
update_by_pk:
comment: ""
name: null
object_relationships:
- name: division
using:
foreign_key_constraint_on: division_id
- name: message
using:
foreign_key_constraint_on: message_id
insert_permissions:
- role: editor
permission:
check: {}
columns:
- division_id
- message_id
select_permissions:
- role: editor
permission:
columns:
- division_id
- id
- message_id
filter: {}
- role: viewer
permission:
columns:
- division_id
- id
- message_id
filter: {}
delete_permissions:
- role: editor
permission:
backend_only: false
filter: {}
Loading

0 comments on commit 7ff4a6f

Please sign in to comment.