File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ export interface OpenFunctionContext {
1111 */
1212 version : string ;
1313 /**
14- * The target runtime of the context, only available as "knative" and "async" .
14+ * The target runtime of the context.
1515 */
16- runtime : RuntimeType [ keyof RuntimeType ] ;
16+ runtime : keyof typeof RuntimeType ;
1717 /**
1818 * Optional port string of the server.
1919 */
@@ -49,7 +49,7 @@ export interface OpenFunctionComponent {
4949 /**
5050 * The type of the component.
5151 */
52- componentType : `${ComponentType . Binding | ComponentType . PubSub } .${string } `;
52+ componentType : `${ComponentType } .${string } `;
5353 /**
5454 * The uri of the component.
5555 */
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export abstract class OpenFunctionRuntime {
4343 }
4444
4545 /**
46- * The promise that send data to certain ouput binding.
46+ * The promise that send data to certain ouput binding or pubsub topic .
4747 */
4848 abstract send ( data : object , output ?: string ) : Promise < object > ;
4949}
You can’t perform that action at this time.
0 commit comments