json-ld-types
Advanced tools
Comparing version 3.0.1 to 3.0.2
# @atlassian/json-ld-types | ||
## 3.0.2 | ||
### Patch Changes | ||
- a774241: Add json-ld-types atlassian:Goal | ||
## 3.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -7,3 +7,3 @@ import { Action as ActionSchema, AssignAction, CommentAction, DeleteAction, DownloadAction, ReplyAction, ShareAction, SubscribeAction, ViewAction, WatchAction } from 'schema-dts'; | ||
type LeafType = 'Object' | 'Link' | 'Collection'; | ||
type ObjectType = 'Collection' | 'Application' | 'Group' | 'Person' | 'Service' | 'Organization' | 'Relationship' | 'Object' | 'Article' | 'Document' | 'Audio' | 'Image' | 'Video' | 'Note' | 'Page' | 'Event' | 'Place' | 'Profile' | 'Tombstone' | 'schema:BlogPosting' | 'schema:TextDigitalDocument' | 'schema:DigitalDocument' | 'schema:PresentationDigitalDocument' | 'schema:SpreadsheetDigitalDocument' | 'schema:Message' | 'atlassian:Project' | 'atlassian:SourceCodeReference' | 'atlassian:SourceCodeRepository' | 'atlassian:SourceCodePullRequest' | 'atlassian:SourceCodeCommit' | 'atlassian:Task' | 'atlassian:UndefinedLink' | 'atlassian:Emoji'; | ||
type ObjectType = 'Collection' | 'Application' | 'Group' | 'Person' | 'Service' | 'Organization' | 'Relationship' | 'Object' | 'Article' | 'Document' | 'Audio' | 'Image' | 'Video' | 'Note' | 'Page' | 'Event' | 'Place' | 'Profile' | 'Tombstone' | 'schema:BlogPosting' | 'schema:TextDigitalDocument' | 'schema:DigitalDocument' | 'schema:PresentationDigitalDocument' | 'schema:SpreadsheetDigitalDocument' | 'schema:Message' | 'atlassian:Goal' | 'atlassian:Project' | 'atlassian:SourceCodeReference' | 'atlassian:SourceCodeRepository' | 'atlassian:SourceCodePullRequest' | 'atlassian:SourceCodeCommit' | 'atlassian:Task' | 'atlassian:UndefinedLink' | 'atlassian:Emoji'; | ||
type LinkType = 'Mention'; | ||
@@ -224,2 +224,4 @@ type CollectionType = 'Collection' | 'CollectionPage'; | ||
'atlassian:titlePrefix'?: TitlePrefix; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person | Primitives.Collection<Primitives.Link | Primitives.Person>; | ||
'schema:dateCreated'?: string; | ||
} | ||
@@ -246,4 +248,2 @@ interface BaseCollectionData<T extends BaseData> extends Primitives.Collection<T> { | ||
'atlassian:fileSize'?: number; | ||
'schema:dateCreated'?: string; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'schema:commentCount'?: number; | ||
@@ -254,3 +254,3 @@ 'atlassian:isDeleted'?: boolean; | ||
'atlassian:reactCount'?: number; | ||
'atlassian:state'?: string; | ||
'atlassian:state'?: string | Primitives.Object; | ||
'atlassian:viewCount'?: number; | ||
@@ -289,4 +289,2 @@ 'atlassian:voteCount'?: number; | ||
'@type': Primitives.Page['@type']; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'schema:dateCreated': string; | ||
'schema:commentCount'?: number; | ||
@@ -298,11 +296,16 @@ 'schema:potentialAction'?: Primitives.Property<PageAction>; | ||
} | ||
interface Goal extends BaseData { | ||
'@type': Primitives.TypeProperty<'atlassian:Goal'>; | ||
'atlassian:state'?: string | Primitives.Object; | ||
'atlassian:subscriber'?: Primitives.Link | Primitives.Person; | ||
'atlassian:subscriberCount': number; | ||
'schema:commentCount'?: number; | ||
} | ||
interface Project extends BaseData { | ||
'@type': Primitives.TypeProperty<'atlassian:Project'>; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'atlassian:isDeleted': boolean; | ||
'atlassian:member': Primitives.Link | Primitives.Person | Primitives.Collection<Primitives.Person>; | ||
'atlassian:reactCount'?: number; | ||
'schema:dateCreated': string; | ||
'schema:commentCount'?: number; | ||
'atlassian:state'?: string; | ||
'atlassian:state'?: string | Primitives.Object; | ||
} | ||
@@ -321,3 +324,2 @@ interface SourceCodeDocument extends Document { | ||
'atlassian:parent'?: Primitives.Property<Primitives.Object | Primitives.Link>; | ||
'schema:dateCreated': string; | ||
'schema:commentCount'?: number; | ||
@@ -331,3 +333,2 @@ 'schema:programmingLanguage'?: string; | ||
'atlassian:internalId'?: string; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'atlassian:state': string | Primitives.Link | Primitives.Object; | ||
@@ -345,3 +346,2 @@ 'atlassian:mergeSource'?: Partial<SourceCodeCommit> | Partial<SourceCodeReference> | Primitives.Link; | ||
'atlassian:voteCount'?: number; | ||
'schema:dateCreated': string; | ||
'schema:programmingLanguage'?: string; | ||
@@ -353,5 +353,3 @@ 'schema:potentialAction'?: Primitives.Property<SourceCodePullRequestAction>; | ||
'@type': Primitives.TypeProperty<'atlassian:SourceCodeReference'>; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'atlassian:commit': Partial<SourceCodeCommit> | Primitives.Link; | ||
'schema:dateCreated'?: string; | ||
'schema:programmingLanguage'?: string; | ||
@@ -363,3 +361,2 @@ 'schema:potentialAction'?: Primitives.Property<SourceCodeReferenceAction>; | ||
'@type': Primitives.TypeProperty<'atlassian:SourceCodeRepository'>; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'atlassian:subscriber'?: Primitives.Link | Primitives.Person; | ||
@@ -369,3 +366,2 @@ 'atlassian:subscriberCount': number; | ||
'atlassian:voteCount'?: number; | ||
'schema:dateCreated': string; | ||
'schema:programmingLanguage'?: string; | ||
@@ -385,7 +381,5 @@ 'schema:potentialAction'?: Primitives.Property<SourceCodeRepositoryAction>; | ||
'atlassian:taskStatus'?: Primitives.Object; | ||
'atlassian:updatedBy'?: Primitives.Link | Primitives.Person; | ||
'atlassian:viewCount'?: number; | ||
'atlassian:voteCount'?: number; | ||
'schema:commentCount'?: number; | ||
'schema:dateCreated'?: string; | ||
'schema:potentialAction'?: Primitives.Property<TaskAction>; | ||
@@ -392,0 +386,0 @@ } |
@@ -26,2 +26,6 @@ import { JsonLd } from './jsonld'; | ||
} | ||
export interface JsonLdGoal { | ||
meta: JsonLd.Meta.BaseMeta; | ||
data: JsonLd.Data.Goal; | ||
} | ||
export interface JsonLdProject { | ||
@@ -28,0 +32,0 @@ meta: JsonLd.Meta.BaseMeta; |
{ | ||
"name": "json-ld-types", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"contributors": [ | ||
@@ -5,0 +5,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52875
539