@doflo/flow-interfaces
Advanced tools
Comparing version 1.17.3 to 1.17.4
import 'reflect-metadata'; | ||
export declare function Action(name?: string, className?: string): MethodDecorator; | ||
export declare function Action(name?: string, className?: string): (_target: unknown, key: string | symbol, descriptor?: PropertyDescriptor | undefined) => PropertyDescriptor; |
@@ -25,6 +25,5 @@ "use strict"; | ||
const constants = __importStar(require("./_constants")); | ||
function Action(name, className) { | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
function Action(name = '', className = '') { | ||
return (_target, key, descriptor) => { | ||
Reflect.defineMetadata(constants.ACTION_NAME_METADATA, className ? className + '_' : '' + name ? name : key, descriptor.value); | ||
Reflect.defineMetadata(constants.ACTION_NAME_METADATA, className ? className + '_' : '' + name ? name : key, descriptor ? descriptor.value : undefined); | ||
return descriptor; | ||
@@ -31,0 +30,0 @@ }; |
@@ -75,25 +75,2 @@ { | ||
}, | ||
"element-events-schema": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/element-event-schema" | ||
} | ||
}, | ||
"element-event-schema": { | ||
"allOf": [ | ||
{ | ||
"$ref": "./definitions/elementSchema.json" | ||
} | ||
], | ||
"description": "Definition of a switchboard event switch", | ||
"properties": { | ||
"switchMethod": {}, | ||
"notes": {}, | ||
"switchType": { | ||
"description": "In an event switch this should be event", | ||
"pattern": "event" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"configuration-schema": { | ||
@@ -100,0 +77,0 @@ "description": "Definition of a doFlo configuration", |
{ | ||
"name": "@doflo/flow-interfaces", | ||
"version": "1.17.3", | ||
"version": "1.17.4", | ||
"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
315877
5103