Skip to content

Commit 8ae0179

Browse files
authored
Merge pull request #10 from nebay-abraha/documents
Documents
2 parents 3da0197 + a5bcf15 commit 8ae0179

File tree

6 files changed

+68
-2
lines changed

6 files changed

+68
-2
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
tags:
6+
- "*"
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
java: [8, 11, 17]
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up Java
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: temurin
24+
java-version: ${{ matrix.java }}
25+
cache: maven
26+
27+
- name: Build
28+
run: mvn -B -U clean verify

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ hs_err_pid*
3030
/.gradle/
3131
/target/*
3232
.idea/*
33+
.vscode/

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.98.1]
5+
6+
### Added
7+
- Introduced support for document:
8+
- `MoveRequest` model
9+
10+
### Changed
11+
- Upgrade dependency: lombok 1.18.42.
12+
413
## [1.98.0]
514

615
### Added

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<artifactId>rspace-client-java-model</artifactId>
7-
<version>1.98.0</version>
7+
<version>1.98.1</version>
88
<name>rspace-client-java-model</name>
99
<parent>
1010
<groupId>com.github.rspace-os</groupId>
@@ -73,7 +73,7 @@
7373
</dependencies>
7474

7575
<properties>
76-
<lombok.version>1.18.22</lombok.version>
76+
<lombok.version>1.18.42</lombok.version>
7777
</properties>
7878

7979
</project>

src/main/java/com/researchspace/api/clientmodel/DocumentInfo.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ public class DocumentInfo extends IdentifiableNameable {
4444
private Date lastModified = null;
4545
private Boolean signed = null;
4646
private String tags = null;
47+
private String tagMetaData = null;
4748
private FormInfo form = null;
4849
private User owner = null;
4950
private Long parentFolderId = null;
51+
private Long grandParentId = null;
52+
private Long version;
5053

5154
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package com.researchspace.api.clientmodel;
2+
3+
import lombok.AllArgsConstructor;
4+
import lombok.Builder;
5+
import lombok.Data;
6+
import lombok.NoArgsConstructor;
7+
8+
/**
9+
* Request to move a document or notebook to a target folder
10+
*
11+
* @author rspac
12+
* @since 1.98.0
13+
*/
14+
@Data
15+
@NoArgsConstructor
16+
@AllArgsConstructor
17+
@Builder
18+
public class MoveRequest {
19+
20+
private Long recordId;
21+
private long sourceFolderId;
22+
private Long targetFolderId;
23+
private Long currentGrandparentId;
24+
private String reason;
25+
}

0 commit comments

Comments
 (0)