Skip to content

Commit b728845

Browse files
authored
Merge pull request #62 from ctrl-hub/add-operation-template
add template to operation
2 parents 7c98c99 + bc6e79b commit b728845

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

dist/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,11 @@ class Operation extends BaseModel {
11421142
name: "teams",
11431143
type: "array",
11441144
modelType: "teams"
1145+
},
1146+
{
1147+
name: "template",
1148+
type: "single",
1149+
modelType: "operation-templates"
11451150
}
11461151
];
11471152
constructor(data) {

dist/models/Operation.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ export class Operation extends BaseModel {
3333
type: 'array',
3434
modelType: 'teams',
3535
},
36+
{
37+
name: 'template',
38+
type: 'single',
39+
modelType: 'operation-templates',
40+
},
3641
];
3742
constructor(data) {
3843
super(data);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "git",
55
"url": "https://github.com/ctrl-hub/sdk.ts"
66
},
7-
"version": "0.1.136",
7+
"version": "0.1.137",
88
"main": "dist/index.js",
99
"types": "dist/index.d.ts",
1010
"type": "module",

src/models/Operation.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ export class Operation extends BaseModel {
3838
type: 'array',
3939
modelType: 'teams',
4040
},
41+
{
42+
name: 'template',
43+
type: 'single',
44+
modelType: 'operation-templates',
45+
},
4146
];
4247

4348
constructor(data?: any) {

0 commit comments

Comments
 (0)