-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for supplier and properties, closes #12
- Loading branch information
Showing
8 changed files
with
5,541 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Configuration schema for an organizational entity which will be converted to a CycloneDX model internally | ||
* @see https://cyclonedx-javascript-library.readthedocs.io/en/latest/typedoc/node/classes/Models.OrganizationalEntity.html | ||
*/ | ||
export interface OrganizationalEntityOption { | ||
/** | ||
* The name of the organization | ||
* @example | ||
* "Acme Inc." | ||
*/ | ||
name?: string; | ||
/** | ||
* The URL of the organization. Multiple URLs are allowed. | ||
* @example | ||
* "https://example.com" | ||
*/ | ||
url: string[]; | ||
/** | ||
* A contact at the organization. Multiple contacts are allowed. | ||
*/ | ||
contact: { | ||
/** | ||
* The name of a contact | ||
* @example | ||
* "Contact name" | ||
*/ | ||
name?: string; | ||
/** | ||
* The email address of the contact. | ||
* @example | ||
* "firstname.lastname@example.com" | ||
*/ | ||
email?: string; | ||
/** | ||
* The phone number of the contact. | ||
* @example | ||
* "800-555-1212" | ||
*/ | ||
phone?: string; | ||
}[]; | ||
} |
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.