fix: build issues based on removed code

This commit is contained in:
Eli Bosley
2024-10-24 10:47:12 -04:00
parent bb44862b7b
commit ef54af655e
3 changed files with 3 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
export * as modules from '@app/core/modules';
export * as notifiers from '@app/core/notifiers';
export * as utils from '@app/core/utils';
export * from '@app/core/bus';
export * from '@app/core/log';
export * from '@app/core/permission-manager';
export * from '@app/core/permissions';

View File

@@ -1,11 +1,11 @@
import type { CoreContext, CoreResult } from '@app/core/types';
import { bus } from '@app/core/bus';
import { AppError } from '@app/core/errors/app-error';
import { ensurePermission } from '@app/core/utils/permissions/ensure-permission';
import { hasFields } from '@app/core/utils/validation/has-fields';
import { FieldMissingError } from '@app/core/errors/field-missing-error';
import { emcmd } from '@app/core/utils/clients/emcmd';
import { getters } from '@app/store';
import { pubsub } from '@app/core/pubsub';
interface Context extends CoreContext {
readonly data: {
@@ -61,7 +61,7 @@ export const addUser = async (context: Context): Promise<CoreResult> => {
}
// Update users channel with new user
bus.emit('users', {
pubsub.publish('users', {
users: {
mutation: 'CREATED',
node: [user],
@@ -69,7 +69,7 @@ export const addUser = async (context: Context): Promise<CoreResult> => {
});
// Update user channel with new user
bus.emit('user', {
pubsub.publish('user', {
user: {
mutation: 'CREATED',
node: user,

View File

@@ -1,7 +1,6 @@
// Created from 'create-ts-index'
export * from './array';
export * from './authentication';
export * from './clients';
export * from './plugins';
export * from './shares';