-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENG-6774] fix computing model / service names (and some citations, t…
…oo!) (#2437) * tidy up citation names * fix up/clean up computing model names * set default capabilities for computing * fix key typo in en-us translations * don't show root folder selector for computing addons * Add hasRootFolder getter to detect if root folder selector should be shown. * Rename `selectedAccount` to `authorizedAccount` to match the invocation syntax. * better save disable checking * Responding to code review, improve disableSaveButton check * Responding to code review, {{#if}} around the entire FileManager * don't show root folder for configured compute addons
- Loading branch information
Showing
11 changed files
with
188 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { AsyncBelongsTo, belongsTo } from '@ember-data/model'; | ||
|
||
import ExternalComputingService from './external-computing-service'; | ||
import ExternalComputingServiceModel from './external-computing-service'; | ||
import AuthorizedAccountModel from './authorized-account'; | ||
import UserReferenceModel from './user-reference'; | ||
|
||
export default class AuthorizedComputingAccount extends AuthorizedAccountModel { | ||
export default class AuthorizedComputingAccountModel extends AuthorizedAccountModel { | ||
@belongsTo('user-reference', { inverse: 'authorizedComputingAccounts' }) | ||
accountOwner!: AsyncBelongsTo<UserReferenceModel> & UserReferenceModel; | ||
|
||
@belongsTo('external-computing-service') | ||
computingService!: AsyncBelongsTo<ExternalComputingService> & ExternalComputingService; | ||
externalComputingService!: AsyncBelongsTo<ExternalComputingServiceModel> & ExternalComputingServiceModel; | ||
} | ||
|
||
declare module 'ember-data/types/registries/model' { | ||
export default interface ModelRegistry { | ||
'authorized-computing-account': AuthorizedComputingAccount; | ||
'authorized-computing-account': AuthorizedComputingAccountModel; | ||
} // eslint-disable-line semi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.