Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Wiki Wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CP - Planta
  • WikiWiki
  • Wiki
  • backend_settings

backend_settings · Changes

Page history
docs: docs authored Oct 19, 2024 by Rodrigo Oliveira Rosa's avatar Rodrigo Oliveira Rosa
Show whitespace changes
Inline Side-by-side
backend_settings.md 0 → 100644
View page @ e9b6d2ca
| [Home](home) | [**Escopo**](escopo) | [Processo](processo) | [Design/Mockups](design_mockups) | [Gerência](gerencia) | [Estudos](estudos) | [Arquitetura](arquitetura) | [Contratos](contratos) | [BD](banco_dados) | [Qualidade](qualidade) | [Configuração](configuracao) | [Instalação](instalacao) | [Instruções](instrucoes) | [Utilização](utilizacao) | [Analytics](Analytics) | [Infraestrutura](infraestrutura) | [Dicas](dicas) |
| :-------: | :---------------------: | :---------------: | :---------------------------: | :----------------: | :-------------: | :---------------------: | :-----------------: | :------------: | :-----------------: | :-------------------------: | :---------------------: | :---------------------: | :---------------------: | :-----------------: | :---------------------------: | :---------: |
# Settings - configurações
fields:
endpoints:
## FindAll
GET http://localhost:3000/settings/
response:
```json
[
{
"id": 3,
"key": "enableNegativeStock",
"value": "true",
"description": "Serve para habilitar ou desabilitar o controle de estoque negativo",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 4,
"key": "defaultStockLocation",
"value": "1",
"description": "Serve para definir o local de estoque padrão",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 5,
"key": "defaultRoleForNewUser",
"value": "DEFAULT",
"description": "Serve para definir o papel padrão para novos usuários",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 6,
"key": "defaultLoteInputMask",
"value": "P",
"description": "Define o padrão de máscara para lote de entrada",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 7,
"key": "defaultLoteOutputMask",
"value": "PD",
"description": "Define o padrão de máscara para lote de saída",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 8,
"key": "lastDocumentNumber",
"value": "3000",
"description": "Serve para guardar o último número de documento criado para incrementar a partir dele",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 9,
"key": "lastLoteNumber",
"value": "100025",
"description": "Serve para guardar o último número de lote criado para incrementar a partir dele",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-19T06:31:45.184Z",
"updated_by": "root"
},
{
"id": 10,
"key": "loteNumberLength",
"value": "5",
"description": "Define o tamanho do número do lote para preenchimento com zeros à esquerda (ex: 00001)",
"active": true,
"created_at": "2024-10-18T03:11:19.116Z",
"created_by": "root",
"updated_at": "2024-10-18T03:11:19.116Z",
"updated_by": "root"
},
{
"id": 11,
"key": "daysOfExpiration",
"value": "90",
"description": "Serve para definir por padrão a validade do lote",
"active": true,
"created_at": "2024-10-18T13:14:27.633Z",
"created_by": "root",
"updated_at": "2024-10-18T13:14:27.633Z",
"updated_by": "root"
}
]
```
## FindById
GET http://localhost:3000/settings/1
response:
```json
```
Clone repository
  • Infraestrutura
  • Utilizando a wiki
    • adicionando imagens
    • escrevendo em markdown
    • wiki no editor de texto
  • analytics
  • arquitetura
  • backend_categories
  • backend_inicio
  • backend_persons
  • backend_production_order
  • backend_products
  • backend_qualidade
  • backend_settings
  • backend_stock
  • backend_stock_locations
View All Pages