Skip to content

Commit 4909fb7

Browse files
author
Andre Turner
committed
Initial draft of pagination and product completion schema
1 parent eb1898b commit 4909fb7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

dbschema/pagination-input.esdl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module default {
2+
type PaginationInput {
3+
required count: int16 {
4+
constraint min_value(1);
5+
constraint max_value(100);
6+
default := 25;
7+
};
8+
9+
page: int16 {
10+
constraint min_value(1);
11+
default := 1;
12+
};
13+
}
14+
15+
type ProductCompletionDescription extending PaginationInput {
16+
query: str;
17+
methodology: Product::Methodology;
18+
}
19+
}

0 commit comments

Comments
 (0)