@intuitionrobotics/file-upload 0.47.23 → 0.47.25

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,12 +1,10 @@
1
1
  import { Firebase_StorageFunction } from "@intuitionrobotics/firebase/backend-functions";
2
- import { ObjectMetadata } from "firebase-functions/lib/v1/providers/storage";
3
- import { EventContext } from "firebase-functions";
4
2
  export interface OnFileUploaded {
5
3
  __onFileUploaded(filePath?: string): void;
6
4
  }
7
5
  export declare class BucketListener_Class extends Firebase_StorageFunction {
8
6
  constructor();
9
7
  init(): void;
10
- onFinalize(object: ObjectMetadata, context: EventContext): Promise<any>;
8
+ onFinalize(object: any, context: any): Promise<any>;
11
9
  }
12
10
  export declare const BucketListener: BucketListener_Class;
@@ -1,21 +1,4 @@
1
1
  "use strict";
2
- /*
3
- * A backend boilerplate with example apis
4
- *
5
- * Copyright (C) 2020 Intuition Robotics
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */
19
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
20
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
21
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1 +1 @@
1
- {"version":3,"file":"BucketListener.js","sourceRoot":"","sources":["../../../src/main/app-backend/modules/BucketListener.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;AAEH,qFAAuF;AAGvF,4DAAwD;AAMxD,MAAM,yBAAyB,GAAG,IAAI,sBAAU,CAAqC,k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C,MAAW,EAAE,OAAY;;YACzC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC;YAC7B,MAAM,yBAAyB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;YAC9D,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;YACnC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACtC,CAAC;KAAA;CAED;AArBD,oDAqBC;AAEY,QAAA,cAAc,GAAG,IAAI,oBAAoB,EAAE,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { BaseUploaderFile, TempSecureUrl, Request_Uploader } from "../../shared/types";
3
2
  import { BaseUploaderModule_Class } from "../../shared/modules/BaseUploaderModule";
4
3
  import { Axios_RequestConfig, AxiosHttpModule_Class } from "@intuitionrobotics/thunderstorm/backend";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuitionrobotics/file-upload",
3
- "version": "0.47.23",
3
+ "version": "0.47.25",
4
4
  "description": "File Uploader - Express & Typescript based backend framework",
5
5
  "keywords": [
6
6
  "IR",
@@ -34,8 +34,7 @@
34
34
  "@intuitionrobotics/thunderstorm": "~0.47.0",
35
35
  "@intuitionrobotics/firebase": "~0.47.0",
36
36
  "@intuitionrobotics/db-api-generator": "~0.47.0",
37
- "@intuitionrobotics/push-pub-sub": "~0.47.0",
38
- "firebase-functions": "^4.4.0"
37
+ "@intuitionrobotics/push-pub-sub": "~0.47.0"
39
38
  },
40
39
  "devDependencies": {
41
40
  "@intuitionrobotics/testelot": "~0.47.0",