Skip to content

Commit

Permalink
Merge branch 'next' into update-ui-library-for-more-generic-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
seanspeaks committed Jan 24, 2025
2 parents 46ab388 + ac5ceef commit 02a00cd
Show file tree
Hide file tree
Showing 21 changed files with 31,496 additions and 194 deletions.
30,650 changes: 30,650 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

40 changes: 28 additions & 12 deletions packages/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const {
getArrayParamAndVerifyParamType,
getAndVerifyType,
} = require('./assertions/index');
const { Delegate, Worker, loadInstalledModules, createHandler } = require('./core/index');
const {
Delegate,
Worker,
loadInstalledModules,
createHandler,
} = require('./core/index');
const {
mongoose,
connectToDatabase,
Expand All @@ -17,7 +22,8 @@ const {
OrganizationUser,
State,
Token,
UserModel
UserModel,
WebsocketConnection,
} = require('./database/index');
const { Encrypt, Cryptor } = require('./encrypt/encrypt');
const {
Expand All @@ -26,7 +32,7 @@ const {
HaltError,
RequiredPropertyError,
ParameterTypeError,
} = require('./errors/index');
} = require('./errors/index');
const {
IntegrationBase,
IntegrationModel,
Expand All @@ -36,14 +42,10 @@ const {
IntegrationHelper,
createIntegrationRouter,
checkRequiredParams,
createFriggBackend
createFriggBackend,
} = require('./integrations/index');
const { TimeoutCatcher } = require('./lambda/index');
const {
debug,
initDebugLog,
flushDebugLog
} = require('./logs/index');
const { debug, initDebugLog, flushDebugLog } = require('./logs/index');
const {
Credential,
EntityManager,
Expand All @@ -55,11 +57,13 @@ const {
Requester,
ModuleConstants,
ModuleFactory,
Auther
Auther,
} = require('./module-plugin/index');

// const {Sync } = require('./syncs/model');

const { QueuerUtil } = require('./queues');

module.exports = {
// assertions
expectShallowEqualDbObject,
Expand All @@ -69,11 +73,13 @@ module.exports = {
getParamAndVerifyParamType,
getArrayParamAndVerifyParamType,
getAndVerifyType,

// core
Delegate,
Worker,
loadInstalledModules,
createHandler,

// database
mongoose,
connectToDatabase,
Expand All @@ -84,15 +90,19 @@ module.exports = {
State,
Token,
UserModel,
WebsocketConnection,

// encrypt
Encrypt,
Cryptor,

// errors
BaseError,
FetchError,
HaltError,
RequiredPropertyError,
ParameterTypeError,

// integrations
IntegrationBase,
IntegrationModel,
Expand All @@ -103,12 +113,15 @@ module.exports = {
checkRequiredParams,
createIntegrationRouter,
createFriggBackend,

// lambda
TimeoutCatcher,

// logs
debug,
initDebugLog,
flushDebugLog,

// module plugin
Credential,
EntityManager,
Expand All @@ -120,5 +133,8 @@ module.exports = {
Requester,
ModuleConstants,
ModuleFactory,
Auther
}
Auther,

// queues
QueuerUtil,
};
Loading

0 comments on commit 02a00cd

Please sign in to comment.