@smapiot/piral-cloud-browser 1.17.0-pre.20250925.1 → 1.17.0-pre.20250929.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.
- package/lib/index.d.ts +22 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1026,10 +1026,7 @@ declare module "@smapiot/piral-cloud-browser" {
|
|
|
1026
1026
|
cleanup?: number;
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
|
-
export
|
|
1030
|
-
type: string;
|
|
1031
|
-
source: string;
|
|
1032
|
-
}
|
|
1029
|
+
export type FeedSourceReference = UrlFeedSourceReference | RawFeedSourceReference | SelectorFeedSourceReference;
|
|
1033
1030
|
|
|
1034
1031
|
export type EnvironmentTriggerType = "immediate" | "periodically" | "delayed" | "manual";
|
|
1035
1032
|
|
|
@@ -1269,6 +1266,27 @@ declare module "@smapiot/piral-cloud-browser" {
|
|
|
1269
1266
|
sources: undefined;
|
|
1270
1267
|
}
|
|
1271
1268
|
|
|
1269
|
+
export interface UrlFeedSourceReference {
|
|
1270
|
+
type: "url";
|
|
1271
|
+
source: string;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export interface RawFeedSourceReference {
|
|
1275
|
+
type: "feed";
|
|
1276
|
+
source: string;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
export interface SelectorFeedSourceReference {
|
|
1280
|
+
type: "selector";
|
|
1281
|
+
source: {
|
|
1282
|
+
feed: string;
|
|
1283
|
+
forwards: boolean;
|
|
1284
|
+
environment: boolean;
|
|
1285
|
+
mapping: Record<string, string>;
|
|
1286
|
+
fallback: string;
|
|
1287
|
+
};
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1272
1290
|
export type PiletType = "v0" | "v1" | "v2" | "oc" | "sspa" | "wmf" | "nf" | "esm" | "json" | "yaml";
|
|
1273
1291
|
|
|
1274
1292
|
export interface BaseRuleCreateDetails {
|
package/package.json
CHANGED