File tree Expand file tree Collapse file tree 5 files changed +3936
-89
lines changed Expand file tree Collapse file tree 5 files changed +3936
-89
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ export default {
1111 name : {
1212 propDefinition : [
1313 app ,
14- "name"
15- ]
14+ "name" ,
15+ ] ,
1616 } ,
1717 description : {
1818 propDefinition : [
1919 app ,
20- "description"
21- ]
20+ "description" ,
21+ ] ,
2222 } ,
2323 } ,
2424
@@ -27,12 +27,12 @@ export default {
2727 $,
2828 data : {
2929 name : this . name ,
30- description : this . description
31- }
30+ description : this . description ,
31+ } ,
3232 } ) ;
33-
33+
3434 $ . export ( "$summary" , `Successfully created memory ${ this . name } ` ) ;
35-
35+
3636 return response ;
3737 } ,
3838} ;
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ export default {
1111 memoryName : {
1212 propDefinition : [
1313 app ,
14- "memoryName"
15- ]
14+ "memoryName" ,
15+ ] ,
1616 } ,
1717 } ,
1818
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ export default {
1111 async options ( ) {
1212 const response = await this . listMemories ( ) ;
1313 const memoryNames = response . memorySets ;
14- return memoryNames . map ( ( { name, description } ) => ( {
14+ return memoryNames . map ( ( {
15+ name, description,
16+ } ) => ( {
1517 label : description ,
1618 value : name ,
1719 } ) ) ;
18- }
20+ } ,
1921 } ,
2022 name : {
2123 type : "string" ,
@@ -44,8 +46,8 @@ export default {
4446 url : this . _baseUrl ( ) + path ,
4547 headers : {
4648 ...headers ,
47- Authorization : `Bearer ${ this . $auth . org_api_key } ` ,
48- "Accept" : ` application/json` ,
49+ " Authorization" : `Bearer ${ this . $auth . org_api_key } ` ,
50+ "Accept" : " application/json" ,
4951 } ,
5052 } ) ;
5153 } ,
@@ -56,7 +58,9 @@ export default {
5658 ...args ,
5759 } ) ;
5860 } ,
59- async deleteMemory ( { memoryName, ...args } ) {
61+ async deleteMemory ( {
62+ memoryName, ...args
63+ } ) {
6064 return this . _makeRequest ( {
6165 path : `/memorysets/sergio19733/${ memoryName } ` ,
6266 method : "delete" ,
You can’t perform that action at this time.
0 commit comments