Skip to content

Commit

Permalink
disable to disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Mar 20, 2024
1 parent b7c8759 commit 6cacf4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/store/ts/config/v2/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const TABLE_CODEGEN_DEFAULTS = {
} as const;

export const TABLE_DEPLOY_DEFAULTS = {
disable: false,
disabled: false,
} as const;

export const TABLE_DEFAULTS = {
Expand Down
2 changes: 1 addition & 1 deletion packages/store/ts/config/v2/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type TableCodegen = {
};

export type TableDeploy = {
readonly disable: boolean;
readonly disabled: boolean;
};

export type Table = BaseTable & {
Expand Down
4 changes: 2 additions & 2 deletions packages/store/ts/config/v2/table.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ describe("resolveTable", () => {
schema: { id: "address" },
key: ["id"],
name: "",
deploy: { disable: true },
deploy: { disabled: true },
});

const expected = { disable: true } as const;
const expected = { disabled: true } as const;

attest<typeof expected>(table.deploy).equals(expected);
});
Expand Down

0 comments on commit 6cacf4f

Please sign in to comment.