Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change history for stripes-types

## 4.0.0 (IN PROGRESS)

* [[STTYPES-21](https://folio-org.atlassian.net/browse/STTYPES-21)] Update ACQ interfaces reflect BE changes: `userLimit` type (`number` → `string`) and schema cleanup.

## [3.0.1](https://github.com/folio-org/stripes-types/tree/v3.0.1) (2025-02-24)

* [[STTYPES-20](https://folio-org.atlassian.net/browse/STTYPES-20)] Add missing `Timepicker` props.
Expand Down
22 changes: 1 addition & 21 deletions acq-components/definitions/order-line.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ declare namespace ACQ {
acquisitionMethod: string;
/** If true then line will be marked as available to export in the EDIFACT format or other format */
automaticExport?: boolean;
/** Alerts associated with this purchase order line */
alerts?: OrderLine.Alert[];
/** Whether or not there are cancellation restrictions for this purchase order line */
cancellationRestriction?: boolean;
/** Free-form notes related to cancellation restrictions */
Expand Down Expand Up @@ -76,8 +74,6 @@ declare namespace ACQ {
receiptStatus?: OrderLine.ReceiptStatus;
/** Renewal note for this purchase order line */
renewalNote?: string;
/** A list of reporting codes associated with this purchase order line */
reportingCodes?: OrderLine.ReportingCode[];
/** Who requested this purchase order line */
requester?: string;
/** Whether or not this is a rush order */
Expand All @@ -99,13 +95,6 @@ declare namespace ACQ {
}

namespace OrderLine {
interface Alert {
/** UUID of this alert record */
id?: string;
/** The alert text */
alert: string;
}

/* not-stable: possibly changed in the future */
interface Claim {
/** Whether or not this purchase order line has been claimed */
Expand Down Expand Up @@ -186,7 +175,7 @@ declare namespace ACQ {
/** Expected date the resource will be activated */
expectedActivation?: string;
/** The concurrent user-limit */
userLimit?: number;
userLimit?: string;
/** UUID of the access provider */
accessProvider?: string;
/** License record */
Expand Down Expand Up @@ -251,15 +240,6 @@ declare namespace ACQ {
volumes: string[];
}

interface ReportingCode {
/** UUID of this reporting code record */
id?: string;
/** A reporting code */
code: string;
/** Description of this reporting code */
description?: string;
}

interface VendorDetail {
/** Special instructions for the vendor */
instructions?: string;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@folio/stripes-types",
"version": "3.0.1",
"version": "4.0.0",
"description": "Typings for the Stripes framework",
"license": "Apache-2.0",
"repository": "folio-org/stripes-types",
Expand Down
Loading