@velis/dynamicforms
Version:
Data entry boilerplate components and a RESTful API consumer
22 lines • 1.19 kB
TypeScript
import type { ActionsNS } from '../actions/namespace';
import ComponentDisplay from './component-display';
import FormConsumerBase from './form-consumer/base';
import { APIConsumer } from './namespace';
type IHandlers = ActionsNS.IHandlers;
/**
* Object containing the properties required to render at least one of the display components
*
* TODO: APIConsumerBase is not reactive. you have to assign the object anew for APIConsumer to work.
* It won't do to just call .getFullDefinition on an existing object.
*
* TODO: APIConsumer is named incorrectly, causing <a-p-i-consumer> component name. Rename.
*/
type __VLS_Props = {
consumer: APIConsumer.ConsumerLogicBaseInterface | FormConsumerBase;
displayComponent: ComponentDisplay;
handlers?: IHandlers;
dialogHandlers?: IHandlers;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=api-consumer.vue.d.ts.map