fmode-ng 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { AfterViewInit, ElementRef } from '@angular/core';
2
2
  import { FmodeAvatarRoleComp } from '../interface-avatar-role';
3
3
  import 'recorder-core/src/extensions/waveview';
4
- import * as Parse from "parse";
4
+ import Parse from "parse";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CompAvatarRoleImageComponent implements FmodeAvatarRoleComp, AfterViewInit {
7
7
  avatarImage: ElementRef;
@@ -1,5 +1,5 @@
1
1
  import { Observable } from "rxjs";
2
- import * as Parse from "parse";
2
+ import Parse from "parse";
3
3
  export interface FmodeChatMessage {
4
4
  role: string;
5
5
  content: string;
@@ -1,6 +1,6 @@
1
1
  import { Router } from '@angular/router';
2
2
  import { FmodeChat } from './chat-class';
3
- import * as Parse from "parse";
3
+ import Parse from "parse";
4
4
  import { NovaCloudService } from '../../../nova-cloud';
5
5
  import { AlertController, NavController, Platform } from '@ionic/angular';
6
6
  import { CrossService } from '../../../platform';
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { NovaCloudService } from '../../../nova-cloud/nova-cloud.service';
3
- import * as Parse from "parse";
3
+ import Parse from "parse";
4
4
  import { NovaUploadService } from '../../../storage/service-upload/nova-upload.service';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
2
- import * as Parse from "parse";
2
+ import Parse from "parse";
3
3
  import { IonModal } from '@ionic/angular';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CompPoiPickerComponent implements AfterViewInit {
@@ -1,5 +1,5 @@
1
1
  import ObsClient from "esdk-obs-browserjs";
2
- import * as Parse from "parse";
2
+ import Parse from "parse";
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * HwobsDir 华为OBS目录接口
@@ -1,5 +1,5 @@
1
1
  import { Platform } from '@ionic/angular';
2
- import * as Parse from "parse";
2
+ import Parse from "parse";
3
3
  import { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';
4
4
  /**
5
5
  * MediaCapture插件
@@ -15,6 +15,7 @@ import * as i0 from "@angular/core";
15
15
  * @public
16
16
  */
17
17
  export interface NovaFile {
18
+ id: string;
18
19
  key: string;
19
20
  url: string;
20
21
  name: string;
@@ -46,6 +47,7 @@ export declare class NovaUploadService {
46
47
  }
47
48
  }
48
49
  * novafileData {
50
+ "id":"xxxxxxxxxx" // Attachment.objectId
49
51
  "hash": "FoYHjpyTif1t8uOMv6N6sVIeGTvq",
50
52
  "key": "E4KpGvTEto/20230901/053605467.jpg",
51
53
  "url": "https://file-cloud.fmode.cn/E4KpGvTEto/20230901/053605467.jpg",
@@ -86,7 +88,7 @@ export declare class NovaUploadService {
86
88
  /**
87
89
  * 保存上传信息至附件表 Attachment
88
90
  * @param file 附件信息
89
- * @returns
91
+ * @returns attachment Parse.Object
90
92
  */
91
93
  saveAttachment(file: NovaFile | {
92
94
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmode-ng",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "author": "未来全栈",
5
5
  "license": "COPYRIGHT © 未来飞马 未来全栈 www.fmode.cn All RIGHTS RESERVED",
6
6
  "peerDependencies": {