Skip to content

Commit

Permalink
🌈 style: add some comments
Browse files Browse the repository at this point in the history
Signed-off-by: yi-ge-dian <wenldong666@outlook.com>
  • Loading branch information
yi-ge-dian committed Jul 4, 2023
1 parent 4ff15f3 commit 63d9cc3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
19 changes: 19 additions & 0 deletions src/openfunction/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,31 @@ export interface StateStoreConfig {
/**
* Defining the statestore operations type enumeration.
* more details: https://docs.dapr.io/developing-applications/building-blocks/state-management/howto-get-save-state/
* @public
*/
export enum StateStoreOperations {
/**
* save operation
*/
Save = 'save',
/**
* get operation
*/
Get = 'get',
/**
* getbulk operation
*/
GetBulk = 'getbulk',
/**
* delete operation
*/
Delete = 'delete',
/**
* transaction
*/
Transaction = 'transaction',
/**
* query operation
*/
Query = 'query',
}
1 change: 0 additions & 1 deletion test/integration/http_statestore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ describe('OpenFunction - HTTP StateStore', () => {
.send(data, 'myredis')
.then(res => {
console.log(res);
console.log(Object.values(res)[0].value);
// deepStrictEqual(Object.values(res)[0].value, test.expect);
})
.catch(err => {
Expand Down

0 comments on commit 63d9cc3

Please sign in to comment.