component-shipinlv 1.1.7 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/dist/UI/DialogDrawer.css.js +1 -1
  2. package/dist/UI/LayoutContent.js +2 -2
  3. package/dist/UI/LayoutContent.less +3 -3
  4. package/dist/VideoPublish/account-manage/home.js +3 -1
  5. package/dist/VideoPublish/account-manage/list.js +19 -44
  6. package/dist/VideoPublish/account-manage/list.less +0 -72
  7. package/dist/VideoPublish/create-task/base/index.js +1 -0
  8. package/dist/VideoPublish/create-task/index.js +6 -4
  9. package/dist/VideoPublish/index.d.ts +1 -1
  10. package/dist/VideoPublish/index.js +16 -4
  11. package/dist/VideoPublish/log/index.d.ts +1 -1
  12. package/dist/VideoPublish/log/index.js +2 -2
  13. package/dist/VideoPublish/proxy/create.d.ts +8 -0
  14. package/dist/VideoPublish/proxy/create.js +154 -0
  15. package/dist/VideoPublish/proxy/list.d.ts +9 -0
  16. package/dist/VideoPublish/proxy/list.js +245 -0
  17. package/dist/VideoPublish/proxy/list.less +3 -0
  18. package/dist/VideoPublish/proxy/query.d.ts +9 -0
  19. package/dist/VideoPublish/proxy/query.js +75 -0
  20. package/dist/VideoPublish/proxy/query.less +10 -0
  21. package/dist/VideoPublish/publish-task-plan/index.d.ts +1 -1
  22. package/dist/VideoPublish/publish-task-plan/index.js +2 -2
  23. package/dist/VideoPublish/publish-task-plan/tool.d.ts +2 -2
  24. package/dist/VideoPublish/publish-task-plan/tool.js +3 -3
  25. package/dist/VideoPublish/task-list/index.js +1 -1
  26. package/dist/VideoPublish/task-list/plan/list.js +4 -6
  27. package/dist/VideoPublish/task-list/plan/list.less +73 -0
  28. package/dist/VideoPublish/video-account/base-info.d.ts +12 -0
  29. package/dist/VideoPublish/video-account/base-info.js +69 -0
  30. package/dist/VideoPublish/video-account/base-info.less +92 -0
  31. package/dist/VideoPublish/video-account/index.js +40 -8
  32. package/dist/VideoPublish/video-account/index.less +10 -0
  33. package/dist/component/{media-show.d.ts → media-show/index.d.ts} +4 -4
  34. package/dist/component/{media-show.js → media-show/index.js} +10 -35
  35. package/dist/component/media-show/index.less +0 -0
  36. package/dist/component/media-show/render.d.ts +10 -0
  37. package/dist/component/media-show/render.js +111 -0
  38. package/dist/component/{media-show.less → media-show/render.less} +2 -1
  39. package/dist/lib/Tool.js +4 -2
  40. package/dist/lib/request.js +105 -77
  41. package/dist/service/api/VideoPublishVideoAccountProxyController.d.ts +11 -0
  42. package/dist/service/api/VideoPublishVideoAccountProxyController.js +105 -0
  43. package/dist/types/VideoPublishTaskPlan.d.ts +1 -0
  44. package/dist/types/VideoPublishVideoAccount.d.ts +11 -0
  45. package/dist/types/VideoPublishVideoAccountProxy.d.ts +32 -0
  46. package/dist/types/VideoPublishVideoAccountProxy.js +0 -0
  47. package/dist/typings/VideoPublishVideoAccount.d.ts +4 -2
  48. package/dist/window.d.ts +2 -0
  49. package/package.json +1 -1
@@ -0,0 +1,105 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
4
+ import request from "../../lib/request";
5
+ import { PublishDomainApi } from "./VideoPublishController";
6
+ export function detail(_x, _x2) {
7
+ return _detail.apply(this, arguments);
8
+ }
9
+ function _detail() {
10
+ _detail = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(body, options) {
11
+ var url;
12
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
13
+ while (1) switch (_context.prev = _context.next) {
14
+ case 0:
15
+ url = PublishDomainApi("user/videoAccountProxy/detail", options === null || options === void 0 ? void 0 : options.env);
16
+ return _context.abrupt("return", request(url, _objectSpread({
17
+ method: 'POST',
18
+ headers: {
19
+ 'Content-Type': 'application/json'
20
+ },
21
+ data: _objectSpread({}, body)
22
+ }, options || {})));
23
+ case 2:
24
+ case "end":
25
+ return _context.stop();
26
+ }
27
+ }, _callee);
28
+ }));
29
+ return _detail.apply(this, arguments);
30
+ }
31
+ export function list(_x3, _x4) {
32
+ return _list.apply(this, arguments);
33
+ }
34
+ function _list() {
35
+ _list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body, options) {
36
+ var url;
37
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
38
+ while (1) switch (_context2.prev = _context2.next) {
39
+ case 0:
40
+ url = PublishDomainApi("user/videoAccountProxy/list", options === null || options === void 0 ? void 0 : options.env);
41
+ return _context2.abrupt("return", request(url, _objectSpread({
42
+ method: 'POST',
43
+ headers: {
44
+ 'Content-Type': 'application/json'
45
+ },
46
+ data: _objectSpread({}, body)
47
+ }, options || {})));
48
+ case 2:
49
+ case "end":
50
+ return _context2.stop();
51
+ }
52
+ }, _callee2);
53
+ }));
54
+ return _list.apply(this, arguments);
55
+ }
56
+ export function create(_x5, _x6) {
57
+ return _create.apply(this, arguments);
58
+ }
59
+ function _create() {
60
+ _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(body, options) {
61
+ var url;
62
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
63
+ while (1) switch (_context3.prev = _context3.next) {
64
+ case 0:
65
+ url = PublishDomainApi("user/videoAccountProxy/create", options === null || options === void 0 ? void 0 : options.env);
66
+ return _context3.abrupt("return", request(url, _objectSpread({
67
+ method: 'POST',
68
+ headers: {
69
+ 'Content-Type': 'application/json'
70
+ },
71
+ data: _objectSpread({}, body)
72
+ }, options || {})));
73
+ case 2:
74
+ case "end":
75
+ return _context3.stop();
76
+ }
77
+ }, _callee3);
78
+ }));
79
+ return _create.apply(this, arguments);
80
+ }
81
+ export function del(_x7, _x8) {
82
+ return _del.apply(this, arguments);
83
+ }
84
+ function _del() {
85
+ _del = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body, options) {
86
+ var url;
87
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
88
+ while (1) switch (_context4.prev = _context4.next) {
89
+ case 0:
90
+ url = PublishDomainApi("user/videoAccountProxy/del", options === null || options === void 0 ? void 0 : options.env);
91
+ return _context4.abrupt("return", request(url, _objectSpread({
92
+ method: 'POST',
93
+ headers: {
94
+ 'Content-Type': 'application/json'
95
+ },
96
+ data: _objectSpread({}, body)
97
+ }, options || {})));
98
+ case 2:
99
+ case "end":
100
+ return _context4.stop();
101
+ }
102
+ }, _callee4);
103
+ }));
104
+ return _del.apply(this, arguments);
105
+ }
@@ -16,6 +16,7 @@ declare namespace VideoPublishTaskPlan {
16
16
  kindTagValue: string;
17
17
  videoUrl: string;
18
18
  publishTime: number;
19
+ accountInfo: VideoPublishVideoAccount.BaseInfo;
19
20
  }
20
21
  interface ListQuery {
21
22
  }
@@ -11,4 +11,15 @@ declare namespace VideoPublishVideoAccount {
11
11
  groupId: number;
12
12
  nicknameRemark: string;
13
13
  }
14
+ interface BaseInfo {
15
+ "platform": Global.VideoPlatformKind;
16
+ isLoginValid: boolean;
17
+ "groupId": number;
18
+ "groupName": string;
19
+ "uniqueId": string;
20
+ "accountId": string;
21
+ "avatar": string;
22
+ "nickname": string;
23
+ "nicknameRemark": string;
24
+ }
14
25
  }
@@ -0,0 +1,32 @@
1
+ declare namespace VideoPublishVideoAccountProxy {
2
+ interface List {
3
+ id: number;
4
+ ip: string;
5
+ port: number;
6
+ title: string;
7
+ area: string;
8
+ enabled: boolean;
9
+ username: string;
10
+ password: string;
11
+ created: number;
12
+ updated: number;
13
+ }
14
+ interface ListResult {
15
+ list: List[];
16
+ pagination: Global.Pagination;
17
+ }
18
+ interface ListQuery {
19
+ enabled: '1' | '0' | '';
20
+ keyword: string;
21
+ }
22
+ interface CreateQuery {
23
+ id: number;
24
+ ip: string;
25
+ title: string;
26
+ area: string;
27
+ port: number;
28
+ enabled: boolean;
29
+ username: string;
30
+ password: string;
31
+ }
32
+ }
File without changes
@@ -17,7 +17,7 @@ declare namespace VideoPublishVideoAccount {
17
17
  totalVideoCount: number;
18
18
  }
19
19
  interface SaveLoginStatus {
20
- clientUniqueKey: string;
20
+ clientIdentity: string;
21
21
  platformVideoAccountId: string;
22
22
  platform: string;
23
23
  isLogin: boolean;
@@ -32,11 +32,13 @@ declare namespace VideoPublishVideoAccount {
32
32
  userId: number;
33
33
  platform: Global.VideoPlatformKind;
34
34
  groupId: number;
35
- uniqueId: number;
35
+ groupName: string;
36
+ uniqueId: string;
36
37
  accountId: string;
37
38
  avatar: string;
38
39
  bindPhone: string;
39
40
  nickname: string;
41
+ nicknameRemark: string;
40
42
  signature: string;
41
43
  isLoginValid: boolean;
42
44
  followerCount: number;
package/dist/window.d.ts CHANGED
@@ -19,5 +19,7 @@ declare interface Window{
19
19
  getChromiumPath: () => string;
20
20
  getClientUniqueKey: () => string;
21
21
  };
22
+
23
+ getClientIdentity: () => Promise<string>;
22
24
  }
23
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",