@7365admin1/core 3.143.0 → 3.144.0
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +455 -357
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +457 -359
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/test/spaces-object.test.mjs +55 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.144.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9907295: Storage: `SPACES_PRIVATE_PREFIXES` switch to write new uploads with a private ACL by key prefix (default unset = public-read, unchanged), and `useFileController().viewObject` for an authenticated read of stored files (ANPR snapshots also need site reach; HTML/SVG never served inline).
|
|
8
|
+
|
|
3
9
|
## 3.143.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1302,6 +1302,7 @@ declare function useFileController(): {
|
|
|
1302
1302
|
upload: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1303
1303
|
deleteFile: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1304
1304
|
getFileById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1305
|
+
viewObject: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
1305
1306
|
};
|
|
1306
1307
|
|
|
1307
1308
|
declare const addressSchema: Joi.ObjectSchema<any>;
|