• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CenterForOpenScience / ember-osf-web / 8007223254

22 Feb 2024 03:49PM UTC coverage: 68.252% (-0.8%) from 69.029%
8007223254

Pull #2143

github

web-flow
Merge 88eaee93e into f7db71a0c
Pull Request #2143: Feature/cedar integration

2638 of 4110 branches covered (64.18%)

Branch coverage included in aggregate %.

74 of 212 new or added lines in 30 files covered. (34.91%)

6142 of 8754 relevant lines covered (70.16%)

225.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/models/cedar-metadata-template.ts
1
import { attr } from '@ember-data/model';
2
import { tracked } from '@glimmer/tracking';
3
import OsfModel from './osf-model';
4

5

6
/**
7
 * CedarMetadataTemplateModel
8
 *
9
 * @description The cedar metadata template model
10
 */
11
export default class CedarMetadataTemplateModel extends OsfModel {
12
    @attr('fixstring') schemaName!: string;
13
    @attr('fixstring') cedarId!: string;
14
    @attr('boolean') active!: boolean;
15
    @attr('object') template!: any;
16
    @attr('number') templateVersion!: number;
17

18
    @tracked recordCreated!: boolean;
19

20
    get canSelect() {
NEW
21
        return !this.recordCreated;
×
22
    }
23
}
24

25
declare module 'ember-data/types/registries/model' {
26
    export default interface ModelRegistry {
27
        'cedar-metadata-template': CedarMetadataTemplateModel;
28
    } // eslint-disable-line semi
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc