diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8ebaad4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[LICENSE] +trim_trailing_whitespace = false +insert_final_newline = false + +[**/migrations/**/*.sql] +insert_final_newline = false diff --git a/.github/renovate.json b/.github/renovate.json index 94d098a..723b747 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -5,4 +5,4 @@ "local>oxidecomputer/renovate-config//rust/autocreate", "helpers:pinGitHubActionDigests" ] -} \ No newline at end of file +} diff --git a/.gitignore b/.gitignore index 463548a..359cb5b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ key.json -.flox/ \ No newline at end of file +.flox/ diff --git a/.licenserc.yaml b/.licenserc.yaml index fa63431..0b7b14f 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -9,4 +9,4 @@ header: paths: - '**/*.rs' - comment: on-failure \ No newline at end of file + comment: on-failure diff --git a/README.md b/README.md index 67c5ae7..662aa7b 100644 --- a/README.md +++ b/README.md @@ -112,4 +112,4 @@ an internal tool for Oxide, so we can't guarantee that PRs will be integrated. ## License Unless otherwise noted, all components are licensed under the -[Mozilla Public License Version 2.0](LICENSE). \ No newline at end of file +[Mozilla Public License Version 2.0](LICENSE). diff --git a/v-model/migrations/2024-01-23-181854_oauth_client/down.sql b/v-model/migrations/2024-01-23-181854_oauth_client/down.sql index 2ec7096..3bb6a20 100644 --- a/v-model/migrations/2024-01-23-181854_oauth_client/down.sql +++ b/v-model/migrations/2024-01-23-181854_oauth_client/down.sql @@ -1,3 +1,3 @@ DROP TABLE oauth_client_redirect_uri; DROP TABLE oauth_client_secret; -DROP TABLE oauth_client; \ No newline at end of file +DROP TABLE oauth_client; diff --git a/v-model/migrations/2024-01-23-181854_oauth_client/up.sql b/v-model/migrations/2024-01-23-181854_oauth_client/up.sql index 92e59cc..28dad62 100644 --- a/v-model/migrations/2024-01-23-181854_oauth_client/up.sql +++ b/v-model/migrations/2024-01-23-181854_oauth_client/up.sql @@ -18,4 +18,4 @@ CREATE TABLE oauth_client_redirect_uri( redirect_uri VARCHAR NOT NULL, created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), deleted_at TIMESTAMPTZ -); \ No newline at end of file +); diff --git a/v-model/migrations/2024-01-23-181913_access_group/down.sql b/v-model/migrations/2024-01-23-181913_access_group/down.sql index cabf025..ecf9ff3 100644 --- a/v-model/migrations/2024-01-23-181913_access_group/down.sql +++ b/v-model/migrations/2024-01-23-181913_access_group/down.sql @@ -1,2 +1,2 @@ ALTER TABLE api_user DROP COLUMN groups; -DROP TABLE access_groups; \ No newline at end of file +DROP TABLE access_groups; diff --git a/v-model/migrations/2024-01-23-181913_access_group/up.sql b/v-model/migrations/2024-01-23-181913_access_group/up.sql index e8bcfe1..fa15fe6 100644 --- a/v-model/migrations/2024-01-23-181913_access_group/up.sql +++ b/v-model/migrations/2024-01-23-181913_access_group/up.sql @@ -8,4 +8,4 @@ CREATE TABLE access_groups ( ); SELECT diesel_manage_updated_at('access_groups'); -ALTER TABLE api_user ADD COLUMN groups UUID[] NOT NULL DEFAULT ARRAY[]::UUID[]; \ No newline at end of file +ALTER TABLE api_user ADD COLUMN groups UUID[] NOT NULL DEFAULT ARRAY[]::UUID[]; diff --git a/v-model/migrations/2024-01-23-182113_mappers/down.sql b/v-model/migrations/2024-01-23-182113_mappers/down.sql index 8fe59c5..bfc749c 100644 --- a/v-model/migrations/2024-01-23-182113_mappers/down.sql +++ b/v-model/migrations/2024-01-23-182113_mappers/down.sql @@ -1 +1 @@ -DROP TABLE mapper; \ No newline at end of file +DROP TABLE mapper; diff --git a/v-model/migrations/2024-01-23-182531_link_request/down.sql b/v-model/migrations/2024-01-23-182531_link_request/down.sql index b048fa7..2c1a432 100644 --- a/v-model/migrations/2024-01-23-182531_link_request/down.sql +++ b/v-model/migrations/2024-01-23-182531_link_request/down.sql @@ -1 +1 @@ -DROP TABLE link_request; \ No newline at end of file +DROP TABLE link_request; diff --git a/v-model/migrations/2024-01-23-182531_link_request/up.sql b/v-model/migrations/2024-01-23-182531_link_request/up.sql index 0a5c4a4..1279fd2 100644 --- a/v-model/migrations/2024-01-23-182531_link_request/up.sql +++ b/v-model/migrations/2024-01-23-182531_link_request/up.sql @@ -7,4 +7,4 @@ CREATE TABLE link_request ( created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), expires_at TIMESTAMPTZ NOT NULL, completed_at TIMESTAMPTZ -); \ No newline at end of file +); diff --git a/v-model/migrations/2024-02-14-042831_add_display_name/down.sql b/v-model/migrations/2024-02-14-042831_add_display_name/down.sql index 2728246..3c9ebff 100644 --- a/v-model/migrations/2024-02-14-042831_add_display_name/down.sql +++ b/v-model/migrations/2024-02-14-042831_add_display_name/down.sql @@ -1 +1 @@ -ALTER TABLE api_user_provider DROP COLUMN display_names; \ No newline at end of file +ALTER TABLE api_user_provider DROP COLUMN display_names;