@rulebricks/sdk 2.5.2 → 2.5.3
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,10 +1,10 @@
|
|
|
1
1
|
import type * as Rulebricks from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Rule object accepted by /admin/rules/import. Existing rule IDs allow partial updates; creating a new rule ID requires the full
|
|
3
|
+
* Rule object accepted by /admin/rules/import. Existing rule IDs allow partial updates; creating a new rule ID requires the full import shape.
|
|
4
4
|
*/
|
|
5
5
|
export interface RuleImportPayload {
|
|
6
6
|
/** Rule ID to create or update. */
|
|
7
|
-
id
|
|
7
|
+
id?: string;
|
|
8
8
|
/** Optional stable ID for cross-workspace import/export identity. */
|
|
9
9
|
stable_id?: string;
|
|
10
10
|
/** Rule slug. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as Rulebricks from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Rule object accepted by /admin/rules/import. Existing rule IDs allow partial updates; creating a new rule ID requires the full
|
|
3
|
+
* Rule object accepted by /admin/rules/import. Existing rule IDs allow partial updates; creating a new rule ID requires the full import shape.
|
|
4
4
|
*/
|
|
5
5
|
export interface RuleImportPayload {
|
|
6
6
|
/** Rule ID to create or update. */
|
|
7
|
-
id
|
|
7
|
+
id?: string;
|
|
8
8
|
/** Optional stable ID for cross-workspace import/export identity. */
|
|
9
9
|
stable_id?: string;
|
|
10
10
|
/** Rule slug. */
|