All files / languages/sparql/services workspace-store.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

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 19 20 21 22 23 24 25 26 27 28 29 30 31              21x                           21x                  
import { ConfigurationScope } from '@src/utilities/config-scope';
import { SparqlConnection } from './sparql-connection';
import { TripleStoreConfig } from './triple-store-config';
 
/**
 * The non-removable workspace triple store connection.
 */
export const WORKSPACE_CONNECTION: SparqlConnection = {
	id: 'workspace',
	label: 'Workspace',
	endpointUrl: 'workspace:',
	description: 'In-memory triple store of the workspace.',
	configScope: ConfigurationScope.Workspace,
	isProtected: true,
	storeType: 'workspace',
	canToggleInference: true
};
 
/**
 * The non-removable workspace triple store config, derived from {@link WORKSPACE_CONNECTION}.
 */
export const WORKSPACE_STORE: TripleStoreConfig = {
	id: WORKSPACE_CONNECTION.id,
	label: WORKSPACE_CONNECTION.label!,
	description: WORKSPACE_CONNECTION.description,
	isProtected: WORKSPACE_CONNECTION.isProtected,
	inference: {
		supported: true
	}
};