Improve getAll webflow/printful client api
This commit is contained in:
@@ -13,3 +13,9 @@ export const formatSlug = (name: string): string => {
|
||||
.replace(/--+/g, "-") // collapse multiple dashes
|
||||
.replace(/^([^a-z0-9_])/, "_$1"); // if it starts with an invalid char, prefix underscore
|
||||
};
|
||||
|
||||
export type PagingOptions = {
|
||||
offset?: number,
|
||||
limit?: number,
|
||||
forceAll?: boolean
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user