All files / core/blong-gogo/src/orchestrator index.ts

100% Statements 18/18
60% Branches 3/5
100% Functions 0/0
100% Lines 18/18

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 17 18 196x 6x 6x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x  
import {realm} from '@feasibleone/blong/types';
 
export default realm(blong => ({
    url: import.meta.url,
    validation: blong.type.Object({
        openapi: blong.type.Boolean(),
        dispatch: blong.type.Boolean(),
        common: blong.type.Boolean(),
    }),
    children: globalThis.window ? import.meta.glob(['./common/*.ts']) : ['./common'],
    config: {
        default: {
            openapi: false,
            dispatch: false,
            common: true,
        },
    },
}));