Skip to content

Commit

Permalink
fix: missing update project company info (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
namnhce authored Aug 23, 2024
1 parent f96211c commit 013241f
Show file tree
Hide file tree
Showing 7 changed files with 166 additions and 94 deletions.
92 changes: 58 additions & 34 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7448,6 +7448,9 @@ const docTemplate = `{
"$ref": "#/definitions/ClientContact"
}
},
"country": {
"type": "string"
},
"description": {
"type": "string"
},
Expand Down Expand Up @@ -8446,6 +8449,37 @@ const docTemplate = `{
}
}
},
"DiscordResearchTopic": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"name": {
"type": "string"
},
"sortedActiveUsers": {
"type": "array",
"items": {
"$ref": "#/definitions/DiscordTopicActiveUser"
}
},
"url": {
"type": "string"
}
}
},
"DiscordTopicActiveUser": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
"Domain": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -8651,7 +8685,11 @@ const docTemplate = `{
},
"status": {
"description": "working info",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/WorkingStatus"
}
]
},
"teamEmail": {
"type": "string"
Expand Down Expand Up @@ -9746,7 +9784,7 @@ const docTemplate = `{
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/pkg_view.DiscordResearchTopic"
"$ref": "#/definitions/DiscordResearchTopic"
}
},
"page": {
Expand Down Expand Up @@ -12705,7 +12743,7 @@ const docTemplate = `{
"type": "object",
"properties": {
"employeeStatus": {
"type": "string"
"$ref": "#/definitions/WorkingStatus"
}
}
},
Expand Down Expand Up @@ -13174,6 +13212,23 @@ const docTemplate = `{
"WorkUnitTypeLearning"
]
},
"WorkingStatus": {
"type": "string",
"enum": [
"on-boarding",
"left",
"probation",
"full-time",
"contractor"
],
"x-enum-varnames": [
"WorkingStatusOnBoarding",
"WorkingStatusLeft",
"WorkingStatusProbation",
"WorkingStatusFullTime",
"WorkingStatusContractor"
]
},
"github_com_dwarvesf_fortress-api_pkg_model.SortOrder": {
"type": "string",
"enum": [
Expand All @@ -13184,37 +13239,6 @@ const docTemplate = `{
"SortOrderASC",
"SortOrderDESC"
]
},
"pkg_view.DiscordResearchTopic": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"name": {
"type": "string"
},
"sortedActiveUsers": {
"type": "array",
"items": {
"$ref": "#/definitions/pkg_view.DiscordTopicActiveUser"
}
},
"url": {
"type": "string"
}
}
},
"pkg_view.DiscordTopicActiveUser": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
}
},
"securityDefinitions": {
Expand Down
92 changes: 58 additions & 34 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7441,6 +7441,9 @@
"$ref": "#/definitions/ClientContact"
}
},
"country": {
"type": "string"
},
"description": {
"type": "string"
},
Expand Down Expand Up @@ -8439,6 +8442,37 @@
}
}
},
"DiscordResearchTopic": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"name": {
"type": "string"
},
"sortedActiveUsers": {
"type": "array",
"items": {
"$ref": "#/definitions/DiscordTopicActiveUser"
}
},
"url": {
"type": "string"
}
}
},
"DiscordTopicActiveUser": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
"Domain": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -8644,7 +8678,11 @@
},
"status": {
"description": "working info",
"type": "string"
"allOf": [
{
"$ref": "#/definitions/WorkingStatus"
}
]
},
"teamEmail": {
"type": "string"
Expand Down Expand Up @@ -9739,7 +9777,7 @@
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/pkg_view.DiscordResearchTopic"
"$ref": "#/definitions/DiscordResearchTopic"
}
},
"page": {
Expand Down Expand Up @@ -12698,7 +12736,7 @@
"type": "object",
"properties": {
"employeeStatus": {
"type": "string"
"$ref": "#/definitions/WorkingStatus"
}
}
},
Expand Down Expand Up @@ -13167,6 +13205,23 @@
"WorkUnitTypeLearning"
]
},
"WorkingStatus": {
"type": "string",
"enum": [
"on-boarding",
"left",
"probation",
"full-time",
"contractor"
],
"x-enum-varnames": [
"WorkingStatusOnBoarding",
"WorkingStatusLeft",
"WorkingStatusProbation",
"WorkingStatusFullTime",
"WorkingStatusContractor"
]
},
"github_com_dwarvesf_fortress-api_pkg_model.SortOrder": {
"type": "string",
"enum": [
Expand All @@ -13177,37 +13232,6 @@
"SortOrderASC",
"SortOrderDESC"
]
},
"pkg_view.DiscordResearchTopic": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"name": {
"type": "string"
},
"sortedActiveUsers": {
"type": "array",
"items": {
"$ref": "#/definitions/pkg_view.DiscordTopicActiveUser"
}
},
"url": {
"type": "string"
}
}
},
"pkg_view.DiscordTopicActiveUser": {
"type": "object",
"properties": {
"msgCount": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
}
},
"securityDefinitions": {
Expand Down
63 changes: 40 additions & 23 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ definitions:
items:
$ref: '#/definitions/ClientContact'
type: array
country:
type: string
description:
type: string
id:
Expand Down Expand Up @@ -1082,6 +1084,26 @@ definitions:
type: string
type: array
type: object
DiscordResearchTopic:
properties:
msgCount:
type: integer
name:
type: string
sortedActiveUsers:
items:
$ref: '#/definitions/DiscordTopicActiveUser'
type: array
url:
type: string
type: object
DiscordTopicActiveUser:
properties:
msgCount:
type: integer
userID:
type: string
type: object
Domain:
properties:
average:
Expand Down Expand Up @@ -1217,8 +1239,9 @@ definitions:
$ref: '#/definitions/Stack'
type: array
status:
allOf:
- $ref: '#/definitions/WorkingStatus'
description: working info
type: string
teamEmail:
type: string
updatedAt:
Expand Down Expand Up @@ -1935,7 +1958,7 @@ definitions:
properties:
data:
items:
$ref: '#/definitions/pkg_view.DiscordResearchTopic'
$ref: '#/definitions/DiscordResearchTopic'
type: array
page:
description: page index
Expand Down Expand Up @@ -3911,7 +3934,7 @@ definitions:
UpdateWorkingStatusRequest:
properties:
employeeStatus:
type: string
$ref: '#/definitions/WorkingStatus'
type: object
UpdatedProject:
properties:
Expand Down Expand Up @@ -4219,6 +4242,20 @@ definitions:
- WorkUnitTypeManagement
- WorkUnitTypeTraining
- WorkUnitTypeLearning
WorkingStatus:
enum:
- on-boarding
- left
- probation
- full-time
- contractor
type: string
x-enum-varnames:
- WorkingStatusOnBoarding
- WorkingStatusLeft
- WorkingStatusProbation
- WorkingStatusFullTime
- WorkingStatusContractor
github_com_dwarvesf_fortress-api_pkg_model.SortOrder:
enum:
- asc
Expand All @@ -4227,26 +4264,6 @@ definitions:
x-enum-varnames:
- SortOrderASC
- SortOrderDESC
pkg_view.DiscordResearchTopic:
properties:
msgCount:
type: integer
name:
type: string
sortedActiveUsers:
items:
$ref: '#/definitions/pkg_view.DiscordTopicActiveUser'
type: array
url:
type: string
type: object
pkg_view.DiscordTopicActiveUser:
properties:
msgCount:
type: integer
userID:
type: string
type: object
info:
contact:
email: [email protected]
Expand Down
Loading

0 comments on commit 013241f

Please sign in to comment.