@doflo/flow-interfaces
Advanced tools
Comparing version 1.22.19 to 1.22.20
@@ -16,3 +16,2 @@ import { actionAPI } from './action'; | ||
export * as page from './page'; | ||
export * as table from './table'; | ||
export * as auth from './auth'; | ||
@@ -19,0 +18,0 @@ export interface apiBase { |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.auth = exports.table = exports.page = exports.element = exports.credential = exports.action = exports.storage = exports.signal = exports.intercom = exports.globals = exports.stripe = exports.env = void 0; | ||
exports.auth = exports.page = exports.element = exports.credential = exports.action = exports.storage = exports.signal = exports.intercom = exports.globals = exports.stripe = exports.env = void 0; | ||
exports.env = __importStar(require("./env")); | ||
@@ -38,4 +38,3 @@ exports.stripe = __importStar(require("./stripe")); | ||
exports.page = __importStar(require("./page")); | ||
exports.table = __importStar(require("./table")); | ||
exports.auth = __importStar(require("./auth")); | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,2 @@ /// <reference types="node" /> | ||
import type { Logger } from './logger'; | ||
import { Table } from './api/table'; | ||
import { ExecutionWrapper } from './executionWrapper'; | ||
@@ -121,3 +120,2 @@ import type { RequestInfo, RequestInit, Response } from 'node-fetch'; | ||
}; | ||
tables: ITables; | ||
stash: IStash; | ||
@@ -136,3 +134,2 @@ scheduling: ISchedule; | ||
api: { | ||
tables: ITables; | ||
scheduling: ISchedule; | ||
@@ -167,3 +164,2 @@ stash: IStash; | ||
api: { | ||
tables: ITables; | ||
persist: IPersistOut; | ||
@@ -421,28 +417,4 @@ scheduling: ISchedule; | ||
} | ||
export interface IProjectInfo { | ||
tables: Array<ITableInfo>; | ||
flows: Array<IFlowInfo>; | ||
} | ||
export interface IFlowInfo { | ||
} | ||
export interface ITableInfo { | ||
} | ||
export interface ITables { | ||
/** | ||
*  | ||
* | ||
* **listTables** get a list of the tables available in this project, if the account is upgraded you can get listings of tables in other projects | ||
*/ | ||
listTables(): Array<ITableInfo>; | ||
listTables(project: string): Array<ITableInfo>; | ||
table<S extends Document>(team: string, workspace: string, table: string): Table<S>; | ||
/** | ||
*  | ||
* | ||
* **createTable** create a table under this project, you must have been granted permission via the resources API before you can create a table | ||
* | ||
* Tables can be marked as private, readonly | ||
*/ | ||
createTable(tableName: string, tableCreationOptions: any): Table; | ||
} | ||
export interface IScopeRequestResponse { | ||
@@ -454,5 +426,2 @@ status: 'good' | 'bad'; | ||
} | ||
export interface IProjects { | ||
listProjects(): Array<IProjectInfo>; | ||
} | ||
export interface IFetch { | ||
@@ -836,3 +805,3 @@ /** | ||
export interface EnvironmentData { | ||
ENV: 'Production' | 'Stage' | 'Dev'; | ||
ENV: 'local' | 'dev' | 'stage' | 'prod'; | ||
[key: string]: string; | ||
@@ -839,0 +808,0 @@ } |
@@ -901,10 +901,2 @@ /** | ||
/** | ||
* Project Context for doFlo Elements | ||
*/ | ||
export interface ProjectContextInterface { | ||
projectInfo?: { | ||
[key: string]: any; | ||
}; | ||
} | ||
/** | ||
* Request Context for doFlo Elements SDK Client | ||
@@ -911,0 +903,0 @@ */ |
import { api, EnvironmentData } from '..'; | ||
export * as forms from './forms'; | ||
export * as reports from './reports'; | ||
export declare enum EditorModeEnum { | ||
@@ -5,0 +3,0 @@ new = 0, |
"use strict"; | ||
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EditorModeEnum = exports.reports = exports.forms = void 0; | ||
exports.forms = __importStar(require("./forms")); | ||
exports.reports = __importStar(require("./reports")); | ||
exports.EditorModeEnum = void 0; | ||
var EditorModeEnum; | ||
@@ -30,0 +5,0 @@ (function (EditorModeEnum) { |
{ | ||
"name": "@doflo/flow-interfaces", | ||
"version": "1.22.19", | ||
"version": "1.22.20", | ||
"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
Sorry, the diff of this file is not supported yet
285086
171
6608