@doflo/flow-interfaces
Advanced tools
Comparing version 1.17.1 to 1.17.2
@@ -26,2 +26,3 @@ "use strict"; | ||
function Action(name, className) { | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
return (_target, key, descriptor) => { | ||
@@ -28,0 +29,0 @@ Reflect.defineMetadata(constants.ACTION_NAME_METADATA, className ? className + '_' : '' + name ? name : key, descriptor.value); |
import { EnvironmentData } from '../..'; | ||
export interface globalsAPI { | ||
load<T>(): Promise<EnvironmentData & T>; | ||
load<T>(path: string): Promise<EnvironmentData & T>; | ||
load<T>(): Promise<Omit<EnvironmentData, 'ENV'> & T>; | ||
load<T>(path: string): Promise<Omit<EnvironmentData, 'ENV'> & T>; | ||
} |
import { actionAPI } from './action'; | ||
import { credentialAPI } from './credential'; | ||
import { envAPI } from './env'; | ||
import { signalAPI } from './signal'; | ||
import { globalsAPI } from './globals'; | ||
import { pageAPI } from './page'; | ||
export * as env from './env'; | ||
@@ -13,2 +12,3 @@ export * as globals from './globals'; | ||
export * as element from './element'; | ||
export * as page from './page'; | ||
export interface apiBase { | ||
@@ -18,7 +18,6 @@ version?: string; | ||
export interface doFloAPIReact { | ||
page: pageAPI; | ||
action: actionAPI; | ||
signal: signalAPI; | ||
credential: credentialAPI; | ||
env: envAPI; | ||
globals: globalsAPI; | ||
} | ||
@@ -25,0 +24,0 @@ export interface doFloGlobalsOptions { |
@@ -22,3 +22,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.element = exports.credential = exports.action = exports.storage = exports.signal = exports.globals = exports.env = void 0; | ||
exports.page = exports.element = exports.credential = exports.action = exports.storage = exports.signal = exports.globals = exports.env = void 0; | ||
exports.env = __importStar(require("./env")); | ||
@@ -31,2 +31,3 @@ exports.globals = __importStar(require("./globals")); | ||
exports.element = __importStar(require("./element")); | ||
exports.page = __importStar(require("./page")); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
import { api, EnvironmentData } from '..'; | ||
export declare enum EditorModeEnum { | ||
@@ -6,1 +7,5 @@ new = 0, | ||
} | ||
export interface IComponentProps<E = EnvironmentData> { | ||
api: api.doFloAPIReact; | ||
env: EnvironmentData & E; | ||
} |
{ | ||
"name": "@doflo/flow-interfaces", | ||
"version": "1.17.1", | ||
"version": "1.17.2", | ||
"description": "Public Interfaces, Schemas, & GRPC Signatures for doFlo developers", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
316327
154
5126