@aptly-as/types
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -8,2 +8,3 @@ import { AptlyPageSectionType } from '../enums'; | ||
project: ID; | ||
organization: ID; | ||
showInMenu: boolean; | ||
@@ -14,3 +15,3 @@ summary: string; | ||
image?: string; | ||
upsellTemplate: ID; | ||
upsellTemplate?: ID | null; | ||
sections: AptlyPageSectionSchema<ID, DATE>[]; | ||
@@ -17,0 +18,0 @@ archived?: boolean; |
@@ -9,2 +9,3 @@ import { AptlyPageSectionType } from '../enums'; | ||
project: ID; | ||
organization: ID; | ||
showInMenu: boolean; | ||
@@ -15,3 +16,3 @@ summary: string; | ||
image?: string; // Deprecated | ||
upsellTemplate: ID; | ||
upsellTemplate?: ID | null; | ||
sections: AptlyPageSectionSchema<ID, DATE>[]; | ||
@@ -18,0 +19,0 @@ archived?: boolean; |
@@ -0,5 +1,7 @@ | ||
import { AptlyMediaSrc } from './media'; | ||
export declare type AptlyRecommendation = AptlyRecommendationSchema<string, string>; | ||
export interface AptlyRecommendationSchema<ID, DATE> { | ||
_id: ID; | ||
project: ID; | ||
organization?: ID; | ||
project?: ID; | ||
title: string; | ||
@@ -9,4 +11,5 @@ name: string; | ||
text: string; | ||
image: string; | ||
image?: string | null; | ||
imageMedia?: AptlyMediaSrc | null; | ||
archived?: boolean; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { AptlyMediaSrc } from './media'; | ||
@@ -5,3 +6,4 @@ export type AptlyRecommendation = AptlyRecommendationSchema<string, string>; | ||
_id: ID; | ||
project: ID; | ||
organization?: ID; | ||
project?: ID; | ||
title: string; | ||
@@ -11,4 +13,5 @@ name: string; | ||
text: string; | ||
image: string; | ||
image?: string | null; | ||
imageMedia?: AptlyMediaSrc | null; | ||
archived?: boolean; | ||
} |
@@ -6,10 +6,15 @@ import { AptlyHistorySchema } from './extends'; | ||
name: string; | ||
/** | ||
* @deprecated not used.. Only for frontend | ||
*/ | ||
description: string; | ||
image?: string; | ||
image?: string | null; | ||
imageMedia?: string | null; | ||
videoEmbed?: string; | ||
text?: string; | ||
links: ID[]; | ||
project: ID; | ||
organization?: ID; | ||
project?: ID; | ||
created: DATE; | ||
archived: boolean; | ||
} |
@@ -7,10 +7,15 @@ import { AptlyHistorySchema } from './extends'; | ||
name: string; | ||
/** | ||
* @deprecated not used.. Only for frontend | ||
*/ | ||
description: string; | ||
image?: string; | ||
image?: string | null; | ||
imageMedia?: string | null; | ||
videoEmbed?: string; | ||
text?: string; | ||
links: ID[]; | ||
project: ID; | ||
organization?: ID; | ||
project?: ID; | ||
created: DATE; | ||
archived: boolean; | ||
} |
{ | ||
"name": "@aptly-as/types", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Aptly types and enums", | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"author": "Emil A. Olsen <emil@aptly.as>", | ||
"engines": { | ||
@@ -21,2 +22,6 @@ "node": ">14.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"typescript": "^4.2.4" | ||
}, | ||
"repository": { | ||
@@ -31,7 +36,6 @@ "type": "git", | ||
], | ||
"author": "Emil A. Olsen", | ||
"bugs": { | ||
"url": "https://github.com/aptly-as/inwise-types/issues" | ||
"url": "https://github.com/aptly-as/types/issues" | ||
}, | ||
"homepage": "https://github.com/aptly-as/inwise-types#readme", | ||
"homepage": "https://github.com/aptly-as/types#readme", | ||
"files": [ | ||
@@ -45,6 +49,3 @@ "core", | ||
"index.js.map" | ||
], | ||
"devDependencies": { | ||
"typescript": "^4.2.4" | ||
} | ||
] | ||
} |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
106965
2924