Florian Eisenmenger 1 год назад
Родитель
Сommit
42d874b46c
12 измененных файлов: 127 добавлений и 7 удалений
  1. +1
    -1
      matsen-tool/openapi.json
  2. +90
    -0
      matsen-tool/openapi.yaml
  3. +18
    -3
      matsen-tool/src/app/_forms/apiForms.ts
  4. +3
    -0
      matsen-tool/src/app/core/api/v1/model/post.ts
  5. +3
    -0
      matsen-tool/src/app/core/api/v1/model/postJsonhal.ts
  6. +1
    -0
      matsen-tool/src/app/core/api/v1/model/postJsonhalPostingCreate.ts
  7. +3
    -0
      matsen-tool/src/app/core/api/v1/model/postJsonld.ts
  8. +1
    -0
      matsen-tool/src/app/core/api/v1/model/postJsonldPostingCreate.ts
  9. +1
    -0
      matsen-tool/src/app/core/api/v1/model/postPostingCreate.ts
  10. +2
    -1
      matsen-tool/src/app/core/api/v1/model/sale.ts
  11. +2
    -1
      matsen-tool/src/app/core/api/v1/model/saleJsonhal.ts
  12. +2
    -1
      matsen-tool/src/app/core/api/v1/model/saleJsonld.ts

+ 1
- 1
matsen-tool/openapi.json
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 90
- 0
matsen-tool/openapi.yaml Просмотреть файл

@@ -4496,6 +4496,23 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
partnerName:
readOnly: true
type:
- string
- 'null'
product:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
productName:
readOnly: true
type:
- string
- 'null'
contact:
'owl:maxCardinality': 1
type:
@@ -4545,6 +4562,13 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
product:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
@@ -4620,6 +4644,23 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
partnerName:
readOnly: true
type:
- string
- 'null'
product:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
productName:
readOnly: true
type:
- string
- 'null'
contact:
'owl:maxCardinality': 1
type:
@@ -4678,6 +4719,13 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
product:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
@@ -4751,6 +4799,23 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
partnerName:
readOnly: true
type:
- string
- 'null'
product:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
productName:
readOnly: true
type:
- string
- 'null'
contact:
'owl:maxCardinality': 1
type:
@@ -4800,6 +4865,13 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
product:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
@@ -5032,6 +5104,10 @@ components:
type:
- integer
- 'null'
quantity:
type:
- integer
- 'null'
comment:
type:
- string
@@ -5050,6 +5126,8 @@ components:
type: string
required:
- turnover
- profit
- quantity
Sale.jsonhal:
type: object
description: ''
@@ -5116,6 +5194,10 @@ components:
type:
- integer
- 'null'
quantity:
type:
- integer
- 'null'
comment:
type:
- string
@@ -5134,6 +5216,8 @@ components:
type: string
required:
- turnover
- profit
- quantity
Sale.jsonld:
type: object
description: ''
@@ -5214,6 +5298,10 @@ components:
type:
- integer
- 'null'
quantity:
type:
- integer
- 'null'
comment:
type:
- string
@@ -5232,6 +5320,8 @@ components:
type: string
required:
- turnover
- profit
- quantity
SaleSummary:
type: object
description: ''


+ 18
- 3
matsen-tool/src/app/_forms/apiForms.ts Просмотреть файл

@@ -232,6 +232,9 @@ export const postForm = new FormGroup({
owner: new FormControl(null, []),
ownerName: new FormControl(null, []),
partner: new FormControl(null, []),
partnerName: new FormControl(null, []),
product: new FormControl(null, []),
productName: new FormControl(null, []),
contact: new FormControl(null, []),
sale: new FormControl(null, []),
comments: new FormControl(null, []),
@@ -242,6 +245,7 @@ export const postPostingCreateForm = new FormGroup({
headline: new FormControl(null, [Validators.required]),
message: new FormControl(null, [Validators.required]),
partner: new FormControl(null, []),
product: new FormControl(null, []),
contact: new FormControl(null, []),
sale: new FormControl(null, [])
});
@@ -258,6 +262,9 @@ export const postJsonhalForm = new FormGroup({
owner: new FormControl(null, []),
ownerName: new FormControl(null, []),
partner: new FormControl(null, []),
partnerName: new FormControl(null, []),
product: new FormControl(null, []),
productName: new FormControl(null, []),
contact: new FormControl(null, []),
sale: new FormControl(null, []),
comments: new FormControl(null, []),
@@ -269,6 +276,7 @@ export const postJsonhalPostingCreateForm = new FormGroup({
headline: new FormControl(null, [Validators.required]),
message: new FormControl(null, [Validators.required]),
partner: new FormControl(null, []),
product: new FormControl(null, []),
contact: new FormControl(null, []),
sale: new FormControl(null, [])
});
@@ -279,6 +287,9 @@ export const postJsonldForm = new FormGroup({
owner: new FormControl(null, []),
ownerName: new FormControl(null, []),
partner: new FormControl(null, []),
partnerName: new FormControl(null, []),
product: new FormControl(null, []),
productName: new FormControl(null, []),
contact: new FormControl(null, []),
sale: new FormControl(null, []),
comments: new FormControl(null, []),
@@ -289,6 +300,7 @@ export const postJsonldPostingCreateForm = new FormGroup({
headline: new FormControl(null, [Validators.required]),
message: new FormControl(null, [Validators.required]),
partner: new FormControl(null, []),
product: new FormControl(null, []),
contact: new FormControl(null, []),
sale: new FormControl(null, [])
});
@@ -333,7 +345,8 @@ export const saleForm = new FormGroup({
product: new FormControl(null, []),
productName: new FormControl(null, []),
turnover: new FormControl(null, [Validators.required]),
profit: new FormControl(null, []),
profit: new FormControl(null, [Validators.required]),
quantity: new FormControl(null, [Validators.required]),
comment: new FormControl(null, []),
createdAt: new FormControl(null, []),
posts: new FormControl(null, [])
@@ -349,7 +362,8 @@ export const saleJsonhalForm = new FormGroup({
product: new FormControl(null, []),
productName: new FormControl(null, []),
turnover: new FormControl(null, [Validators.required]),
profit: new FormControl(null, []),
profit: new FormControl(null, [Validators.required]),
quantity: new FormControl(null, [Validators.required]),
comment: new FormControl(null, []),
createdAt: new FormControl(null, []),
posts: new FormControl(null, [])
@@ -364,7 +378,8 @@ export const saleJsonldForm = new FormGroup({
product: new FormControl(null, []),
productName: new FormControl(null, []),
turnover: new FormControl(null, [Validators.required]),
profit: new FormControl(null, []),
profit: new FormControl(null, [Validators.required]),
quantity: new FormControl(null, [Validators.required]),
comment: new FormControl(null, []),
createdAt: new FormControl(null, []),
posts: new FormControl(null, [])


+ 3
- 0
matsen-tool/src/app/core/api/v1/model/post.ts Просмотреть файл

@@ -21,6 +21,9 @@ export interface Post {
readonly owner?: string | null;
readonly ownerName?: string | null;
partner?: string | null;
readonly partnerName?: string | null;
product?: string | null;
readonly productName?: string | null;
contact?: string | null;
sale?: string | null;
/**


+ 3
- 0
matsen-tool/src/app/core/api/v1/model/postJsonhal.ts Просмотреть файл

@@ -23,6 +23,9 @@ export interface PostJsonhal {
readonly owner?: string | null;
readonly ownerName?: string | null;
partner?: string | null;
readonly partnerName?: string | null;
product?: string | null;
readonly productName?: string | null;
contact?: string | null;
sale?: string | null;
/**


+ 1
- 0
matsen-tool/src/app/core/api/v1/model/postJsonhalPostingCreate.ts Просмотреть файл

@@ -20,6 +20,7 @@ export interface PostJsonhalPostingCreate {
headline: string | null;
message: string | null;
partner?: string | null;
product?: string | null;
contact?: string | null;
sale?: string | null;
}


+ 3
- 0
matsen-tool/src/app/core/api/v1/model/postJsonld.ts Просмотреть файл

@@ -25,6 +25,9 @@ export interface PostJsonld {
readonly owner?: string | null;
readonly ownerName?: string | null;
partner?: string | null;
readonly partnerName?: string | null;
product?: string | null;
readonly productName?: string | null;
contact?: string | null;
sale?: string | null;
/**


+ 1
- 0
matsen-tool/src/app/core/api/v1/model/postJsonldPostingCreate.ts Просмотреть файл

@@ -18,6 +18,7 @@ export interface PostJsonldPostingCreate {
headline: string | null;
message: string | null;
partner?: string | null;
product?: string | null;
contact?: string | null;
sale?: string | null;
}


+ 1
- 0
matsen-tool/src/app/core/api/v1/model/postPostingCreate.ts Просмотреть файл

@@ -18,6 +18,7 @@ export interface PostPostingCreate {
headline: string | null;
message: string | null;
partner?: string | null;
product?: string | null;
contact?: string | null;
sale?: string | null;
}


+ 2
- 1
matsen-tool/src/app/core/api/v1/model/sale.ts Просмотреть файл

@@ -23,7 +23,8 @@ export interface Sale {
product?: string | null;
readonly productName?: string | null;
turnover: number | null;
profit?: number | null;
profit: number | null;
quantity: number | null;
comment?: string | null;
readonly createdAt?: string | null;
/**


+ 2
- 1
matsen-tool/src/app/core/api/v1/model/saleJsonhal.ts Просмотреть файл

@@ -25,7 +25,8 @@ export interface SaleJsonhal {
product?: string | null;
readonly productName?: string | null;
turnover: number | null;
profit?: number | null;
profit: number | null;
quantity: number | null;
comment?: string | null;
readonly createdAt?: string | null;
/**


+ 2
- 1
matsen-tool/src/app/core/api/v1/model/saleJsonld.ts Просмотреть файл

@@ -27,7 +27,8 @@ export interface SaleJsonld {
product?: string | null;
readonly productName?: string | null;
turnover: number | null;
profit?: number | null;
profit: number | null;
quantity: number | null;
comment?: string | null;
readonly createdAt?: string | null;
/**


Загрузка…
Отмена
Сохранить