Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
br14n-sol committed Jun 19, 2024
1 parent ca62eb1 commit 279f8bf
Showing 1 changed file with 45 additions and 113 deletions.
158 changes: 45 additions & 113 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ collection({
<tr><th align='left'>Field</th><th align='left'>Supported Operators</th><th align='left'>Method</th></tr>
</thead>
<tbody>
<tr><td>name</td><td>
<tr><td>name</td><td rowspan="2">

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
Expand All @@ -99,26 +99,9 @@ fileName({
})
```

</td></tr>
<tr><td>fullText</td><td>

- Contains (⊇)

</td><td>

```ts
content(string | string[])
```

</td></tr>
<tr><td>mimeType</td><td>

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
- Contains (⊇): `$contains`

</td><td>

```ts
fileType(string | string[])
fileType({
Expand All @@ -127,22 +110,18 @@ fileType({
```

</td></tr>
<tr><td>visibility</td><td>
<tr><td>fullText</td><td>

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
- Contains (⊇)

</td><td>

```ts
visibility(string | string[])
visibility({
[K in Operator]?: string | string[]
})
content(string | string[])
```

</td></tr>
<tr><td>properties</td><td>
<tr><td>properties</td><td rowspan="2">

- Has (∋)

Expand All @@ -157,90 +136,49 @@ property({
</td></tr>
<tr><td>appProperties</td><td>

- Has (∋)

</td><td>

```ts
appProperty({
[K in string]: string | string[]
})
```

</td></tr>
<tr><td>createdTime</td><td>
<tr><td>visibility</td><td rowspan="3">

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
- Less than (<): `$lt`
- Less than or equal to (≤): `$lte`
- Greater than (>): `$gt`
- Greater than or equal to (≥): `$gte`

</td><td>

```ts
createdAt(string | string[])
createdAt({
visibility(string | string[])
visibility({
[K in Operator]?: string | string[]
})
```

</td></tr>
<tr><td>modifiedTime</td><td>

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
- Less than (<): `$lt`
- Less than or equal to (≤): `$lte`
- Greater than (>): `$gt`
- Greater than or equal to (≥): `$gte`

</td><td>

```ts
updatedAt(string | string[])
updatedAt({
[K in Operator]?: string | string[]
})
```

</td></tr>
<tr><td>viewedByMeTime</td><td>

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
- Less than (<): `$lt`
- Less than or equal to (≤): `$lte`
- Greater than (>): `$gt`
- Greater than or equal to (≥): `$gte`

</td><td>
<tr><td>shortcutDetails.targetId</td><td>

```ts
viewedAt(string | string[])
viewedAt({
shortcutTargetId(string | string[])
shortcutTargetId({
[K in Operator]?: string | string[]
})
```

</td></tr>
<tr><td>shortcutDetails.targetId</td><td>

- Equal to (=): `$eq`
- Not equal to (≠): `$ne`

</td><td>
<tr><td>orgUnitId</td><td>

```ts
shortcutTargetId(string | string[])
shortcutTargetId({
orgDriveId(string | string[])
orgDriveId({
[K in Operator]?: string | string[]
})
```

</td></tr>
<tr><td>sharedWithMe</td><td>
<tr><td>sharedWithMe</td><td rowspan="4">

- Equal to (=)

Expand All @@ -253,42 +191,26 @@ shared(boolean?) // default: true
</td></tr>
<tr><td>trashed</td><td>
- Equal to (=)
</td><td>
```ts
trashed(boolean?) // default: true
```
</td></tr>
<tr><td>starred</td><td>
- Equal to (=)
</td><td>
```ts
starred(boolean?) // default: true
```
</td></tr>
<tr><td>orgUnitId</td><td>
- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
</td><td>
<tr><td>hidden</td><td>
```ts
orgDriveId(string | string[])
orgDriveId({
[K in Operator]?: string | string[]
})
hidden(boolean?) // default: true
```
</td></tr>
<tr><td>organizerCount</td><td>
<tr><td>createdTime</td><td rowspan="5">
- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
Expand All @@ -300,40 +222,50 @@ orgDriveId({
</td><td>
```ts
organizerCount(string | string[])
organizerCount({
createdAt(string | string[])
createdAt({
[K in Operator]?: string | string[]
})
```
</td></tr>
<tr><td>memberCount</td><td>
- Equal to (=): `$eq`
- Not equal to (≠): `$ne`
- Less than (<): `$lt`
- Less than or equal to (≤): `$lte`
- Greater than (>): `$gt`
- Greater than or equal to (≥): `$gte`
<tr><td>modifiedTime</td><td>
</td><td>
```ts
updatedAt(string | string[])
updatedAt({
[K in Operator]?: string | string[]
})
```
</td></tr>
<tr><td>viewedByMeTime</td><td>
```ts
memberCount(string | string[])
memberCount({
viewedAt(string | string[])
viewedAt({
[K in Operator]?: string | string[]
})
```
</td></tr>
<tr><td>hidden</td><td>
<tr><td>organizerCount</td><td>
- Equal to (=)
```ts
organizerCount(string | string[])
organizerCount({
[K in Operator]?: string | string[]
})
```
</td><td>
</td></tr>
<tr><td>memberCount</td><td>
```ts
hidden(boolean?) // default: true
memberCount(string | string[])
memberCount({
[K in Operator]?: string | string[]
})
```
</td></tr>
Expand Down

0 comments on commit 279f8bf

Please sign in to comment.