Add Designer.excludeFromSearch field (#119)
This commit is contained in:
@@ -19,6 +19,7 @@ export class DesignerAPI extends BaseSQLDataSource {
|
|||||||
return {
|
return {
|
||||||
...row,
|
...row,
|
||||||
id: row.designerid,
|
id: row.designerid,
|
||||||
|
excludeFromSearch: !row.visibleSearch || !row.visibleDesignerpage,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -33,6 +34,7 @@ export class DesignerAPI extends BaseSQLDataSource {
|
|||||||
return {
|
return {
|
||||||
...row,
|
...row,
|
||||||
id: row.designerid,
|
id: row.designerid,
|
||||||
|
excludeFromSearch: !row.visibleSearch || !row.visibleDesignerpage,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -51,6 +53,7 @@ export class DesignerAPI extends BaseSQLDataSource {
|
|||||||
return {
|
return {
|
||||||
...row,
|
...row,
|
||||||
id: row.designerid,
|
id: row.designerid,
|
||||||
|
excludeFromSearch: !row.visibleSearch || !row.visibleDesignerpage,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -379,6 +379,7 @@ type Designer {
|
|||||||
id: ID!
|
id: ID!
|
||||||
name: String
|
name: String
|
||||||
path: String
|
path: String
|
||||||
|
excludeFromSearch: Boolean
|
||||||
orderRows(pagination: PaginationInput!, filter: DateFilterInput): [OrderRow]
|
orderRows(pagination: PaginationInput!, filter: DateFilterInput): [OrderRow]
|
||||||
products: [Product]
|
products: [Product]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,4 +2,5 @@ export interface Designer {
|
|||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
path: string;
|
path: string;
|
||||||
|
excludeFromSearch: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user