Skip to content

Commit 9e05b9b

Browse files
committed
chore: examples: remove getStatus() method
1 parent 3e062f3 commit 9e05b9b

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

v1/examples/l3rd-name/graphic.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ class MyGraphic extends HTMLElement {
124124
this.innerHTML = "";
125125
this.g = null;
126126
}
127-
async getStatus(_params) {
128-
return {};
129-
}
130127
async updateAction(params) {
131128
// params.data
132129
// console.log("params", params);

v1/examples/minimal/graphic.mjs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ class Graphic extends HTMLElement {
2525
async dispose(_params) {
2626
this.innerHTML = "";
2727
}
28-
async getStatus(_params) {
29-
return {
30-
statusCode: 200,
31-
status: {
32-
// nothing
33-
},
34-
};
35-
}
3628
async updateAction(_params) {
3729
// No actions are implemented in this minimal example
3830
}

v1/examples/ograf-logo/graphic.mjs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ class Graphic extends HTMLElement {
3434
async dispose(_params) {
3535
this.innerHTML = "";
3636
}
37-
async getStatus(_params) {
38-
return {
39-
statusCode: 200,
40-
status: {
41-
// nothing
42-
},
43-
};
44-
}
4537
async updateAction(_params) {
4638
// No updateActions are implemented in this example
4739
}

v1/typescript-definitions/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ class MyOGrafGraphic extends HTMLElement implements GraphicsAPI.Graphic {
3434
async dispose(_params) {
3535
this.innerHTML = "";
3636
}
37-
async getStatus(_params) {
38-
return {
39-
statusCode: 200,
40-
status: {
41-
// nothing
42-
},
43-
};
44-
}
4537
async updateAction(_params) {
4638
// No actions are implemented in this minimal example
4739
}

0 commit comments

Comments
 (0)