Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update via SDK Studio #82

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/resources/rulesets/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1768,14 +1768,14 @@ export interface RuleCreateParams {
/**
* Body param: An object configuring where the rule will be placed.
*/
position?: RuleCreateParams.Position | RuleCreateParams.Position | RuleCreateParams.Position;
position?: RuleCreateParams.Before | RuleCreateParams.After | RuleCreateParams.Index;
}

export namespace RuleCreateParams {
/**
* An object configuring where the rule will be placed.
*/
export interface Position {
export interface Before {
/**
* The ID of another rule to place the rule before. An empty value causes the rule
* to be placed at the top.
Expand All @@ -1786,7 +1786,7 @@ export namespace RuleCreateParams {
/**
* An object configuring where the rule will be placed.
*/
export interface Position {
export interface After {
/**
* The ID of another rule to place the rule after. An empty value causes the rule
* to be placed at the bottom.
Expand All @@ -1797,7 +1797,7 @@ export namespace RuleCreateParams {
/**
* An object configuring where the rule will be placed.
*/
export interface Position {
export interface Index {
/**
* An index at which to place the rule, where index 1 is the first rule.
*/
Expand Down Expand Up @@ -1826,14 +1826,14 @@ export interface RuleEditParams {
/**
* Body param: An object configuring where the rule will be placed.
*/
position?: RuleEditParams.Position | RuleEditParams.Position | RuleEditParams.Position;
position?: RuleEditParams.Before | RuleEditParams.After | RuleEditParams.Index;
}

export namespace RuleEditParams {
/**
* An object configuring where the rule will be placed.
*/
export interface Position {
export interface Before {
/**
* The ID of another rule to place the rule before. An empty value causes the rule
* to be placed at the top.
Expand All @@ -1844,7 +1844,7 @@ export namespace RuleEditParams {
/**
* An object configuring where the rule will be placed.
*/
export interface Position {
export interface After {
/**
* The ID of another rule to place the rule after. An empty value causes the rule
* to be placed at the bottom.
Expand All @@ -1855,7 +1855,7 @@ export namespace RuleEditParams {
/**
* An object configuring where the rule will be placed.
*/
export interface Position {
export interface Index {
/**
* An index at which to place the rule, where index 1 is the first rule.
*/
Expand Down