UNPKG

@speckle/shared

Version:

Shared code between various Speckle JS packages

7 lines 775 B
import { AutomateFunctionNotCreatorError, AutomateFunctionNotFoundError, AutomateNotEnabledError } from '../domain/authErrors.js'; import { Loaders } from '../domain/loaders.js'; import { AuthPolicyEnsureFragment } from '../domain/policies.js'; import { AutomateFunctionContext, MaybeUserContext } from '../domain/context.js'; export declare const ensureAutomateEnabledFragment: AuthPolicyEnsureFragment<typeof Loaders.getEnv, {}, InstanceType<typeof AutomateNotEnabledError>>; export declare const ensureAutomateFunctionCreatorFragment: AuthPolicyEnsureFragment<typeof Loaders.getAutomateFunction, MaybeUserContext & AutomateFunctionContext, InstanceType<typeof AutomateFunctionNotFoundError | typeof AutomateFunctionNotCreatorError>>; //# sourceMappingURL=automate.d.ts.map