Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
[rc] Added type for errorType (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackbaud-SteveBrush committed May 12, 2020
1 parent 26c7181 commit 27f1b04
Show file tree
Hide file tree
Showing 7 changed files with 429 additions and 1,587 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ branches:
- master
- /^[0-9]+\.[0-9]+\.[0-9]+.*/
- /^rc-.*$/
- 3.x.x

before_install:
- bash <(curl -s https://blackbaud.github.io/skyux-travis/v3/library-before-install.sh)
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

### Breaking changes

- Dropped support for `rxjs@5`. Consumers may install `rxjs-compat@^6` to support older versions of `rxjs`. [#102](https://github.com/blackbaud/skyux-forms/pull/102)
- Dropped support for `rxjs@5`. Consumers can install `rxjs-compat@^6` to support older versions of `rxjs`. [#102](https://github.com/blackbaud/skyux-forms/pull/102)

# 3.6.3 (2020-02-12)

Expand Down
1,940 changes: 386 additions & 1,554 deletions package-lock.json

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,51 +20,51 @@
},
"homepage": "https://github.com/blackbaud/skyux-forms#readme",
"peerDependencies": {
"@angular/common": "^9.0.1",
"@angular/core": "^9.0.1",
"@angular/forms": "^9.0.1",
"@skyux/i18n": "^4.0.0-rc.0",
"@skyux/indicators": "^4.0.0-rc.0"
"@angular/common": "^9.1.6",
"@angular/core": "^9.1.6",
"@angular/forms": "^9.1.6",
"@skyux/i18n": "^4.0.0",
"@skyux/indicators": "^4.0.0"
},
"devDependencies": {
"@angular/animations": "9.1.4",
"@angular/common": "9.1.4",
"@angular/compiler": "9.1.4",
"@angular/compiler-cli": "9.1.4",
"@angular/core": "9.1.4",
"@angular/forms": "9.1.4",
"@angular/platform-browser": "9.1.4",
"@angular/platform-browser-dynamic": "9.1.4",
"@angular/router": "9.1.4",
"@angular/animations": "9.1.6",
"@angular/common": "9.1.6",
"@angular/compiler": "9.1.6",
"@angular/compiler-cli": "9.1.6",
"@angular/core": "9.1.6",
"@angular/forms": "9.1.6",
"@angular/platform-browser": "9.1.6",
"@angular/platform-browser-dynamic": "9.1.6",
"@angular/router": "9.1.6",
"@blackbaud/auth-client": "2.24.0",
"@blackbaud/skyux-lib-clipboard": "2.0.0-rc.0",
"@blackbaud/skyux-lib-code-block": "2.0.0-rc.3",
"@blackbaud/skyux-lib-code-block": "2.0.0-rc.4",
"@blackbaud/skyux-lib-media": "2.0.0-rc.0",
"@blackbaud/skyux-lib-restricted-view": "2.0.0-rc.0",
"@blackbaud/skyux-lib-stache": "4.0.0-rc.2",
"@skyux-sdk/builder": "4.0.0-rc.7",
"@skyux-sdk/builder": "4.0.0-rc.9",
"@skyux-sdk/builder-plugin-skyux": "4.0.0-rc.0",
"@skyux-sdk/e2e": "4.0.0-rc.0",
"@skyux-sdk/testing": "4.0.0-rc.2",
"@skyux/animations": "4.0.0-rc.0",
"@skyux/assets": "4.0.0-rc.1",
"@skyux/config": "4.0.0-rc.3",
"@skyux/core": "4.0.0-rc.5",
"@skyux-sdk/e2e": "4.0.0-rc.1",
"@skyux-sdk/testing": "4.0.0-rc.3",
"@skyux/animations": "4.0.0",
"@skyux/assets": "4.0.0",
"@skyux/config": "4.0.0",
"@skyux/core": "4.0.0",
"@skyux/docs-tools": "4.0.0-rc.4",
"@skyux/forms": "4.0.0-rc.0",
"@skyux/http": "4.0.0-rc.3",
"@skyux/i18n": "4.0.0-rc.5",
"@skyux/indicators": "4.0.0-rc.5",
"@skyux/inline-form": "4.0.0-rc.0",
"@skyux/forms": "4.0.0-rc.1",
"@skyux/http": "4.0.0",
"@skyux/i18n": "4.0.0",
"@skyux/indicators": "4.0.0",
"@skyux/inline-form": "4.0.0",
"@skyux/layout": "4.0.0-rc.4",
"@skyux/lists": "4.0.0-rc.2",
"@skyux/lookup": "4.0.0-rc.3",
"@skyux/lookup": "4.0.0-rc.4",
"@skyux/modals": "4.0.0-rc.5",
"@skyux/omnibar-interop": "4.0.0-rc.0",
"@skyux/omnibar-interop": "4.0.0",
"@skyux/popovers": "4.0.0-rc.3",
"@skyux/router": "4.0.0-rc.0",
"@skyux/router": "4.0.0",
"@skyux/tabs": "4.0.0-rc.1",
"@skyux/theme": "4.0.0-rc.6",
"@skyux/theme": "4.0.0",
"codelyzer": "5.2.2",
"rxjs": "6.5.5",
"ts-node": "8.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* Specifies the type of error that was thrown.
*/
export type SkyFileItemErrorType = 'fileType' | 'minFileSize' | 'maxFileSize' | 'validate';
6 changes: 5 additions & 1 deletion src/app/public/modules/file-attachment/file-item.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import {
SkyFileItemErrorType
} from './file-item-error-type';

export interface SkyFileItem {
file: File;
url: string;
errorType: string;
errorType: SkyFileItemErrorType;
errorParam: string;
}
1 change: 1 addition & 0 deletions src/app/public/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export * from './modules/file-attachment/types/file-attachment-click';
export * from './modules/file-attachment/types/file-drop-change';
export * from './modules/file-attachment/file-attachments.module';
export * from './modules/file-attachment/file-item';
export * from './modules/file-attachment/file-item-error-type';
export * from './modules/file-attachment/file-link';
export * from './modules/file-attachment/file-size.pipe';

Expand Down

0 comments on commit 27f1b04

Please sign in to comment.