All files / realm/blong-gateway browser.ts

93.75% Statements 15/16
50% Branches 1/2
100% Functions 0/0
93.75% Lines 15/16

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 171x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x   1x 1x  
/// <reference types="vite/client" />
/**
 * blong-gateway/browser.ts — API Gateway realm entry point (browser side).
 *
 * Auto-discovers the schema/models and any browser orchestrator components
 * from `meta/` + `browser/`.  Contributes the Application/Bundle/Subscription
 * management pages to the portal.
 */
import {realm} from '@feasibleone/blong';
 
export default realm(() => ({
    url: import.meta.url,
    children: globalThis.window
        ? import.meta.glob(['./meta/model/**/*.ts', './browser/**/*.ts'])
        : ['./meta/model', './browser'],
}));