@botpress/sdk 4.15.10 → 4.15.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/dist/bot/definition.d.ts +4 -0
- package/dist/bot/workflow-proxy/proxy.d.ts +1 -0
- package/dist/bot/workflow-proxy/types.d.ts +3 -1
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +36 -36
- package/dist/index.mjs.map +3 -3
- package/dist/integration/definition/index.d.ts +1 -0
- package/dist/interface/definition.d.ts +4 -0
- package/dist/plugin/definition.d.ts +4 -0
- package/package.json +1 -1
|
@@ -52,6 +52,9 @@ export type InterfaceDefinitionProps<TName extends string = string, TVersion ext
|
|
|
52
52
|
channels?: {
|
|
53
53
|
[K in keyof TChannels]: GenericChannelDefinition<TEntities, TChannels[K]>;
|
|
54
54
|
};
|
|
55
|
+
__advanced?: {
|
|
56
|
+
useLegacyZuiTransformer?: boolean;
|
|
57
|
+
};
|
|
55
58
|
};
|
|
56
59
|
export declare class InterfaceDefinition<TName extends string = string, TVersion extends string = string, TEntities extends BaseEntities = BaseEntities, TActions extends BaseActions = BaseActions, TEvents extends BaseEvents = BaseEvents, TChannels extends BaseChannels = BaseChannels> {
|
|
57
60
|
readonly props: InterfaceDefinitionProps<TName, TVersion, TEntities, TActions, TEvents, TChannels>;
|
|
@@ -74,6 +77,7 @@ export declare class InterfaceDefinition<TName extends string = string, TVersion
|
|
|
74
77
|
readonly channels: {
|
|
75
78
|
[K in keyof TChannels]: ChannelDefinition<TChannels[K]>;
|
|
76
79
|
};
|
|
80
|
+
readonly __advanced: this['props']['__advanced'];
|
|
77
81
|
constructor(props: InterfaceDefinitionProps<TName, TVersion, TEntities, TActions, TEvents, TChannels>);
|
|
78
82
|
private _getEntityReference;
|
|
79
83
|
}
|
|
@@ -93,6 +93,9 @@ export type PluginDefinitionProps<TName extends string = string, TVersion extend
|
|
|
93
93
|
workflows?: {
|
|
94
94
|
[K in keyof TWorkflows]: WorkflowDefinition<TWorkflows[K]>;
|
|
95
95
|
};
|
|
96
|
+
__advanced?: {
|
|
97
|
+
useLegacyZuiTransformer?: boolean;
|
|
98
|
+
};
|
|
96
99
|
};
|
|
97
100
|
export declare class PluginDefinition<TName extends string = string, TVersion extends string = string, TConfig extends BaseConfig = BaseConfig, TStates extends BaseStates = BaseStates, TEvents extends BaseEvents = BaseEvents, TActions extends BaseActions = BaseActions, TInterfaces extends BaseInterfaces = BaseInterfaces, TIntegrations extends BaseIntegrations = BaseIntegrations, TTables extends BaseTables = BaseTables, TWorkflows extends BaseWorkflows = BaseWorkflows> {
|
|
98
101
|
readonly props: PluginDefinitionProps<TName, TVersion, TConfig, TStates, TEvents, TActions, TInterfaces, TIntegrations, TTables, TWorkflows>;
|
|
@@ -123,6 +126,7 @@ export declare class PluginDefinition<TName extends string = string, TVersion ex
|
|
|
123
126
|
[K in keyof TTables]: TableDefinition<TTables[K]>;
|
|
124
127
|
};
|
|
125
128
|
readonly workflows: this['props']['workflows'];
|
|
129
|
+
readonly __advanced: this['props']['__advanced'];
|
|
126
130
|
constructor(props: PluginDefinitionProps<TName, TVersion, TConfig, TStates, TEvents, TActions, TInterfaces, TIntegrations, TTables, TWorkflows>);
|
|
127
131
|
/**
|
|
128
132
|
* Returns a copy of the plugin definition where all entity references are
|