@appsemble/types
Advanced tools
Comparing version 0.22.10 to 0.23.0
@@ -608,4 +608,8 @@ import { type IconName } from '@fortawesome/fontawesome-common-types'; | ||
} | ||
export interface ResourceReferenceActionTrigger { | ||
type: 'create' | 'delete' | 'update'; | ||
cascade?: 'delete' | 'update'; | ||
} | ||
interface ResourceReferenceAction { | ||
trigger: ('create' | 'delete' | 'update')[]; | ||
triggers: ResourceReferenceActionTrigger[]; | ||
} | ||
@@ -1835,3 +1839,3 @@ interface ResourceReference { | ||
*/ | ||
serviceName?: string; | ||
name?: string; | ||
/** | ||
@@ -1924,2 +1928,62 @@ * The url pattern that is matched when a proxied request action is called. | ||
} | ||
export interface Training { | ||
/** | ||
* Id of the training | ||
*/ | ||
id: number; | ||
/** | ||
* Title of the training. | ||
*/ | ||
title: string; | ||
/** | ||
* A brief overview of what the training is about. | ||
*/ | ||
description: string; | ||
/** | ||
* Tags related to competence of the training. | ||
*/ | ||
competence: string; | ||
/** | ||
* Difficulty level of the training. | ||
*/ | ||
difficultyLevel: number; | ||
/** | ||
* The creation date of the training. | ||
*/ | ||
$created?: string; | ||
/** | ||
* The date when the training was last updated. | ||
*/ | ||
$updated?: string; | ||
} | ||
export interface TrainingBlock { | ||
/** | ||
* ID of the training block | ||
*/ | ||
id: string; | ||
/** | ||
* Title of the block. | ||
*/ | ||
title: string; | ||
/** | ||
* Id of the parent training. | ||
*/ | ||
trainingId: number; | ||
/** | ||
* A link pointing to the documentation of Appsemble. | ||
*/ | ||
documentationLink?: string; | ||
/** | ||
* A link pointing to a video regarding the topic. | ||
*/ | ||
videoLink?: string; | ||
/** | ||
* Link to an external resource. | ||
*/ | ||
externalResource?: string; | ||
/** | ||
* Example code for the user to try out. | ||
*/ | ||
exampleCode?: string; | ||
} | ||
export type SAMLStatus = 'badsignature' | 'emailconflict' | 'invalidrelaystate' | 'invalidsecret' | 'invalidstatuscode' | 'invalidsubjectconfirmation' | 'missingnameid' | 'missingsubject'; | ||
@@ -1926,0 +1990,0 @@ /** |
{ | ||
"name": "@appsemble/types", | ||
"version": "0.22.10", | ||
"version": "0.23.0", | ||
"description": "TypeScript definitions reused within Appsemble internally", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.22.10/config/assets/logo.svg) Appsemble Types | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.23.0/config/assets/logo.svg) Appsemble Types | ||
@@ -6,3 +6,3 @@ > Reusable TypeScript types | ||
[![npm](https://img.shields.io/npm/v/@appsemble/types)](https://www.npmjs.com/package/@appsemble/types) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.22.10/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.22.10) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.23.0/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.23.0) | ||
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io) | ||
@@ -30,3 +30,3 @@ | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.22.10/LICENSE.md) © | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.23.0/LICENSE.md) © | ||
[Appsemble](https://appsemble.com) |
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
81240
2568