feature: obsługa hashy

This commit is contained in:
2023-02-11 18:13:00 +01:00
parent 14ec54d11d
commit 0517106dfe
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -200,6 +200,7 @@ export default defineComponent({
const newSt: SceneryRowItem = { const newSt: SceneryRowItem = {
name, name,
url: '', url: '',
hash: '',
lines: '', lines: '',
project: null, project: null,
projectUrl: null, projectUrl: null,
+4 -1
View File
@@ -1,6 +1,7 @@
export type Availability = 'default' | 'unavailable' | 'nonPublic' | 'abandoned' | 'nonDefault'; export type Availability = 'default' | 'unavailable' | 'nonPublic' | 'abandoned' | 'nonDefault';
export type ChangeProp = export type ChangeProp =
| 'name' | 'name'
| 'hash'
| 'url' | 'url'
| 'lines' | 'lines'
| 'project' | 'project'
@@ -17,9 +18,10 @@ export type ChangeProp =
export enum HeaderTypes { export enum HeaderTypes {
name = 'Nazwa', name = 'Nazwa',
url = 'URL', url = 'URL',
hash = 'Hash',
lines = 'Linie', lines = 'Linie',
project = 'Projekt', project = 'Projekt',
projectUrl = "URL projektu", projectUrl = 'URL projektu',
reqLevel = 'Wym. poziom', reqLevel = 'Wym. poziom',
signalType = 'Sygnalizacja', signalType = 'Sygnalizacja',
controlType = 'Sterowanie', controlType = 'Sterowanie',
@@ -41,6 +43,7 @@ export enum AvailabilityTypes {
export interface SceneryRowItem { export interface SceneryRowItem {
id: string; id: string;
hash: string;
name: string; name: string;
url: string; url: string;
lines: string; lines: string;
+2 -2
View File
@@ -76,6 +76,7 @@ export default defineComponent({
AuthState, AuthState,
headerNameList: { headerNameList: {
name: 'Nazwa', name: 'Nazwa',
hash: 'Hash',
url: 'URL', url: 'URL',
lines: 'Linie', lines: 'Linie',
project: 'Projekt', project: 'Projekt',
@@ -196,8 +197,7 @@ table {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
max-width: 2000px; min-width: 1800px;
min-width: 1450px;
} }
table thead { table thead {