@comake/skl-js-engine
Version:
Standard Knowledge Language Javascript Engine
119 lines • 3.56 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SKL_ENGINE = exports.SKL_PROPERTY = exports.SKL_SPECS = exports.SKL_ENGINE_NAMESPACE = exports.SKL_DATA_NAMESPACE = exports.SKL_NAMESPACE = void 0;
const helper_1 = require("./helper");
__exportStar(require("./Shared"), exports);
exports.SKL_NAMESPACE = 'https://skl.so/';
exports.SKL_DATA_NAMESPACE = 'https://skl.so/d/';
exports.SKL_ENGINE_NAMESPACE = 'https://skl.so/skl-engine/';
exports.SKL_SPECS = (0, helper_1.createNamespace)(exports.SKL_NAMESPACE, [
'Capability',
'CapabilityMapping',
'TriggerCapabilityMapping',
'InvalidTokenErrorMatcher',
'JsonDataSource',
'OpenApiDescription',
'SecurityCredentials',
'Mapping',
'Inputs',
'OpenAPI',
'CodeFunction',
'integration/AuthenticationCredential',
'integration/interface/RESTfulApi',
]);
exports.SKL_PROPERTY = (0, helper_1.createNamespace)(exports.SKL_NAMESPACE, [
'capability',
'capabilityType',
'capabilityId',
'capabilityMapping',
'inputs',
'outputs',
'inputsContext',
'outputsContext',
'invalidTokenErrorMatcher',
'invalidTokenErrorMatcherStatus',
'invalidTokenErrorMatcherMessageRegex',
'refreshToken',
'jwtBearerOptions',
'accessToken',
'bearerToken',
'clientId',
'clientSecret',
'schemeName',
'oauthFlow',
'stage',
'operationId',
'data',
'source',
'series',
'parallel',
'apiKey',
'overrideBasePath',
'headers',
'object',
'inputsReference',
'inputsMapping',
'inputsMappingFrame',
'inputsMappingRef',
'inputsMappingFrameRef',
'outputsReference',
'outputsMapping',
'outputsMappingFrame',
'preProcessingMapping',
'preProcessingMappingFrame',
'operationMapping',
'dataSource',
'sourceId',
'records',
'type',
'dateCreated',
'dateModified',
'label',
'declarativeApiDescription',
'identifier',
'codeBody',
'integration/integration',
'account',
'credential',
'interface',
'username',
]);
// Export const SKLSO_INTEGRATION_NAMESPACE = 'https://skl.so/integration/';
// Export const SKLSO_INTEGRATION = createNamespace(SKLSO_INTEGRATION_NAMESPACE, [
// 'integration',
// 'account',
// 'credential',
// 'interface',
// 'username',
// 'AuthenticationCredential',
// ]);
// export const SKLSO_INTEGRATION_INTERFACE_NAMESPACE = 'https://skl.so/integration/interface/';
// export const SKLSO_INTEGRATION_INTERFACE = createNamespace(SKLSO_INTEGRATION_INTERFACE_NAMESPACE, ['RESTfulApi']);
exports.SKL_ENGINE = (0, helper_1.createNamespace)(exports.SKL_ENGINE_NAMESPACE, [
'update',
'findAll',
'findAllBy',
'find',
'findBy',
'exists',
'existsResult',
'count',
'countResult',
'save',
'destroy',
]);
//# sourceMappingURL=index.js.map