Commit dfb45273 authored by Bert T.'s avatar Bert T.

ShopPage fixes

parent 565eda6f
......@@ -5,7 +5,7 @@
<parent>
<groupId>co.melondev</groupId>
<artifactId>CubedPay</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</parent>
<artifactId>CubedPay-bukkit</artifactId>
......@@ -21,7 +21,7 @@
<dependency>
<groupId>co.melondev</groupId>
<artifactId>CubedPay-common</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>co.melondev</groupId>
<artifactId>CubedPay</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</parent>
<artifactId>CubedPay-bungeecord</artifactId>
......@@ -21,7 +21,7 @@
<dependency>
<groupId>co.melondev</groupId>
<artifactId>CubedPay-common</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</dependency>
<dependency>
<groupId>net.md-5</groupId>
......
......@@ -6,7 +6,7 @@
<parent>
<groupId>co.melondev</groupId>
<artifactId>CubedPay</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</parent>
<artifactId>CubedPay-common</artifactId>
......
......@@ -123,10 +123,10 @@ public interface CubedPayShopAPI {
CompletableFuture<ShopPage> getPage(@Path("sid") String shopId, @Path("pid") String pageId);
@POST("/shop/{sid}/page")
CompletableFuture<ShopPage> createPage(@Path("sid") String shopId, @Query("name") String name, @Query("description") String description, @Query("public") boolean isPublic, @Query("type") ShopPage.Type type, @Query("display") ShopPage.Display display, @Query("order") int order, @Query("meta") ShopPage.Meta pageMeta);
CompletableFuture<ShopPage> createPage(@Path("sid") String shopId, @Query("name") String name, @Query("description") String description, @Query("public") boolean isPublic, @Query("type") ShopPage.Type type, @Query("display") ShopPage.Display display, @Query("order") int order, @Query("meta") String pageMeta);
@PATCH("/shop/{sid}/page/{pid}")
CompletableFuture<ShopPage> updatePage(@Path("sid") String shopId, @Path("pid") String pageId, @Query("name") String name, @Query("description") String description, @Query("public") boolean isPublic, @Query("type") ShopPage.Type type, @Query("display") ShopPage.Display display, @Query("order") int order, @Query("meta") ShopPage.Meta pageMeta);
CompletableFuture<ShopPage> updatePage(@Path("sid") String shopId, @Path("pid") String pageId, @Query("name") String name, @Query("description") String description, @Query("public") boolean isPublic, @Query("type") ShopPage.Type type, @Query("display") ShopPage.Display display, @Query("order") int order, @Query("meta") String pageMeta);
@DELETE("/shop/{sid}/page/{pid}")
CompletableFuture<DeleteConfirmation> deletePage(@Path("sid") String shopId, @Path("pid") String pageId);
......
......@@ -66,7 +66,7 @@ public class ShopPage {
private Display display;
private int order;
private String icon;
private Meta meta;
private String meta;
public String getId() {
return id;
......@@ -100,7 +100,7 @@ public class ShopPage {
return icon;
}
public Meta getMeta() {
public String getMeta() {
return meta;
}
......
......@@ -4,7 +4,7 @@
<groupId>co.melondev</groupId>
<artifactId>CubedPay</artifactId>
<version>0.6</version>
<version>0.6.1</version>
<packaging>pom</packaging>
<properties>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>co.melondev</groupId>
<artifactId>CubedPay</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</parent>
<artifactId>CubedPay-sponge</artifactId>
......@@ -21,7 +21,7 @@
<dependency>
<groupId>co.melondev</groupId>
<artifactId>CubedPay-common</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</dependency>
<dependency>
<groupId>org.spongepowered</groupId>
......
......@@ -19,7 +19,7 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@Plugin(id = "cubedpayplugin", name = "CubedPayPlugin", version = "0.6", authors = {"Melon Development"}, url = "https://cubedpay.com/")
@Plugin(id = "cubedpayplugin", name = "CubedPayPlugin", version = "0.6.1", authors = {"Melon Development"}, url = "https://cubedpay.com/")
public class CubedPayPlugin {
private static CubedPayAPI api;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment