Showing
1 changed file
with
40 additions
and
45 deletions
@@ -362,7 +362,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -362,7 +362,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
362 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/core/http/asset.service.ts#L29">AssetService</a>', | 362 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/core/http/asset.service.ts#L29">AssetService</a>', |
363 | children: { | 363 | children: { |
364 | getTenantAssetInfos: { | 364 | getTenantAssetInfos: { |
365 | - description: 'Get tenant asset', | 365 | + description: 'Get tenant assets', |
366 | meta: 'function', | 366 | meta: 'function', |
367 | args: [ | 367 | args: [ |
368 | pageLinkArg, | 368 | pageLinkArg, |
@@ -530,7 +530,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -530,7 +530,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
530 | description: 'Get entity view info by id', | 530 | description: 'Get entity view info by id', |
531 | meta: 'function', | 531 | meta: 'function', |
532 | args: [ | 532 | args: [ |
533 | - {name: 'entityViewId', type: 'string', description: 'Id of the entities view'}, | 533 | + {name: 'entityViewId', type: 'string', description: 'Id of the entity view'}, |
534 | requestConfigArg | 534 | requestConfigArg |
535 | ], | 535 | ], |
536 | return: observableReturnType(entityViewInfoHref) | 536 | return: observableReturnType(entityViewInfoHref) |
@@ -575,7 +575,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -575,7 +575,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
575 | meta: 'function', | 575 | meta: 'function', |
576 | args: [ | 576 | args: [ |
577 | {name: 'customerId', type: 'string', description: 'Id of the customer'}, | 577 | {name: 'customerId', type: 'string', description: 'Id of the customer'}, |
578 | - {name: 'entityViewId', type: 'string', description: 'Id of the entity viewId'}, | 578 | + {name: 'entityViewId', type: 'string', description: 'Id of the entity view'}, |
579 | requestConfigArg | 579 | requestConfigArg |
580 | ], | 580 | ], |
581 | return: observableReturnType(entityViewHref) | 581 | return: observableReturnType(entityViewHref) |
@@ -596,7 +596,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -596,7 +596,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
596 | { | 596 | { |
597 | name: 'query', | 597 | name: 'query', |
598 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/asset.models.ts#L37">AssetSearchQuery</a>', | 598 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/shared/models/asset.models.ts#L37">AssetSearchQuery</a>', |
599 | - description: 'Asset search query object' | 599 | + description: 'Entity view search query object' |
600 | }, | 600 | }, |
601 | requestConfigArg | 601 | requestConfigArg |
602 | ], | 602 | ], |
@@ -655,7 +655,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -655,7 +655,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
655 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/core/http/dashboard.service.ts#L32">DashboardService</a>', | 655 | type: '<a href="https://github.com/thingsboard/thingsboard/blob/13e6b10b7ab830e64d31b99614a9d95a1a25928a/ui-ngx/src/app/core/http/dashboard.service.ts#L32">DashboardService</a>', |
656 | children: { | 656 | children: { |
657 | getTenantDashboards: { | 657 | getTenantDashboards: { |
658 | - description: 'Get tenant dashboard', | 658 | + description: 'Get tenant dashboards', |
659 | meta: 'function', | 659 | meta: 'function', |
660 | args: [ | 660 | args: [ |
661 | pageLinkArg, | 661 | pageLinkArg, |
@@ -664,7 +664,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -664,7 +664,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
664 | return: observablePageDataReturnType(dashboardInfoHref) | 664 | return: observablePageDataReturnType(dashboardInfoHref) |
665 | }, | 665 | }, |
666 | getTenantDashboardsByTenantId: { | 666 | getTenantDashboardsByTenantId: { |
667 | - description: 'Get tenant dashboards by id', | 667 | + description: 'Get dashboards by tenant id', |
668 | meta: 'function', | 668 | meta: 'function', |
669 | args: [ | 669 | args: [ |
670 | {name: 'tenantId', type: 'string', description: 'Id of the tenant'}, | 670 | {name: 'tenantId', type: 'string', description: 'Id of the tenant'}, |
@@ -673,7 +673,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -673,7 +673,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
673 | return: observablePageDataReturnType(dashboardInfoHref) | 673 | return: observablePageDataReturnType(dashboardInfoHref) |
674 | }, | 674 | }, |
675 | getCustomerDashboards: { | 675 | getCustomerDashboards: { |
676 | - description: 'Get customer dashboard by id', | 676 | + description: 'Get dashboards by customer id', |
677 | meta: 'function', | 677 | meta: 'function', |
678 | args: [ | 678 | args: [ |
679 | {name: 'customerId', type: 'string', description: 'Id of the customer'}, | 679 | {name: 'customerId', type: 'string', description: 'Id of the customer'}, |
@@ -713,7 +713,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -713,7 +713,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
713 | description: 'Delete dashboard by id', | 713 | description: 'Delete dashboard by id', |
714 | meta: 'function', | 714 | meta: 'function', |
715 | args: [ | 715 | args: [ |
716 | - {name: 'dashboardId', type: 'string', description: 'Id of the entity view'}, | 716 | + {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, |
717 | requestConfigArg | 717 | requestConfigArg |
718 | ], | 718 | ], |
719 | return: observableVoid() | 719 | return: observableVoid() |
@@ -757,7 +757,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -757,7 +757,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
757 | return: observableReturnType(dashboardHref) | 757 | return: observableReturnType(dashboardHref) |
758 | }, | 758 | }, |
759 | updateDashboardCustomers: { | 759 | updateDashboardCustomers: { |
760 | - description: 'Update dashboard by id', | 760 | + description: 'Update customers assigned to dashboard by ids', |
761 | meta: 'function', | 761 | meta: 'function', |
762 | args: [ | 762 | args: [ |
763 | {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, | 763 | {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, |
@@ -767,7 +767,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -767,7 +767,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
767 | return: observableReturnType(dashboardHref) | 767 | return: observableReturnType(dashboardHref) |
768 | }, | 768 | }, |
769 | addDashboardCustomers: { | 769 | addDashboardCustomers: { |
770 | - description: 'Add dashboard customers by ids', | 770 | + description: 'Assign (Add) customers to dashboard by ids', |
771 | meta: 'function', | 771 | meta: 'function', |
772 | args: [ | 772 | args: [ |
773 | {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, | 773 | {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, |
@@ -777,7 +777,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -777,7 +777,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
777 | return: observableReturnType(dashboardHref) | 777 | return: observableReturnType(dashboardHref) |
778 | }, | 778 | }, |
779 | removeDashboardCustomers: { | 779 | removeDashboardCustomers: { |
780 | - description: 'Remove dashboard customers dy ids', | 780 | + description: 'Unassign (Remove) customers from dashboard by ids', |
781 | meta: 'function', | 781 | meta: 'function', |
782 | args: [ | 782 | args: [ |
783 | {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, | 783 | {name: 'dashboardId', type: 'string', description: 'Id of the dashboard'}, |
@@ -798,7 +798,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -798,7 +798,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
798 | } | 798 | } |
799 | }, | 799 | }, |
800 | getServerTimeDiff: { | 800 | getServerTimeDiff: { |
801 | - description: 'remove dashboard customers ', | 801 | + description: 'Get time difference', |
802 | meta: 'function', | 802 | meta: 'function', |
803 | args: [ | 803 | args: [ |
804 | ], | 804 | ], |
@@ -822,7 +822,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -822,7 +822,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
822 | return: observablePageDataReturnType(userHref) | 822 | return: observablePageDataReturnType(userHref) |
823 | }, | 823 | }, |
824 | getTenantAdmins: { | 824 | getTenantAdmins: { |
825 | - description: 'Get tenant admins by id', | 825 | + description: 'Get tenant admins by id', |
826 | meta: 'function', | 826 | meta: 'function', |
827 | args: [ | 827 | args: [ |
828 | {name: 'tenantId', type: 'string', description: 'Id of the tenant'}, | 828 | {name: 'tenantId', type: 'string', description: 'Id of the tenant'}, |
@@ -832,10 +832,10 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -832,10 +832,10 @@ export const serviceCompletions: TbEditorCompletions = { | ||
832 | return: observablePageDataReturnType(userHref) | 832 | return: observablePageDataReturnType(userHref) |
833 | }, | 833 | }, |
834 | getCustomerUsers: { | 834 | getCustomerUsers: { |
835 | - description: 'Get customer users by id', | 835 | + description: 'Get customer users by id', |
836 | meta: 'function', | 836 | meta: 'function', |
837 | args: [ | 837 | args: [ |
838 | - {name: 'customerId', type: 'string', description: 'id of the customer'}, | 838 | + {name: 'customerId', type: 'string', description: 'Id of the customer'}, |
839 | pageLinkArg, | 839 | pageLinkArg, |
840 | requestConfigArg | 840 | requestConfigArg |
841 | ], | 841 | ], |
@@ -845,7 +845,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -845,7 +845,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
845 | description: 'Get user by id', | 845 | description: 'Get user by id', |
846 | meta: 'function', | 846 | meta: 'function', |
847 | args: [ | 847 | args: [ |
848 | - {name: 'userId', type: 'string', description: 'id of the user'}, | 848 | + {name: 'userId', type: 'string', description: 'Id of the user'}, |
849 | requestConfigArg | 849 | requestConfigArg |
850 | ], | 850 | ], |
851 | return: observableReturnType(userHref) | 851 | return: observableReturnType(userHref) |
@@ -928,7 +928,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -928,7 +928,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
928 | description: 'Delete relations by entity id', | 928 | description: 'Delete relations by entity id', |
929 | meta: 'function', | 929 | meta: 'function', |
930 | args: [ | 930 | args: [ |
931 | - {name: 'entityId', type: entityIdHref, description: 'Id to the entity'}, | 931 | + {name: 'entityId', type: entityIdHref, description: 'Entity Id'}, |
932 | {name: 'relationType', type: 'string', description: 'Relation type'}, | 932 | {name: 'relationType', type: 'string', description: 'Relation type'}, |
933 | requestConfigArg | 933 | requestConfigArg |
934 | ], | 934 | ], |
@@ -1005,7 +1005,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1005,7 +1005,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1005 | description: 'Find by query', | 1005 | description: 'Find by query', |
1006 | meta: 'function', | 1006 | meta: 'function', |
1007 | args: [ | 1007 | args: [ |
1008 | - {name: 'query', type: entityRelationsQueryHref, description: 'Query'}, | 1008 | + {name: 'query', type: entityRelationsQueryHref, description: 'Entity relations query'}, |
1009 | requestConfigArg | 1009 | requestConfigArg |
1010 | ], | 1010 | ], |
1011 | return: observableArrayReturnType(entityRelationHref) | 1011 | return: observableArrayReturnType(entityRelationHref) |
@@ -1014,7 +1014,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1014,7 +1014,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1014 | description: 'Find info by query', | 1014 | description: 'Find info by query', |
1015 | meta: 'function', | 1015 | meta: 'function', |
1016 | args: [ | 1016 | args: [ |
1017 | - {name: 'query', type: entityRelationsQueryHref, description: 'Query'}, | 1017 | + {name: 'query', type: entityRelationsQueryHref, description: 'Entity relations query'}, |
1018 | requestConfigArg | 1018 | requestConfigArg |
1019 | ], | 1019 | ], |
1020 | return: observableArrayReturnType(entityRelationInfoHref) | 1020 | return: observableArrayReturnType(entityRelationInfoHref) |
@@ -1032,7 +1032,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1032,7 +1032,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1032 | meta: 'function', | 1032 | meta: 'function', |
1033 | args: [ | 1033 | args: [ |
1034 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, | 1034 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, |
1035 | - {name: 'attributeScope', type: attributeScopeHref, description: 'Atribute scope'}, | 1035 | + {name: 'attributeScope', type: attributeScopeHref, description: 'Attribute scope'}, |
1036 | {name: 'keys', type: `Array<string>`, description: 'Array of the keys'}, | 1036 | {name: 'keys', type: `Array<string>`, description: 'Array of the keys'}, |
1037 | requestConfigArg | 1037 | requestConfigArg |
1038 | ], | 1038 | ], |
@@ -1043,7 +1043,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1043,7 +1043,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1043 | meta: 'function', | 1043 | meta: 'function', |
1044 | args: [ | 1044 | args: [ |
1045 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, | 1045 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, |
1046 | - {name: 'attributeScope', type: attributeScopeHref, description: 'Atribute scope'}, | 1046 | + {name: 'attributeScope', type: attributeScopeHref, description: 'Attribute scope'}, |
1047 | {name: 'attributes', type: `array<${attributeDataHref}>`, description: 'Array of the attributes'}, | 1047 | {name: 'attributes', type: `array<${attributeDataHref}>`, description: 'Array of the attributes'}, |
1048 | requestConfigArg | 1048 | requestConfigArg |
1049 | ], | 1049 | ], |
@@ -1115,7 +1115,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1115,7 +1115,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1115 | meta: 'function', | 1115 | meta: 'function', |
1116 | args: [ | 1116 | args: [ |
1117 | {name: 'entityType', type: entityTypeHref, description: 'Entity type'}, | 1117 | {name: 'entityType', type: entityTypeHref, description: 'Entity type'}, |
1118 | - {name: 'entityNameFilter', type: 'string', description: 'Name filter of the entity'}, | 1118 | + {name: 'entityNameFilter', type: 'string', description: 'Name filter for the entity'}, |
1119 | {name: 'pageSize', type: 'number', description: 'Size of the page'}, | 1119 | {name: 'pageSize', type: 'number', description: 'Size of the page'}, |
1120 | {name: 'subType', type: 'string', optional: true, description: 'Subtype'}, | 1120 | {name: 'subType', type: 'string', optional: true, description: 'Subtype'}, |
1121 | requestConfigArg | 1121 | requestConfigArg |
@@ -1126,8 +1126,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1126,8 +1126,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1126 | description: 'Find entity data by query', | 1126 | description: 'Find entity data by query', |
1127 | meta: 'function', | 1127 | meta: 'function', |
1128 | args: [ | 1128 | args: [ |
1129 | - {name: 'query', type: entityDataQueryHref, description: 'Query'}, | ||
1130 | - | 1129 | + {name: 'query', type: entityDataQueryHref, description: 'Entity data query'}, |
1131 | requestConfigArg | 1130 | requestConfigArg |
1132 | ], | 1131 | ], |
1133 | return: observablePageDataReturnType(entityDataHref) | 1132 | return: observablePageDataReturnType(entityDataHref) |
@@ -1136,7 +1135,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1136,7 +1135,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1136 | description: 'Find alarm data by query', | 1135 | description: 'Find alarm data by query', |
1137 | meta: 'function', | 1136 | meta: 'function', |
1138 | args: [ | 1137 | args: [ |
1139 | - {name: 'query', type: alarmDataQueryHref, description: 'Query'}, | 1138 | + {name: 'query', type: alarmDataQueryHref, description: 'Alarm data query'}, |
1140 | requestConfigArg | 1139 | requestConfigArg |
1141 | ], | 1140 | ], |
1142 | return: observablePageDataReturnType(alarmDataHref) | 1141 | return: observablePageDataReturnType(alarmDataHref) |
@@ -1145,24 +1144,24 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1145,24 +1144,24 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1145 | description: 'Find entity infos by filter and name', | 1144 | description: 'Find entity infos by filter and name', |
1146 | meta: 'function', | 1145 | meta: 'function', |
1147 | args: [ | 1146 | args: [ |
1148 | - {name: 'filter', type: entityFilterHref, description: 'Filter of the entity'}, | 1147 | + {name: 'filter', type: entityFilterHref, description: 'Filter for the entities'}, |
1149 | {name: 'searchText', type: 'string', description: 'Search text'}, | 1148 | {name: 'searchText', type: 'string', description: 'Search text'}, |
1150 | requestConfigArg | 1149 | requestConfigArg |
1151 | ], | 1150 | ], |
1152 | return: observablePageDataReturnType(entityInfoHref) | 1151 | return: observablePageDataReturnType(entityInfoHref) |
1153 | }, | 1152 | }, |
1154 | findSingleEntityInfoByEntityFilter: { | 1153 | findSingleEntityInfoByEntityFilter: { |
1155 | - description: 'Find single entity infos by filter of the entity ', | 1154 | + description: 'Find single entity infos by filter', |
1156 | meta: 'function', | 1155 | meta: 'function', |
1157 | args: [ | 1156 | args: [ |
1158 | - {name: 'filter', type: entityFilterHref, description: 'Filter of the entity'}, | ||
1159 | - {name: 'searchText', type: 'string', description: 'search text'}, | 1157 | + {name: 'filter', type: entityFilterHref, description: 'Filter for the entity'}, |
1158 | + {name: 'searchText', type: 'string', description: 'Search text'}, | ||
1160 | requestConfigArg | 1159 | requestConfigArg |
1161 | ], | 1160 | ], |
1162 | return: observableReturnType(entityInfoHref) | 1161 | return: observableReturnType(entityInfoHref) |
1163 | }, | 1162 | }, |
1164 | getAliasFilterTypesByEntityTypes: { | 1163 | getAliasFilterTypesByEntityTypes: { |
1165 | - description: 'Get alias filter types by entity type', | 1164 | + description: 'Get alias filter types by entity types', |
1166 | meta: 'function', | 1165 | meta: 'function', |
1167 | args: [ | 1166 | args: [ |
1168 | {name: 'entityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, | 1167 | {name: 'entityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, |
@@ -1174,7 +1173,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1174,7 +1173,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1174 | } | 1173 | } |
1175 | }, | 1174 | }, |
1176 | filterAliasByEntityTypes: { | 1175 | filterAliasByEntityTypes: { |
1177 | - description: 'Filter alias by entity type', | 1176 | + description: 'Filter alias by entity types', |
1178 | meta: 'function', | 1177 | meta: 'function', |
1179 | args: [ | 1178 | args: [ |
1180 | {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, | 1179 | {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, |
@@ -1186,7 +1185,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1186,7 +1185,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1186 | } | 1185 | } |
1187 | }, | 1186 | }, |
1188 | prepareAllowedEntityTypesList: { | 1187 | prepareAllowedEntityTypesList: { |
1189 | - description: 'Prepare allowed types of the entity list', | 1188 | + description: 'Prepare allowed entity types list', |
1190 | meta: 'function', | 1189 | meta: 'function', |
1191 | args: [ | 1190 | args: [ |
1192 | {name: 'allowedEntityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, | 1191 | {name: 'allowedEntityTypes', type: `Array<${entityTypeHref}|${aliasEntityTypeHref}>`, description: 'Entity types'}, |
@@ -1201,19 +1200,18 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1201,19 +1200,18 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1201 | description: 'Get entity keys by id', | 1200 | description: 'Get entity keys by id', |
1202 | meta: 'function', | 1201 | meta: 'function', |
1203 | args: [ | 1202 | args: [ |
1204 | - {name: 'entityId', type: entityIdHref, description: 'id of the entity'}, | ||
1205 | - {name: 'query', type: 'string', description: 'Query'}, | ||
1206 | - {name: 'type', type: dataKeyTypeHref, description: 'Query'}, | 1203 | + {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, |
1204 | + {name: 'query', type: 'string', description: 'Key name starts with'}, | ||
1205 | + {name: 'type', type: dataKeyTypeHref, description: 'Datakey type'}, | ||
1207 | requestConfigArg | 1206 | requestConfigArg |
1208 | ], | 1207 | ], |
1209 | return: { | 1208 | return: { |
1210 | type: `Observable<Array<string>>`, | 1209 | type: `Observable<Array<string>>`, |
1211 | - description: `An <code>Observable</code> of <code>string</code> variable.` | 1210 | + description: `An <code>Observable</code> of array of <code>string</code> variables.` |
1212 | } | 1211 | } |
1213 | - // observableArrayReturnType('string') | ||
1214 | }, | 1212 | }, |
1215 | createDatasourcesFromSubscriptionsInfo: { | 1213 | createDatasourcesFromSubscriptionsInfo: { |
1216 | - description: 'Create database from subscriptions info', | 1214 | + description: 'Create datasources from subscriptions info', |
1217 | meta: 'function', | 1215 | meta: 'function', |
1218 | args: [ | 1216 | args: [ |
1219 | {name: 'subscriptionsInfo', type: 'array<subscriptionInfoHref>', description: 'Subscriptions info'} | 1217 | {name: 'subscriptionsInfo', type: 'array<subscriptionInfoHref>', description: 'Subscriptions info'} |
@@ -1238,7 +1236,7 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1238,7 +1236,7 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1238 | description: 'Resolve alias', | 1236 | description: 'Resolve alias', |
1239 | meta: 'function', | 1237 | meta: 'function', |
1240 | args: [ | 1238 | args: [ |
1241 | - {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, | 1239 | + {name: 'entityAlias', type: entityAliasHref, description: 'Entity alias'}, |
1242 | {name: 'stateParams', type: stateParamsHref, description: 'State params'}, | 1240 | {name: 'stateParams', type: stateParamsHref, description: 'State params'}, |
1243 | ], | 1241 | ], |
1244 | return: observableReturnType(aliasInfoHref) | 1242 | return: observableReturnType(aliasInfoHref) |
@@ -1256,17 +1254,16 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1256,17 +1254,16 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1256 | description: 'Check entity alias', | 1254 | description: 'Check entity alias', |
1257 | meta: 'function', | 1255 | meta: 'function', |
1258 | args: [ | 1256 | args: [ |
1259 | - {name: 'entityAlias', type: entityAliasHref, description: 'Alias of the entity'}, | 1257 | + {name: 'entityAlias', type: entityAliasHref, description: 'Entity alias'}, |
1260 | ], | 1258 | ], |
1261 | return: observableReturnTypeVariable('boolean') | 1259 | return: observableReturnTypeVariable('boolean') |
1262 | - // observableReturnType('boolean') | ||
1263 | }, | 1260 | }, |
1264 | saveEntityParameters: { | 1261 | saveEntityParameters: { |
1265 | description: 'Save entity parameters', | 1262 | description: 'Save entity parameters', |
1266 | meta: 'function', | 1263 | meta: 'function', |
1267 | args: [ | 1264 | args: [ |
1268 | {name: 'entityType', type: entityTypeHref, description: 'Entity type'}, | 1265 | {name: 'entityType', type: entityTypeHref, description: 'Entity type'}, |
1269 | - {name: 'entityData', type: importEntityDataHref, description: 'Data of the entity'}, | 1266 | + {name: 'entityData', type: importEntityDataHref, description: 'Entity data'}, |
1270 | {name: 'update', type: 'boolean', description: 'Update'}, | 1267 | {name: 'update', type: 'boolean', description: 'Update'}, |
1271 | requestConfigArg | 1268 | requestConfigArg |
1272 | ], | 1269 | ], |
@@ -1277,12 +1274,10 @@ export const serviceCompletions: TbEditorCompletions = { | @@ -1277,12 +1274,10 @@ export const serviceCompletions: TbEditorCompletions = { | ||
1277 | meta: 'function', | 1274 | meta: 'function', |
1278 | args: [ | 1275 | args: [ |
1279 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, | 1276 | {name: 'entityId', type: entityIdHref, description: 'Id of the entity'}, |
1280 | - {name: 'entityData', type: importEntityDataHref, description: 'Data of the entity'}, | 1277 | + {name: 'entityData', type: importEntityDataHref, description: 'Entity data'}, |
1281 | requestConfigArg | 1278 | requestConfigArg |
1282 | ], | 1279 | ], |
1283 | return: observableReturnTypeVariable('any') | 1280 | return: observableReturnTypeVariable('any') |
1284 | - | ||
1285 | - // observableReturnType('any') | ||
1286 | }, | 1281 | }, |
1287 | } | 1282 | } |
1288 | }, | 1283 | }, |