@smapiot/piral-cloud-node 0.16.0-pre.20230616.2 → 0.16.0-pre.20230621.2

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +6 -4
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -111,7 +111,7 @@ declare module "@smapiot/piral-cloud-node" {
111
111
  doUploadNpmPackage(feed: string, name: string, body: any, ac?: AbortController): Promise<void>;
112
112
  doDownloadFile(fileUrl: string, ac?: AbortController): Promise<Blob>;
113
113
  doGetLicenseInfo(ac?: AbortController): Promise<LicenseInfo>;
114
- doQueryPiletStorageEntries(feed: string, pilet: string, ac?: AbortController): Promise<StorageEntryDTO>;
114
+ doQueryPiletStorageEntries(feed: string, pilet: string, ac?: AbortController): Promise<StorageEntriesDTO>;
115
115
  doAddPiletStorageEntry(feed: string, pilet: string, name: string, content: string, ac?: AbortController): Promise<StorageEntryDetailsDTO>;
116
116
  doQueryPiletStorageEntry(feed: string, pilet: string, name: string, ac?: AbortController): Promise<StorageEntryFullDTO>;
117
117
  doUpdatePiletStorageEntry(feed: string, pilet: string, name: string, details: StorageEntryUpdateDetails, ac?: AbortController): Promise<StorageEntryDetailsDTO>;
@@ -695,9 +695,7 @@ declare module "@smapiot/piral-cloud-node" {
695
695
  expires: string;
696
696
  }
697
697
 
698
- export interface StorageEntryDTO {
699
- name: string;
700
- }
698
+ export interface StorageEntriesDTO extends ApiData<StorageEntryDTO> {}
701
699
 
702
700
  export interface StorageEntryDetailsDTO extends StorageEntryDTO {
703
701
  feed: string;
@@ -904,6 +902,10 @@ declare module "@smapiot/piral-cloud-node" {
904
902
  created: string;
905
903
  }
906
904
 
905
+ export interface StorageEntryDTO {
906
+ name: string;
907
+ }
908
+
907
909
  export interface GeneratorDTO {
908
910
  id: string;
909
911
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smapiot/piral-cloud-node",
3
- "version": "0.16.0-pre.20230616.2",
3
+ "version": "0.16.0-pre.20230621.2",
4
4
  "description": "Piral Cloud: Node-usable API Client for the Piral Feed Service.",
5
5
  "author": {
6
6
  "name": "smapiot",