user 6 년 전
부모
커밋
2b0059d09d
5개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      lib/index.js
  2. 1 1
      lib/index.js.map
  3. 1 0
      lib/upload-item-parameters.d.ts
  4. 1 1
      src/index.ts
  5. 1 0
      src/upload-item-parameters.ts

+ 1 - 1
lib/index.js

@@ -146,7 +146,7 @@ class BankClient {
             if (params.links) {
                 formData.links = JSON.stringify(params.links);
             }
-            for (const attr of ['title', 'text', 'type']) {
+            for (const attr of ['title', 'text', 'type', 'creator']) {
                 if (params[attr] != null) {
                     formData[attr] = params[attr];
                 }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
lib/index.js.map


+ 1 - 0
lib/upload-item-parameters.d.ts

@@ -1,6 +1,7 @@
 import { UploadItemLink } from "./upload-item-link";
 export interface UploadItemParameters {
     type?: string;
+    creator?: string;
     title: string;
     text?: string;
     fileName?: string;

+ 1 - 1
src/index.ts

@@ -141,7 +141,7 @@ export class BankClient {
       if (params.links) {
         formData.links = JSON.stringify(params.links);
       }
-      for (const attr of ['title', 'text', 'type']) {
+      for (const attr of ['title', 'text', 'type', 'creator']) {
         if (params[attr] != null) {
           formData[attr] = params[attr];
         }

+ 1 - 0
src/upload-item-parameters.ts

@@ -2,6 +2,7 @@ import { UploadItemLink } from "./upload-item-link";
 
 export interface UploadItemParameters {
     type?: string;
+    creator?: string;
     title: string;
     text?: string;
     fileName?: string;