Skip to content

Commit

Permalink
chore: expose terms & conditions types as string array.
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdevos committed Dec 7, 2023
1 parent bb4ee21 commit 2e3d07f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logion/client",
"version": "0.36.0-5",
"version": "0.36.0-6",
"description": "logion SDK for client applications",
"main": "dist/index.js",
"packageManager": "[email protected]",
Expand Down
4 changes: 3 additions & 1 deletion packages/client/src/license/TermsAndConditions.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { UUID } from "@logion/node-api";

export const TERMS_AND_CONDITIONS_TYPES = [ "logion_classification", "specific_license", "CC4.0" ] as const;

/**
* Defines available Terms&Conditions types.
* @group TermsAndConditions
*/
export type TermsAndConditionsElementType = "logion_classification" | "specific_license" | "CC4.0";
export type TermsAndConditionsElementType = typeof TERMS_AND_CONDITIONS_TYPES[number];

/**
* Common contract to all Terms and Conditions elements.
Expand Down

0 comments on commit 2e3d07f

Please sign in to comment.