chore: initial commit — AdonisJS v7 TR-069 ACS
- Docker infrastructure (Dockerfile, docker-compose.yml, genieacs-sim) - AdonisJS v7 app with Inertia.js + Vue 3 - MongoDB integration - CWMP/TR-069 state machine engine - Configuration engine with compliance tracking - Branding: ADAM ACS (favicon, navbar, locales) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
commit
d1c65dbf1e
164 files changed
+29127
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import vine from '@vinejs/vine'
|
||||
|
||||
export const createCommandValidator = vine.compile(
|
||||
vine.object({
|
||||
deviceIdentifier: vine.string().trim(),
|
||||
action: vine.enum([
|
||||
'SET_PARAMETER_VALUES',
|
||||
'GET_PARAMETER_VALUES',
|
||||
'GET_PARAMETER_NAMES',
|
||||
'SET_PARAMETER_ATTRIBUTES',
|
||||
'GET_PARAMETER_ATTRIBUTES',
|
||||
'DOWNLOAD',
|
||||
'UPLOAD',
|
||||
'REBOOT',
|
||||
'FACTORY_RESET',
|
||||
'SCHEDULE_INFORM',
|
||||
'REFRESH',
|
||||
]),
|
||||
parameters: vine.object({}).allowUnknownProperties(),
|
||||
mode: vine.enum(['NI', 'I']).optional(),
|
||||
priority: vine.number().min(0).max(3).optional(),
|
||||
})
|
||||
)
|
||||
Reference in new issue
Block a user