Files
dc/sas/mocks/sas9/sasjs/services/public/viewtables.js
T
dc 7be3f84073
Build / Build-and-ng-test (pull_request) Successful in 6m42s
Lighthouse Checks / lighthouse (pull_request) Successful in 8m57s
Build / Build-and-test-development (pull_request) Canceled after 14m28s
feat(mocks): emit the sas9 services through webout()
The sasjs tree has emitted its responses through the runtime's webout()
since #461; the SAS 9 tree under sas/mocks/sas9/ still assigned every
captured payload to _webout, so its envelope was frozen at the 2022
recording and its values carried the separators a template literal eats.

All 35 services now call webout('OPEN') / webout('OBJ'|'ARR', name, rows)
/ webout('CLOSE'), with the three services that carry column metadata
passing { showmeta } and loading the guard from the new weboutGuard.js.

The payloads come from the captures read as JS produces them, with the
backslashes a template literal silently drops restored: 121 separator
values across 14 services - OMS URIs (OMSOBJ:<Class>\<repo>.<id>),
BUILTIN\Administrators, SAS\sasdemo and D:\... / C:\... paths.
2026-11-04 14:21:44 +00:00

104 lines
1.5 KiB
JavaScript

/* A fixed sample of what the SAS service returns for this screen.
The members are the same shape; the envelope now comes from the runtime. */
webout('OPEN')
webout('OBJ', 'mptables', [
{
MEMNAME: 'MPE_ALERTS'
},
{
MEMNAME: 'MPE_AUDIT'
},
{
MEMNAME: 'MPE_COLUMN_LEVEL_SECURITY'
},
{
MEMNAME: 'MPE_CONFIG'
},
{
MEMNAME: 'MPE_DATACATALOG_LIBS'
},
{
MEMNAME: 'MPE_DATACATALOG_TABS'
},
{
MEMNAME: 'MPE_DATACATALOG_VARS'
},
{
MEMNAME: 'MPE_DATADICTIONARY'
},
{
MEMNAME: 'MPE_DATALOADS'
},
{
MEMNAME: 'MPE_DATASTATUS_LIBS'
},
{
MEMNAME: 'MPE_DATASTATUS_TABS'
},
{
MEMNAME: 'MPE_EMAILS'
},
{
MEMNAME: 'MPE_EXCEL_CONFIG'
},
{
MEMNAME: 'MPE_FILTERANYTABLE'
},
{
MEMNAME: 'MPE_FILTERSOURCE'
},
{
MEMNAME: 'MPE_GROUPS'
},
{
MEMNAME: 'MPE_LINEAGE_COLS'
},
{
MEMNAME: 'MPE_LINEAGE_TABS'
},
{
MEMNAME: 'MPE_LOADS'
},
{
MEMNAME: 'MPE_LOCKANYTABLE'
},
{
MEMNAME: 'MPE_MAXKEYVALUES'
},
{
MEMNAME: 'MPE_REQUESTS'
},
{
MEMNAME: 'MPE_REVIEW'
},
{
MEMNAME: 'MPE_ROW_LEVEL_SECURITY'
},
{
MEMNAME: 'MPE_SECURITY'
},
{
MEMNAME: 'MPE_SELECTBOX'
},
{
MEMNAME: 'MPE_SIGNOFFS'
},
{
MEMNAME: 'MPE_SUBMIT'
},
{
MEMNAME: 'MPE_TABLES'
},
{
MEMNAME: 'MPE_USERS'
},
{
MEMNAME: 'MPE_VALIDATIONS'
},
{
MEMNAME: 'MPE_X_TEST'
}
])
webout('OBJ', 'libinfo', [])
webout('CLOSE')