mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
updating code layout
This commit is contained in:
parent
660d83e3bd
commit
1b10c82ecc
@ -1,18 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
import (
|
|
||||||
"os"
|
|
||||||
)
|
|
||||||
|
|
||||||
type AccountsImportBody struct {
|
|
||||||
|
|
||||||
FileName **os.File `json:"fileName,omitempty"`
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type Announce struct {
|
|
||||||
|
|
||||||
AppToken string `json:"appToken"`
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type App struct {
|
|
||||||
|
|
||||||
AppId string `json:"appId"`
|
|
||||||
|
|
||||||
AppData *AppData `json:"appData"`
|
|
||||||
|
|
||||||
Attached int32 `json:"attached"`
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type AppData struct {
|
|
||||||
|
|
||||||
Name string `json:"name,omitempty"`
|
|
||||||
|
|
||||||
Description string `json:"description,omitempty"`
|
|
||||||
|
|
||||||
Url string `json:"url,omitempty"`
|
|
||||||
|
|
||||||
Image string `json:"image,omitempty"`
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type Article struct {
|
|
||||||
|
|
||||||
ArticleId string `json:"articleId"`
|
|
||||||
|
|
||||||
ArticleRevision int64 `json:"articleRevision"`
|
|
||||||
|
|
||||||
Type_ string `json:"type"`
|
|
||||||
|
|
||||||
Data string `json:"data"`
|
|
||||||
|
|
||||||
Created int32 `json:"created"`
|
|
||||||
|
|
||||||
Modified int32 `json:"modified"`
|
|
||||||
|
|
||||||
Status string `json:"status"`
|
|
||||||
|
|
||||||
Labels []string `json:"labels"`
|
|
||||||
|
|
||||||
Groups []string `json:"groups,omitempty"`
|
|
||||||
|
|
||||||
TagCount int32 `json:"tagCount"`
|
|
||||||
|
|
||||||
TagUpdate int32 `json:"tagUpdate,omitempty"`
|
|
||||||
|
|
||||||
TagRevision int64 `json:"tagRevision"`
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
import (
|
|
||||||
"os"
|
|
||||||
)
|
|
||||||
|
|
||||||
type ArticleIdAssetsBody struct {
|
|
||||||
|
|
||||||
FileName **os.File `json:"fileName,omitempty"`
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
/*
|
|
||||||
* DataBag
|
|
||||||
*
|
|
||||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
|
||||||
*
|
|
||||||
* API version: 0.0.1
|
|
||||||
* Contact: roland.osborne@gmail.com
|
|
||||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
||||||
*/
|
|
||||||
package databag
|
|
||||||
|
|
||||||
type ArticleIdSubjectBody struct {
|
|
||||||
|
|
||||||
Type_ string `json:"type"`
|
|
||||||
|
|
||||||
Data string `json:"data"`
|
|
||||||
}
|
|
@ -1,5 +1,9 @@
|
|||||||
package databag
|
package databag
|
||||||
|
|
||||||
|
import (
|
||||||
|
"os"
|
||||||
|
)
|
||||||
|
|
||||||
type Account struct {
|
type Account struct {
|
||||||
AccountId string `json:"accountId"`
|
AccountId string `json:"accountId"`
|
||||||
Profile *Profile `json:"profile"`
|
Profile *Profile `json:"profile"`
|
||||||
@ -13,3 +17,49 @@ type AccountStatus struct {
|
|||||||
ForwardingAddress string `json:"forwardingAddress"`
|
ForwardingAddress string `json:"forwardingAddress"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AccountsImportBody struct {
|
||||||
|
FileName **os.File `json:"fileName,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Announce struct {
|
||||||
|
AppToken string `json:"appToken"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type App struct {
|
||||||
|
AppId string `json:"appId"`
|
||||||
|
AppData *AppData `json:"appData"`
|
||||||
|
Attached int32 `json:"attached"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type AppData struct {
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
|
Description string `json:"description,omitempty"`
|
||||||
|
Url string `json:"url,omitempty"`
|
||||||
|
Image string `json:"image,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Article struct {
|
||||||
|
ArticleId string `json:"articleId"`
|
||||||
|
ArticleRevision int64 `json:"articleRevision"`
|
||||||
|
Type_ string `json:"type"`
|
||||||
|
Data string `json:"data"`
|
||||||
|
Created int32 `json:"created"`
|
||||||
|
Modified int32 `json:"modified"`
|
||||||
|
Status string `json:"status"`
|
||||||
|
Labels []string `json:"labels"`
|
||||||
|
Groups []string `json:"groups,omitempty"`
|
||||||
|
TagCount int32 `json:"tagCount"`
|
||||||
|
TagUpdate int32 `json:"tagUpdate,omitempty"`
|
||||||
|
TagRevision int64 `json:"tagRevision"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ArticleIdAssetsBody struct {
|
||||||
|
FileName **os.File `json:"fileName,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ArticleIdSubjectBody struct {
|
||||||
|
Type_ string `json:"type"`
|
||||||
|
Data string `json:"data"`
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user