dataset-types 3.0.7 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +6 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -167,10 +167,15 @@ export type IProject = IDataLockable & IDataArchivable & {
167
167
  createdAt: Date;
168
168
  Categories?: ICategory[];
169
169
  };
170
- export interface ICategory extends IEntity {
170
+ export interface ICategory extends INamedEntity {
171
171
  colour: number;
172
172
  Projects?: IProject[];
173
173
  }
174
+ export interface IAction {
175
+ name: (item: any) => string;
176
+ icon: (item: any) => string;
177
+ action: (item: any) => void;
178
+ }
174
179
  export interface IActionContext {
175
180
  callback: () => void;
176
181
  permissions: IPermission[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataset-types",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "scripts": {
5
5
  "start": "npm run build && npm run package",
6
6
  "build": "tsc --rootDir 'src/types' --outDir './dist'",