Skip to content

Commit 6ff6ae6

Browse files
committed

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

polycode/model.go

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,22 @@ type ClientEnv struct {
110110
}
111111

112112
type ContextMeta struct {
113+
OrgId string `json:"orgId"`
114+
EnvId string `json:"envId"`
115+
AppName string `json:"appName"`
116+
AppId string `json:"appId"`
117+
TenantId string `json:"tenantId"`
118+
PartitionKey string `json:"partitionKey"`
119+
TaskGroup string `json:"taskGroup"`
120+
TaskName string `json:"taskName"`
121+
TaskId string `json:"taskId"`
122+
ParentId string `json:"parentId"`
123+
TraceId string `json:"traceId"`
124+
InputId string `json:"inputId"`
125+
Caller CallerContextMeta `json:"caller"`
126+
}
127+
128+
type CallerContextMeta struct {
113129
OrgId string `json:"orgId"`
114130
EnvId string `json:"envId"`
115131
AppName string `json:"appName"`
@@ -119,7 +135,4 @@ type ContextMeta struct {
119135
TaskGroup string `json:"taskGroup"`
120136
TaskName string `json:"taskName"`
121137
TaskId string `json:"taskId"`
122-
ParentId string `json:"parentId"`
123-
TraceId string `json:"traceId"`
124-
InputId string `json:"inputId"`
125138
}

0 commit comments

Comments
 (0)