mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 01:32:44 +08:00
feat(ql3): add secure console cron scheduling
This commit is contained in:
@@ -2541,6 +2541,10 @@ test('confines Local API identity authentication to its exact read-only adapter'
|
||||
"import { destroy } from '@qinglong/local-owner-console/pepper-custody/destructive';",
|
||||
'transport/widened.ts':
|
||||
"import { authenticate } from '@qinglong/local-owner-console/identity-authentication';",
|
||||
'trigger/triggerPutRoute.ts':
|
||||
"import { put } from '@qinglong/local-admin/trigger-administration';",
|
||||
'trigger/widened.ts':
|
||||
"import { put } from '@qinglong/local-admin/trigger-administration';",
|
||||
};
|
||||
for (const [relativePath, source] of Object.entries(sources)) {
|
||||
const filePath = path.join(packageDirectory, relativePath);
|
||||
@@ -2562,6 +2566,10 @@ test('confines Local API identity authentication to its exact read-only adapter'
|
||||
code: 'FORBIDDEN_LOCAL_IDENTITY_AUTHORITY_IMPORT',
|
||||
file: 'packages/ql3-local-api/src/transport/widened.ts',
|
||||
},
|
||||
{
|
||||
code: 'FORBIDDEN_PACKAGE_SOURCE_IMPORT',
|
||||
file: 'packages/ql3-local-api/src/trigger/widened.ts',
|
||||
},
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -130,10 +130,10 @@ test('current QL3 workspace has exactly eighteen reviewed package boundaries', (
|
||||
rootSourceFileRoles: localApi.rootSourceFileRoles,
|
||||
},
|
||||
{
|
||||
sourceFiles: 21,
|
||||
sourceFiles: 24,
|
||||
rootSourceFiles: 1,
|
||||
rootSourceLines: 84,
|
||||
nestedSourceFiles: 20,
|
||||
nestedSourceFiles: 23,
|
||||
rootSourceFileRoles: { 'cli.ts': 'binary_entry' },
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user