1
0
Fork 0
freesewing/sites/dev/docs/reference/store-methods
2025-05-24 12:07:19 +02:00
..
cutlist.addcut
cutlist.getcutfabrics
cutlist.getgrainorigin
cutlist.removecut
cutlist.removecutonfold
cutlist.removegrain
cutlist.setcut
cutlist.setcutonfold
cutlist.setgrain
flag.error fix(dev/docs): Updates to flag store methods 2025-05-24 09:00:39 +02:00
flag.fixme fix(dev/docs): Updates to flag store methods 2025-05-24 09:00:39 +02:00
flag.info Merge branch 'develop' into cdocs 2025-05-24 12:07:19 +02:00
flag.note fix(dev/docs): Updates to flag store methods 2025-05-24 09:00:39 +02:00
flag.preset Merge branch 'develop' into cdocs 2025-05-24 12:07:19 +02:00
flag.tip fix(dev/docs): Updates to flag store methods 2025-05-24 09:00:39 +02:00
flag.warn fix(dev/docs): Updates to flag store methods 2025-05-24 09:00:39 +02:00
generatemacroids
getmacroids
log.debug
log.error
log.info
log.warn
pack
removemacronodes
storemacroids
unflag.error
unflag.fixme
unflag.info
unflag.note
unflag.preset
unflag.tip
unflag.warn
readme.mdx

---
title: Store Methods
---

Store methods are typically provided by plugins and attached to
the store to make them available during the drafting process.

Some of FreeSewing's core library functionality is implemented 
as store methods to allow plugins to override this functionality.
Examples include log handling and pattern layout algorithm.

All store methods below are either provided by plugins we maintain,
or are the default store methods as provided by the core library.

## Signature

```js
null method(object Store, object config)
```

A store method receives as its first parameter [the Store object](/reference/api/store), and
as second parameter a single configuration object for the method.

## Store methods we maintain

<ReadMore />