Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b274baf
unit test coverage for HostNameTableCell
cpathipa Jun 19, 2024
f958dab
Revert "unit test coverage for HostNameTableCell"
cpathipa Jun 19, 2024
e596431
change: [M3-9433] - update styles to match CDS for Entity Header & Ac…
cpathipa Mar 14, 2025
88660d1
Added changeset: Update styles to match CDS for Entity Header & Acti…
cpathipa Mar 14, 2025
8d78721
Merge branch 'develop' into M3-9433
cpathipa Mar 14, 2025
7a0cdbd
Merge branch 'develop' into M3-9433
cpathipa Mar 17, 2025
cd9e1a7
update layout spacing
cpathipa Mar 17, 2025
172165f
Merge branch 'develop' into M3-9433
cpathipa Mar 18, 2025
e844303
Merge branch 'develop' into M3-9433
cpathipa Mar 19, 2025
462b92d
Merge branch 'develop' into M3-9433
cpathipa Mar 21, 2025
172bb10
Merge branch 'develop' into M3-9433
cpathipa Mar 25, 2025
5ffe17a
Add 24px gap between row elements in linodes landing page
cpathipa Mar 27, 2025
df44748
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
b6aa585
Update packages/manager/src/MainContent.tsx
cpathipa Mar 27, 2025
d12f946
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
5c5ee84
Add consistent spacing between GolabalNotifiacations section and othe…
cpathipa Mar 27, 2025
1b93bf1
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
d733c34
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
90c6e52
Add consisten spacing between between banner and entity header in Kub…
cpathipa Mar 27, 2025
aacbcc0
Merge branch 'M3-9433' of github.com:cpathipa/manager into M3-9433
cpathipa Mar 31, 2025
688f332
Merge branch 'develop' into M3-9433
cpathipa Mar 31, 2025
777f71a
Merge branch 'develop' into M3-9433
cpathipa Apr 11, 2025
8fbce09
Merge branch 'develop' into M3-9433
cpathipa Apr 11, 2025
bd955f7
Linodes landing page layout - group the notifications section
cpathipa Apr 15, 2025
bb01ab6
Merge remote-tracking branch 'origin/develop' into M3-9433
cpathipa Apr 15, 2025
b6144db
Merge remote-tracking branch 'origin/develop' into M3-9433
cpathipa Apr 17, 2025
db39606
change: [M3-9433] - Image Service Gen2 GA: Update copy about Image Pr…
cpathipa Apr 17, 2025
27e9bb7
Revert "change: [M3-9433] - Image Service Gen2 GA: Update copy about …
cpathipa Apr 17, 2025
3c71bab
Merge branch 'develop' of https://github.com/cpathipa/manager into de…
cpathipa Apr 23, 2025
05d165b
Merge branch 'develop' into M3-9433
cpathipa Apr 24, 2025
f17fc63
Merge remote-tracking branch 'origin/develop' into M3-9433
cpathipa Apr 24, 2025
4658d89
Revert "Merge remote-tracking branch 'origin/develop' into M3-9433"
cpathipa Apr 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"concurrently": "9.1.0",
"husky": "^9.1.6",
"typescript": "^5.7.3",
"vitest": "^3.1.2",
"@vitest/ui": "^3.1.2",
"vitest": "^3.0.7",
"@vitest/ui": "^3.0.7",
"lint-staged": "^15.4.3",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
Expand All @@ -26,7 +26,8 @@
"typescript-eslint": "^8.29.0",
"@typescript-eslint/eslint-plugin": "^8.29.0",
"@typescript-eslint/parser": "^8.29.0",
"@linode/eslint-plugin-cloud-manager": "^0.0.10"
"@linode/eslint-plugin-cloud-manager": "^0.0.10",
"jiti": "^2.4.2"
},
"scripts": {
"lint:all": "pnpm -r --parallel lint",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Upcoming Features
---

Add schema validation for `edit alert` call in cloudpulse alerts ([#11868](https://github.com/linode/manager/pull/11868))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Tech Stories
---

Eslint Overhaul ([#11941](https://github.com/linode/manager/pull/11941))

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Changed
---

Add VPC field to `LinodeIPsResponseIPV4` ([#11976](https://github.com/linode/manager/pull/11976))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Upcoming Features
---

Fix the iam api for put method ([#11978](https://github.com/linode/manager/pull/11978))
5 changes: 5 additions & 0 deletions packages/api-v4/.changeset/pr-11995-added-1744149551930.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Added
---

`Linode Interfaces` to the `AccountCapability` type ([#11995](https://github.com/linode/manager/pull/11995))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Upcoming Features
---

fix the api to the right one for iam ([#11998](https://github.com/linode/manager/pull/11998))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Upcoming Features
---

Rename `DeleteLinodeConfigInterfacePayload` to `DeleteInterfaceIds` ([#12016](https://github.com/linode/manager/pull/12016))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Upcoming Features
---

fix the api to the right one for iam ([#12027](https://github.com/linode/manager/pull/12027))

This file was deleted.

This file was deleted.

28 changes: 5 additions & 23 deletions packages/api-v4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
## [2025-04-22] - v0.138.0

### Added:

- `Linode Interfaces` to the `AccountCapability` type ([#11995](https://github.com/linode/manager/pull/11995))

### Changed:

- Add VPC field to `LinodeIPsResponseIPV4` ([#11976](https://github.com/linode/manager/pull/11976))

### Tech Stories:

- Eslint Overhaul ([#11941](https://github.com/linode/manager/pull/11941))

### Upcoming Features:

- Add schema validation for `edit alert` call in cloudpulse alerts ([#11868](https://github.com/linode/manager/pull/11868))
- Fix the iam api for put method ([#11978](https://github.com/linode/manager/pull/11978))
- fix the api to the right one for iam ([#11998](https://github.com/linode/manager/pull/11998))
- Rename `DeleteLinodeConfigInterfacePayload` to `DeleteInterfaceIds` ([#12016](https://github.com/linode/manager/pull/12016))
- fix the api to the right one for iam ([#12027](https://github.com/linode/manager/pull/12027))

## [2025-04-08] - v0.137.0


### Added:

- DBaaS Advanced Configurations: Add `getDatabaseEngineConfig` request to fetch all advanced configurations and updated types for advanced configs ([#11812](https://github.com/linode/manager/pull/11812))
Expand All @@ -48,6 +27,7 @@

## [2025-03-25] - v0.136.0


### Added:

- Add and update `/v4beta/nodebalancers` endpoints for NB-VPC Integration ([#11811](https://github.com/linode/manager/pull/11811))
Expand Down Expand Up @@ -93,6 +73,7 @@

## [2025-02-11] - v0.134.0


### Added:

- Labels and Taints types and params ([#11528](https://github.com/linode/manager/pull/11528))
Expand Down Expand Up @@ -135,6 +116,7 @@
- Add types for Quotas endpoints ([#11493](https://github.com/linode/manager/pull/11493))
- Add Notification Channel related types to cloudpulse/alerts.ts ([#11511](https://github.com/linode/manager/pull/11511))


## [2025-01-14] - v0.132.0

### Added:
Expand All @@ -144,7 +126,7 @@

### Changed:

- Type of `AlertDefinitionType` to `'system'|'user'` ([#11346](https://github.com/linode/manager/pull/11346))
- Type of `AlertDefinitionType` to `'system'|'user'` ([#11346](https://github.com/linode/manager/pull/11346))
- Property names, and types of the CreateAlertDefinitionPayload and Alert interfaces ([#11392](https://github.com/linode/manager/pull/11392))
- BaseDatabase total_disk_size_gb and used_disk_size_gb are always expected and used_disk_size_gb can be null ([#11426](https://github.com/linode/manager/pull/11426))
- Renamed `AvailableMetrics` type to `MetricDefinition` ([#11433](https://github.com/linode/manager/pull/11433))
Expand Down
4 changes: 2 additions & 2 deletions packages/api-v4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linode/api-v4",
"version": "0.138.0",
"version": "0.137.0",
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
"bugs": {
"url": "https://github.com/linode/manager/issues"
Expand Down Expand Up @@ -69,4 +69,4 @@
"tsc -p tsconfig.json --noEmit true --emitDeclarationOnly false"
]
}
}
}
14 changes: 5 additions & 9 deletions packages/api-v4/src/cloudpulse/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

export interface Filters {
dimension_label: string;
key: string;
operator: string;
value: string;
}
Expand Down Expand Up @@ -129,19 +129,15 @@
token: string;
}

export interface Metric {
aggregate_function: string;
name: string;
}

export interface CloudPulseMetricsRequest {
absolute_time_duration: DateTimeWithPreset | undefined;
entity_ids: number[];
metric: string;
filters?: Filters[];
aggregate_function: string;

Check warning on line 135 in packages/api-v4/src/cloudpulse/types.ts

View workflow job for this annotation

GitHub Actions / ESLint Review (api-v4)

[eslint] reported by reviewdog 🐢 Expected "aggregate_function" to come before "filters". Raw Output: {"ruleId":"perfectionist/sort-interfaces","severity":1,"message":"Expected \"aggregate_function\" to come before \"filters\".","line":135,"column":3,"nodeType":"TSPropertySignature","messageId":"unexpectedInterfacePropertiesOrder","endLine":135,"endColumn":30,"fix":{"range":[2898,3169],"text":"absolute_time_duration: DateTimeWithPreset | undefined;
group_by: string;
metrics: Metric[];
relative_time_duration: TimeDuration | undefined;
absolute_time_duration: DateTimeWithPreset | undefined;

Check warning on line 138 in packages/api-v4/src/cloudpulse/types.ts

View workflow job for this annotation

GitHub Actions / ESLint Review (api-v4)

[eslint] reported by reviewdog 🐢 Expected "absolute_time_duration" to come before "relative_time_duration". Raw Output: {"ruleId":"perfectionist/sort-interfaces","severity":1,"message":"Expected \"absolute_time_duration\" to come before \"relative_time_duration\".","line":138,"column":3,"nodeType":"TSPropertySignature","messageId":"unexpectedInterfacePropertiesOrder","endLine":138,"endColumn":58,"fix":{"range":[2898,3169],"text":"absolute_time_duration: DateTimeWithPreset | undefined;
time_granularity: TimeGranularity | undefined;
entity_ids: number[];

Check warning on line 140 in packages/api-v4/src/cloudpulse/types.ts

View workflow job for this annotation

GitHub Actions / ESLint Review (api-v4)

[eslint] reported by reviewdog 🐢 Expected "entity_ids" to come before "time_granularity". Raw Output: {"ruleId":"perfectionist/sort-interfaces","severity":1,"message":"Expected \"entity_ids\" to come before \"time_granularity\".","line":140,"column":3,"nodeType":"TSPropertySignature","messageId":"unexpectedInterfacePropertiesOrder","endLine":140,"endColumn":24,"fix":{"range":[2898,3169],"text":"absolute_time_duration: DateTimeWithPreset | undefined;
}

export interface CloudPulseMetricsResponse {
Expand Down
5 changes: 1 addition & 4 deletions packages/api-v4/src/iam/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export type AccountAccessRole =
| 'account_volume_admin'
| 'firewall_creator'
| 'linode_contributor'
| 'linode_creator'
| 'stackscript_creator';
| 'linode_creator';

export type EntityAccessRole =
| 'database_admin'
Expand All @@ -28,8 +27,6 @@ export type EntityAccessRole =
| 'linode_contributor'
| 'linode_creator'
| 'linode_viewer'
| 'stackscript_admin'
| 'stackscript_viewer'
| 'update_firewall';

export interface IamUserPermissions {
Expand Down
23 changes: 2 additions & 21 deletions packages/api-v4/src/linodes/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,23 +179,13 @@
// ----------------------------------------------------------------------
export type InterfacePurpose = 'public' | 'vlan' | 'vpc';

// IPv4
export interface ConfigInterfaceIPv4 {
vpc?: string | null;
nat_1_1?: string | null;
}

export interface IPv6SLAAC {
range: string;
address: string;
}

export interface ConfigInterfaceIPv6 {
slaac: IPv6SLAAC[];
ranges: {
range?: string;
}[];
is_public: boolean;
vpc?: string | null;

Check warning on line 188 in packages/api-v4/src/linodes/types.ts

View workflow job for this annotation

GitHub Actions / ESLint Review (api-v4)

[eslint] reported by reviewdog 🐢 Expected "null" to come before "string". Raw Output: {"ruleId":"perfectionist/sort-union-types","severity":1,"message":"Expected \"null\" to come before \"string\".","line":188,"column":18,"nodeType":"TSNullKeyword","messageId":"unexpectedUnionTypesOrder","endLine":188,"endColumn":22,"fix":{"range":[4184,4197],"text":"null | string"}}
}

// The legacy interface type - for Configuration Profile Interfaces
Expand Down Expand Up @@ -296,26 +286,17 @@
interfaces: LinodeInterface[];
}

export interface LinodeInterfaceIPv6 {
slaac: IPv6SLAAC[];
ranges: {
range: string;
}[];
is_public: boolean;
}

export interface VPCInterfaceData {
vpc_id: number;
subnet_id: number;
ipv4?: {
ipv4: {

Check warning on line 292 in packages/api-v4/src/linodes/types.ts

View workflow job for this annotation

GitHub Actions / ESLint Review (api-v4)

[eslint] reported by reviewdog 🐢 Expected "ipv4" to come before "subnet_id". Raw Output: {"ruleId":"perfectionist/sort-interfaces","severity":1,"message":"Expected \"ipv4\" to come before \"subnet_id\".","line":292,"column":3,"nodeType":"TSPropertySignature","messageId":"unexpectedInterfacePropertiesOrder","endLine":299,"endColumn":5,"fix":{"range":[6506,6695],"text":"ipv4: {
addresses: {
address: string;
primary: boolean;
nat_1_1_address?: string;
}[];
ranges: { range: string }[];
};
ipv6?: LinodeInterfaceIPv6;
}

export interface PublicInterfaceData {
Expand Down
Loading
Loading