@giteeteam/apps-manifest 0.8.6 → 0.8.8
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/lib/schema/messageQueues.json +5 -8
- package/lib/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
"type": "array",
|
|
4
4
|
"minItems": 1,
|
|
5
5
|
"uniqueItems": true,
|
|
6
|
-
"uniqueItemProperties": [
|
|
7
|
-
"key"
|
|
8
|
-
],
|
|
6
|
+
"uniqueItemProperties": ["key"],
|
|
9
7
|
"items": {
|
|
10
8
|
"type": "object",
|
|
11
9
|
"properties": {
|
|
@@ -17,13 +15,12 @@
|
|
|
17
15
|
},
|
|
18
16
|
"endpoint": {
|
|
19
17
|
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"namespace": {
|
|
20
|
+
"type": "string"
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
|
-
"required": [
|
|
23
|
-
"key",
|
|
24
|
-
"type",
|
|
25
|
-
"endpoint"
|
|
26
|
-
]
|
|
23
|
+
"required": ["key", "type", "endpoint"]
|
|
27
24
|
},
|
|
28
25
|
"errorMessage": {
|
|
29
26
|
"uniqueItemProperties": "key must be unique"
|
package/lib/types.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface IManifestModule {
|
|
|
28
28
|
method?: string;
|
|
29
29
|
};
|
|
30
30
|
parent?: string;
|
|
31
|
+
customResponse?: boolean;
|
|
31
32
|
}
|
|
32
33
|
export interface IManifestFunction {
|
|
33
34
|
key: string;
|
|
@@ -82,6 +83,7 @@ export interface IConsumer {
|
|
|
82
83
|
}
|
|
83
84
|
export interface IMessageQueueConsumer extends IConsumer {
|
|
84
85
|
messageQueue: string;
|
|
86
|
+
tag?: string;
|
|
85
87
|
}
|
|
86
88
|
export interface IScheduledTrigger {
|
|
87
89
|
key: string;
|
|
@@ -125,6 +127,7 @@ export interface IMessageQueue {
|
|
|
125
127
|
key: string;
|
|
126
128
|
type: string;
|
|
127
129
|
endpoint: string;
|
|
130
|
+
namespace?: string;
|
|
128
131
|
}
|
|
129
132
|
export interface IManifest {
|
|
130
133
|
app: IManifestApp;
|