diff --git a/src/c8o/FullSyncGetFindParameter.ts b/src/c8o/FullSyncGetFindParameter.ts new file mode 100644 index 0000000..983aa68 --- /dev/null +++ b/src/c8o/FullSyncGetFindParameter.ts @@ -0,0 +1,13 @@ +export class FullSyncGetFindParameter { + public static SELECTOR: FullSyncGetFindParameter = new FullSyncGetFindParameter("selector"); + public static SORT: FullSyncGetFindParameter = new FullSyncGetFindParameter("sort"); + public static LIMIT: FullSyncGetFindParameter = new FullSyncGetFindParameter("limit"); + public static SKIP: FullSyncGetFindParameter = new FullSyncGetFindParameter("skip"); + public static USE_INDEX: FullSyncGetFindParameter = new FullSyncGetFindParameter("use_index"); + + public name: string; + + constructor(name: string) { + this.name = name; + } +} diff --git a/src/c8o/FullSyncGetIndexParameter.ts b/src/c8o/FullSyncGetIndexParameter.ts new file mode 100644 index 0000000..b11e90d --- /dev/null +++ b/src/c8o/FullSyncGetIndexParameter.ts @@ -0,0 +1,12 @@ +export class FullSyncGetIndexParameter { + public static FIELDS: FullSyncGetIndexParameter = new FullSyncGetIndexParameter("fields"); + public static NAME: FullSyncGetIndexParameter = new FullSyncGetIndexParameter("name"); + public static DDOC: FullSyncGetIndexParameter = new FullSyncGetIndexParameter("ddoc"); + public static TYPE: FullSyncGetIndexParameter = new FullSyncGetIndexParameter("type"); + + public name: string; + + constructor(name: string) { + this.name = name; + } +}