u
This commit is contained in:
@@ -1162,6 +1162,60 @@
|
||||
* type: array
|
||||
* items:
|
||||
* type: integer
|
||||
* LabelObject:
|
||||
* type: object
|
||||
* required: [id, type, x, y]
|
||||
* properties:
|
||||
* id:
|
||||
* type: string
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [textbox, barcode, png]
|
||||
* x:
|
||||
* type: number
|
||||
* y:
|
||||
* type: number
|
||||
* w:
|
||||
* type: number
|
||||
* h:
|
||||
* type: number
|
||||
* text:
|
||||
* type: string
|
||||
* font:
|
||||
* type: string
|
||||
* fontSize:
|
||||
* type: number
|
||||
* barcodeFormat:
|
||||
* type: string
|
||||
* enum: [EAN8, EAN13, CODE128, QR]
|
||||
* LabelContent:
|
||||
* type: object
|
||||
* required: [objects]
|
||||
* properties:
|
||||
* objects:
|
||||
* type: array
|
||||
* description: Canvas label editor items
|
||||
* items:
|
||||
* $ref: '#/components/schemas/LabelObject'
|
||||
* LabelTemplateSummary:
|
||||
* type: object
|
||||
* required: [id, name, width, height, dpi, type]
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* name:
|
||||
* type: string
|
||||
* width:
|
||||
* type: number
|
||||
* height:
|
||||
* type: number
|
||||
* dpi:
|
||||
* type: integer
|
||||
* type:
|
||||
* type: string
|
||||
* thumb:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* LabelTemplate:
|
||||
* type: object
|
||||
* required: [id, name, width, height, dpi, type, content]
|
||||
@@ -1179,7 +1233,7 @@
|
||||
* type:
|
||||
* type: string
|
||||
* content:
|
||||
* type: object
|
||||
* $ref: '#/components/schemas/LabelContent'
|
||||
* thumb:
|
||||
* type: string
|
||||
* nullable: true
|
||||
@@ -1198,7 +1252,7 @@
|
||||
* type:
|
||||
* type: string
|
||||
* content:
|
||||
* type: object
|
||||
* $ref: '#/components/schemas/LabelContent'
|
||||
* LabelTemplateUpdateInput:
|
||||
* type: object
|
||||
* properties:
|
||||
@@ -1213,7 +1267,7 @@
|
||||
* type:
|
||||
* type: string
|
||||
* content:
|
||||
* type: object
|
||||
* $ref: '#/components/schemas/LabelContent'
|
||||
* Warehouse:
|
||||
* type: object
|
||||
* required: [id, name, sort]
|
||||
|
||||
@@ -61,7 +61,7 @@ export function register(app, basePath = '') {
|
||||
* labeltemplates:
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/LabelTemplate'
|
||||
* $ref: '#/components/schemas/LabelTemplateSummary'
|
||||
* 400:
|
||||
* description: No company selected
|
||||
* content:
|
||||
|
||||
Reference in New Issue
Block a user