mirror of https://github.com/halo-dev/halo
Move theme config handler to new package
parent
76b3310027
commit
5ebf5653f3
|
@ -1,7 +1,7 @@
|
|||
package run.halo.app.handler.theme;
|
||||
package run.halo.app.handler.theme.config;
|
||||
|
||||
import org.springframework.lang.NonNull;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
|
@ -1,10 +1,10 @@
|
|||
package run.halo.app.handler.theme;
|
||||
package run.halo.app.handler.theme.config;
|
||||
|
||||
import org.springframework.lang.NonNull;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.stereotype.Component;
|
||||
import run.halo.app.handler.theme.impl.YamlThemeConfigResolverImpl;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.config.impl.YamlThemeConfigResolverImpl;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
|
@ -1,7 +1,7 @@
|
|||
package run.halo.app.handler.theme;
|
||||
package run.halo.app.handler.theme.config;
|
||||
|
||||
import org.springframework.lang.NonNull;
|
||||
import run.halo.app.handler.theme.support.ThemeProperty;
|
||||
import run.halo.app.handler.theme.config.support.ThemeProperty;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
package run.halo.app.handler.theme.impl;
|
||||
package run.halo.app.handler.theme.config.impl;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.stereotype.Service;
|
||||
import run.halo.app.handler.theme.ThemeConfigResolver;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.support.Item;
|
||||
import run.halo.app.handler.theme.support.Option;
|
||||
import run.halo.app.handler.theme.config.ThemeConfigResolver;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
import run.halo.app.handler.theme.config.support.Item;
|
||||
import run.halo.app.handler.theme.config.support.Option;
|
||||
import run.halo.app.model.enums.DataType;
|
||||
import run.halo.app.model.enums.InputType;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package run.halo.app.handler.theme.impl;
|
||||
package run.halo.app.handler.theme.config.impl;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.Assert;
|
||||
import run.halo.app.handler.theme.ThemePropertyResolver;
|
||||
import run.halo.app.handler.theme.support.ThemeProperty;
|
||||
import run.halo.app.handler.theme.config.ThemePropertyResolver;
|
||||
import run.halo.app.handler.theme.config.support.ThemeProperty;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package run.halo.app.handler.theme.impl;
|
||||
package run.halo.app.handler.theme.config.impl;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
|
||||
import org.junit.Test;
|
||||
import run.halo.app.handler.theme.support.ThemeProperty;
|
||||
import run.halo.app.handler.theme.config.support.ThemeProperty;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package run.halo.app.handler.theme.support;
|
||||
package run.halo.app.handler.theme.config.support;
|
||||
|
||||
import lombok.Data;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package run.halo.app.handler.theme.support;
|
||||
package run.halo.app.handler.theme.config.support;
|
||||
|
||||
import lombok.Data;
|
||||
import run.halo.app.model.enums.DataType;
|
|
@ -1,4 +1,4 @@
|
|||
package run.halo.app.handler.theme.support;
|
||||
package run.halo.app.handler.theme.config.support;
|
||||
|
||||
import lombok.Data;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package run.halo.app.handler.theme.support;
|
||||
package run.halo.app.handler.theme.config.support;
|
||||
|
||||
import lombok.Data;
|
||||
|
|
@ -2,8 +2,8 @@ package run.halo.app.service;
|
|||
|
||||
import org.springframework.lang.NonNull;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.support.ThemeProperty;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
import run.halo.app.handler.theme.config.support.ThemeProperty;
|
||||
import run.halo.app.model.support.ThemeFile;
|
||||
|
||||
import java.io.File;
|
||||
|
|
|
@ -19,10 +19,10 @@ import org.springframework.web.multipart.MultipartFile;
|
|||
import run.halo.app.cache.StringCacheStore;
|
||||
import run.halo.app.config.properties.HaloProperties;
|
||||
import run.halo.app.exception.*;
|
||||
import run.halo.app.handler.theme.ThemeConfigResolver;
|
||||
import run.halo.app.handler.theme.ThemePropertyResolver;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.support.ThemeProperty;
|
||||
import run.halo.app.handler.theme.config.ThemeConfigResolver;
|
||||
import run.halo.app.handler.theme.config.ThemePropertyResolver;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
import run.halo.app.handler.theme.config.support.ThemeProperty;
|
||||
import run.halo.app.model.properties.PrimaryProperties;
|
||||
import run.halo.app.model.support.HaloConst;
|
||||
import run.halo.app.model.support.ThemeFile;
|
||||
|
|
|
@ -3,10 +3,10 @@ package run.halo.app.web.controller.admin.api;
|
|||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
import run.halo.app.model.support.BaseResponse;
|
||||
import run.halo.app.model.support.ThemeFile;
|
||||
import run.halo.app.handler.theme.support.ThemeProperty;
|
||||
import run.halo.app.handler.theme.config.support.ThemeProperty;
|
||||
import run.halo.app.service.ThemeService;
|
||||
import run.halo.app.service.ThemeSettingService;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package run.halo.app.utils;
|
||||
|
||||
import org.junit.Test;
|
||||
import run.halo.app.handler.theme.support.Group;
|
||||
import run.halo.app.handler.theme.impl.YamlThemeConfigResolverImpl;
|
||||
import run.halo.app.handler.theme.config.support.Group;
|
||||
import run.halo.app.handler.theme.config.impl.YamlThemeConfigResolverImpl;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
|
Loading…
Reference in New Issue