trace + backup propertie

This commit is contained in:
Kevin L'Hereec committed 2026-06-01 16:20:58 +02:00
1 parent b3b1edec17
commit ea73e91aa4
8 files changed
+164 -37

No files matched your search

+18
View File
@@ -90,12 +90,30 @@ const routes = {
tokens: [{"old":"/api/v1/tr069-trace","type":0,"val":"api","end":""},{"old":"/api/v1/tr069-trace","type":0,"val":"v1","end":""},{"old":"/api/v1/tr069-trace","type":0,"val":"tr069-trace","end":""}],
types: placeholder as Registry['tr_069_trace.store']['types'],
},
'tr_069_trace.raw_config': {
methods: ["GET","HEAD"],
pattern: '/api/v1/tr069-trace/config',
tokens: [{"old":"/api/v1/tr069-trace/config","type":0,"val":"api","end":""},{"old":"/api/v1/tr069-trace/config","type":0,"val":"v1","end":""},{"old":"/api/v1/tr069-trace/config","type":0,"val":"tr069-trace","end":""},{"old":"/api/v1/tr069-trace/config","type":0,"val":"config","end":""}],
types: placeholder as Registry['tr_069_trace.raw_config']['types'],
},
'tr_069_trace.save_raw_config': {
methods: ["PUT"],
pattern: '/api/v1/tr069-trace/config',
tokens: [{"old":"/api/v1/tr069-trace/config","type":0,"val":"api","end":""},{"old":"/api/v1/tr069-trace/config","type":0,"val":"v1","end":""},{"old":"/api/v1/tr069-trace/config","type":0,"val":"tr069-trace","end":""},{"old":"/api/v1/tr069-trace/config","type":0,"val":"config","end":""}],
types: placeholder as Registry['tr_069_trace.save_raw_config']['types'],
},
'tr_069_trace.destroy': {
methods: ["DELETE"],
pattern: '/api/v1/tr069-trace/:id',
tokens: [{"old":"/api/v1/tr069-trace/:id","type":0,"val":"api","end":""},{"old":"/api/v1/tr069-trace/:id","type":0,"val":"v1","end":""},{"old":"/api/v1/tr069-trace/:id","type":0,"val":"tr069-trace","end":""},{"old":"/api/v1/tr069-trace/:id","type":1,"val":"id","end":""}],
types: placeholder as Registry['tr_069_trace.destroy']['types'],
},
'tr_069_trace.show_log': {
methods: ["GET","HEAD"],
pattern: '/api/v1/tr069-trace/:id/log',
tokens: [{"old":"/api/v1/tr069-trace/:id/log","type":0,"val":"api","end":""},{"old":"/api/v1/tr069-trace/:id/log","type":0,"val":"v1","end":""},{"old":"/api/v1/tr069-trace/:id/log","type":0,"val":"tr069-trace","end":""},{"old":"/api/v1/tr069-trace/:id/log","type":1,"val":"id","end":""},{"old":"/api/v1/tr069-trace/:id/log","type":0,"val":"log","end":""}],
types: placeholder as Registry['tr_069_trace.show_log']['types'],
},
'configurations_v_1.index': {
methods: ["GET","HEAD"],
pattern: '/api/v1/configurations',
+36
View File
@@ -175,6 +175,30 @@ export interface Registry {
errorResponse: ExtractErrorResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['store']>>>
}
}
'tr_069_trace.raw_config': {
methods: ["GET","HEAD"]
pattern: '/api/v1/tr069-trace/config'
types: {
body: {}
paramsTuple: []
params: {}
query: {}
response: ExtractResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['rawConfig']>>>
errorResponse: ExtractErrorResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['rawConfig']>>>
}
}
'tr_069_trace.save_raw_config': {
methods: ["PUT"]
pattern: '/api/v1/tr069-trace/config'
types: {
body: {}
paramsTuple: []
params: {}
query: {}
response: ExtractResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['saveRawConfig']>>>
errorResponse: ExtractErrorResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['saveRawConfig']>>>
}
}
'tr_069_trace.destroy': {
methods: ["DELETE"]
pattern: '/api/v1/tr069-trace/:id'
@@ -187,6 +211,18 @@ export interface Registry {
errorResponse: ExtractErrorResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['destroy']>>>
}
}
'tr_069_trace.show_log': {
methods: ["GET","HEAD"]
pattern: '/api/v1/tr069-trace/:id/log'
types: {
body: {}
paramsTuple: [ParamValue]
params: { id: ParamValue }
query: {}
response: ExtractResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['showLog']>>>
errorResponse: ExtractErrorResponse<Awaited<ReturnType<import('#controllers/tr069_trace_controller').default['showLog']>>>
}
}
'configurations_v_1.index': {
methods: ["GET","HEAD"]
pattern: '/api/v1/configurations'
+3
View File
@@ -24,7 +24,10 @@ export interface ApiDefinition {
tr069Trace: {
index: typeof routes['tr_069_trace.index']
store: typeof routes['tr_069_trace.store']
rawConfig: typeof routes['tr_069_trace.raw_config']
saveRawConfig: typeof routes['tr_069_trace.save_raw_config']
destroy: typeof routes['tr_069_trace.destroy']
showLog: typeof routes['tr_069_trace.show_log']
}
configurationsV1: {
index: typeof routes['configurations_v_1.index']