shred-api-client 2.2.4-rc.5 → 2.2.4-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +32 -31
- package/dist/index.d.ts +32 -31
- package/dist/index.js +117 -115
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +117 -115
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1627,37 +1627,6 @@ type Approve = {
|
|
|
1627
1627
|
type Project = z.infer<typeof ProjectSchema>;
|
|
1628
1628
|
type TimelineItem = z.infer<typeof TimelineItemSchema>;
|
|
1629
1629
|
type Feedback = z.infer<typeof FeedbackSchema>;
|
|
1630
|
-
type StatusConfigType = {
|
|
1631
|
-
id: Status$1;
|
|
1632
|
-
label: string;
|
|
1633
|
-
colors: {
|
|
1634
|
-
text: string;
|
|
1635
|
-
bg: string;
|
|
1636
|
-
border: string;
|
|
1637
|
-
dot: string;
|
|
1638
|
-
};
|
|
1639
|
-
thumbnail: {
|
|
1640
|
-
primary: string;
|
|
1641
|
-
secondary: string;
|
|
1642
|
-
};
|
|
1643
|
-
icons: {
|
|
1644
|
-
mobile: {
|
|
1645
|
-
primary: string;
|
|
1646
|
-
secondary: string;
|
|
1647
|
-
};
|
|
1648
|
-
web: {
|
|
1649
|
-
name: string;
|
|
1650
|
-
iconColor: string;
|
|
1651
|
-
bgColor: string;
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
progress: {
|
|
1655
|
-
primary: string;
|
|
1656
|
-
secondary: string;
|
|
1657
|
-
border: string;
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
declare const StatusConfig: Record<Status$1, StatusConfigType>;
|
|
1661
1630
|
|
|
1662
1631
|
interface IAPI$4 {
|
|
1663
1632
|
reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
|
|
@@ -1750,6 +1719,38 @@ declare const Endpoints$3: {
|
|
|
1750
1719
|
};
|
|
1751
1720
|
};
|
|
1752
1721
|
|
|
1722
|
+
type StatusConfigType = {
|
|
1723
|
+
id: Status$1;
|
|
1724
|
+
label: string;
|
|
1725
|
+
colors: {
|
|
1726
|
+
text: string;
|
|
1727
|
+
bg: string;
|
|
1728
|
+
border: string;
|
|
1729
|
+
dot: string;
|
|
1730
|
+
};
|
|
1731
|
+
thumbnail: {
|
|
1732
|
+
primary: string;
|
|
1733
|
+
secondary: string;
|
|
1734
|
+
};
|
|
1735
|
+
icons: {
|
|
1736
|
+
mobile: {
|
|
1737
|
+
primary: string;
|
|
1738
|
+
secondary: string;
|
|
1739
|
+
};
|
|
1740
|
+
web: {
|
|
1741
|
+
name: string;
|
|
1742
|
+
iconColor: string;
|
|
1743
|
+
bgColor: string;
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
progress: {
|
|
1747
|
+
primary: string;
|
|
1748
|
+
secondary: string;
|
|
1749
|
+
border: string;
|
|
1750
|
+
};
|
|
1751
|
+
};
|
|
1752
|
+
declare const StatusConfig: Record<Status$1, StatusConfigType>;
|
|
1753
|
+
|
|
1753
1754
|
type index$5_Approve = Approve;
|
|
1754
1755
|
type index$5_CaptionStyle = CaptionStyle;
|
|
1755
1756
|
declare const index$5_CaptionStyle: typeof CaptionStyle;
|
package/dist/index.d.ts
CHANGED
|
@@ -1627,37 +1627,6 @@ type Approve = {
|
|
|
1627
1627
|
type Project = z.infer<typeof ProjectSchema>;
|
|
1628
1628
|
type TimelineItem = z.infer<typeof TimelineItemSchema>;
|
|
1629
1629
|
type Feedback = z.infer<typeof FeedbackSchema>;
|
|
1630
|
-
type StatusConfigType = {
|
|
1631
|
-
id: Status$1;
|
|
1632
|
-
label: string;
|
|
1633
|
-
colors: {
|
|
1634
|
-
text: string;
|
|
1635
|
-
bg: string;
|
|
1636
|
-
border: string;
|
|
1637
|
-
dot: string;
|
|
1638
|
-
};
|
|
1639
|
-
thumbnail: {
|
|
1640
|
-
primary: string;
|
|
1641
|
-
secondary: string;
|
|
1642
|
-
};
|
|
1643
|
-
icons: {
|
|
1644
|
-
mobile: {
|
|
1645
|
-
primary: string;
|
|
1646
|
-
secondary: string;
|
|
1647
|
-
};
|
|
1648
|
-
web: {
|
|
1649
|
-
name: string;
|
|
1650
|
-
iconColor: string;
|
|
1651
|
-
bgColor: string;
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
progress: {
|
|
1655
|
-
primary: string;
|
|
1656
|
-
secondary: string;
|
|
1657
|
-
border: string;
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
declare const StatusConfig: Record<Status$1, StatusConfigType>;
|
|
1661
1630
|
|
|
1662
1631
|
interface IAPI$4 {
|
|
1663
1632
|
reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
|
|
@@ -1750,6 +1719,38 @@ declare const Endpoints$3: {
|
|
|
1750
1719
|
};
|
|
1751
1720
|
};
|
|
1752
1721
|
|
|
1722
|
+
type StatusConfigType = {
|
|
1723
|
+
id: Status$1;
|
|
1724
|
+
label: string;
|
|
1725
|
+
colors: {
|
|
1726
|
+
text: string;
|
|
1727
|
+
bg: string;
|
|
1728
|
+
border: string;
|
|
1729
|
+
dot: string;
|
|
1730
|
+
};
|
|
1731
|
+
thumbnail: {
|
|
1732
|
+
primary: string;
|
|
1733
|
+
secondary: string;
|
|
1734
|
+
};
|
|
1735
|
+
icons: {
|
|
1736
|
+
mobile: {
|
|
1737
|
+
primary: string;
|
|
1738
|
+
secondary: string;
|
|
1739
|
+
};
|
|
1740
|
+
web: {
|
|
1741
|
+
name: string;
|
|
1742
|
+
iconColor: string;
|
|
1743
|
+
bgColor: string;
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
progress: {
|
|
1747
|
+
primary: string;
|
|
1748
|
+
secondary: string;
|
|
1749
|
+
border: string;
|
|
1750
|
+
};
|
|
1751
|
+
};
|
|
1752
|
+
declare const StatusConfig: Record<Status$1, StatusConfigType>;
|
|
1753
|
+
|
|
1753
1754
|
type index$5_Approve = Approve;
|
|
1754
1755
|
type index$5_CaptionStyle = CaptionStyle;
|
|
1755
1756
|
declare const index$5_CaptionStyle: typeof CaptionStyle;
|
package/dist/index.js
CHANGED
|
@@ -982,252 +982,254 @@ var ProjectSchema = import_zod4.z.object({
|
|
|
982
982
|
tenantId: import_zod4.z.string().optional(),
|
|
983
983
|
status: import_zod4.z.nativeEnum(Status2)
|
|
984
984
|
});
|
|
985
|
+
|
|
986
|
+
// src/model/project/Project.api.ts
|
|
987
|
+
var Endpoints3 = {
|
|
988
|
+
Reorder: { uri: "/projects/reorder/", method: "POST" },
|
|
989
|
+
List: { uri: "/projects/list", method: "GET" },
|
|
990
|
+
GetNext: { uri: "/projects/:userId/next", method: "GET" },
|
|
991
|
+
CreateProject: { uri: "/projects/create", method: "POST" },
|
|
992
|
+
FindOne: { uri: `/projects/:projectId/`, method: "GET" },
|
|
993
|
+
GetGoals: { uri: `/projects/goals/list/`, method: "GET" },
|
|
994
|
+
Review: { uri: "/projects/:projectId/review/", method: "POST" },
|
|
995
|
+
Cancel: { uri: "/projects/:projectId/cancel/", method: "DELETE" },
|
|
996
|
+
StartEdition: { uri: "/projects/edition/start/", method: "PUT" },
|
|
997
|
+
SendToApproval: {
|
|
998
|
+
uri: "/projects/:projectId/sendToApproval/",
|
|
999
|
+
method: "PUT"
|
|
1000
|
+
},
|
|
1001
|
+
IsEligibleForFreeProject: {
|
|
1002
|
+
uri: "/projects/free/allowed/",
|
|
1003
|
+
method: "GET"
|
|
1004
|
+
},
|
|
1005
|
+
Approve: { uri: "/projects/:projectId/approve/", method: "POST" },
|
|
1006
|
+
Unschedule: { uri: "/projects/:projectId/unschedule/", method: "POST" },
|
|
1007
|
+
Rollback: { uri: "/projects/:projectId/rollback/", method: "POST" },
|
|
1008
|
+
Deny: { uri: "/projects/:projectId/deny/", method: "POST" },
|
|
1009
|
+
GetUserHistory: { uri: "/projects/user/:userId/history/", method: "GET" },
|
|
1010
|
+
GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
// src/model/project/StatusConfig.ts
|
|
985
1014
|
var StatusConfig = {
|
|
986
1015
|
[0 /* SUBMITTED */]: {
|
|
987
1016
|
id: 0 /* SUBMITTED */,
|
|
988
1017
|
label: "Submitted",
|
|
989
1018
|
colors: {
|
|
990
|
-
text: "text-
|
|
991
|
-
bg: "bg-
|
|
992
|
-
border: "border-
|
|
993
|
-
dot: "bg-
|
|
1019
|
+
text: "text-[#854D0E]",
|
|
1020
|
+
bg: "bg-[#FEF9C3]",
|
|
1021
|
+
border: "border-[#FEF08A]",
|
|
1022
|
+
dot: "bg-[#A16207]"
|
|
994
1023
|
},
|
|
995
1024
|
thumbnail: {
|
|
996
|
-
primary: "bg-
|
|
997
|
-
secondary: "bg-
|
|
1025
|
+
primary: "bg-[#FDE047]",
|
|
1026
|
+
secondary: "bg-[#FEFCE8]"
|
|
998
1027
|
},
|
|
999
1028
|
icons: {
|
|
1000
1029
|
mobile: { primary: "#FACC15", secondary: "#FEF9C3" },
|
|
1001
1030
|
web: {
|
|
1002
1031
|
name: "Share",
|
|
1003
|
-
iconColor: "text-
|
|
1004
|
-
bgColor: "bg-
|
|
1032
|
+
iconColor: "text-[#713F12]",
|
|
1033
|
+
bgColor: "bg-[#FEF08A]"
|
|
1005
1034
|
}
|
|
1006
1035
|
},
|
|
1007
1036
|
progress: {
|
|
1008
|
-
primary: "bg-
|
|
1009
|
-
secondary: "bg-
|
|
1010
|
-
border: "border-
|
|
1037
|
+
primary: "bg-[#FACC15]",
|
|
1038
|
+
secondary: "bg-[#FEFCE8]",
|
|
1039
|
+
border: "border-[#FEF9C3]"
|
|
1011
1040
|
}
|
|
1012
1041
|
},
|
|
1013
1042
|
[1 /* EDITING */]: {
|
|
1014
1043
|
id: 1 /* EDITING */,
|
|
1015
1044
|
label: "In Progress",
|
|
1016
1045
|
colors: {
|
|
1017
|
-
text: "text-
|
|
1018
|
-
bg: "bg-
|
|
1019
|
-
border: "border-
|
|
1020
|
-
dot: "bg-
|
|
1046
|
+
text: "text-[#7C3AED]",
|
|
1047
|
+
bg: "bg-[#F5F3FF]",
|
|
1048
|
+
border: "border-[#DDD6FE]",
|
|
1049
|
+
dot: "bg-[#7C3AED]"
|
|
1021
1050
|
},
|
|
1022
1051
|
thumbnail: {
|
|
1023
|
-
primary: "bg-
|
|
1024
|
-
secondary: "bg-
|
|
1052
|
+
primary: "bg-[#C4B5FD]",
|
|
1053
|
+
secondary: "bg-[#F5F3FF]"
|
|
1025
1054
|
},
|
|
1026
1055
|
icons: {
|
|
1027
1056
|
mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
|
|
1028
1057
|
web: {
|
|
1029
1058
|
name: "Hourglass",
|
|
1030
|
-
iconColor: "text-
|
|
1031
|
-
bgColor: "bg-
|
|
1059
|
+
iconColor: "text-[#7C3AED]",
|
|
1060
|
+
bgColor: "bg-[#DDD6FE]"
|
|
1032
1061
|
}
|
|
1033
1062
|
},
|
|
1034
1063
|
progress: {
|
|
1035
|
-
primary: "bg-
|
|
1036
|
-
secondary: "bg-
|
|
1037
|
-
border: "border-
|
|
1064
|
+
primary: "bg-[#C4B5FD]",
|
|
1065
|
+
secondary: "bg-[#F5F3FF]",
|
|
1066
|
+
border: "border-[#EDE9FE]"
|
|
1038
1067
|
}
|
|
1039
1068
|
},
|
|
1040
1069
|
[3 /* WAITING_APPROVE */]: {
|
|
1041
1070
|
id: 3 /* WAITING_APPROVE */,
|
|
1042
1071
|
label: "Waiting Approval",
|
|
1043
1072
|
colors: {
|
|
1044
|
-
text: "text-
|
|
1045
|
-
bg: "bg-
|
|
1046
|
-
border: "border-
|
|
1047
|
-
dot: "bg-
|
|
1073
|
+
text: "text-[#C2410C]",
|
|
1074
|
+
bg: "bg-[#FFEDD5]",
|
|
1075
|
+
border: "border-[#FED7AA]",
|
|
1076
|
+
dot: "bg-[#EA580C]"
|
|
1048
1077
|
},
|
|
1049
1078
|
thumbnail: {
|
|
1050
|
-
primary: "bg-
|
|
1051
|
-
secondary: "bg-
|
|
1079
|
+
primary: "bg-[#C4B5FD]",
|
|
1080
|
+
secondary: "bg-[#F5F3FF]"
|
|
1052
1081
|
},
|
|
1053
1082
|
icons: {
|
|
1054
1083
|
mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
|
|
1055
1084
|
web: {
|
|
1056
1085
|
name: "Clock",
|
|
1057
|
-
iconColor: "text-
|
|
1058
|
-
bgColor: "bg-
|
|
1086
|
+
iconColor: "text-[#C2410C]",
|
|
1087
|
+
bgColor: "bg-[#FED7AA]"
|
|
1059
1088
|
}
|
|
1060
1089
|
},
|
|
1061
1090
|
progress: {
|
|
1062
|
-
primary: "bg-
|
|
1063
|
-
secondary: "bg-
|
|
1064
|
-
border: "border-
|
|
1091
|
+
primary: "bg-[#FDBA74]",
|
|
1092
|
+
secondary: "bg-[#FFF7ED]",
|
|
1093
|
+
border: "border-[#FFEDD5]"
|
|
1065
1094
|
}
|
|
1066
1095
|
},
|
|
1067
1096
|
[4 /* DENIED */]: {
|
|
1068
1097
|
id: 4 /* DENIED */,
|
|
1069
1098
|
label: "Denied",
|
|
1070
1099
|
colors: {
|
|
1071
|
-
text: "text-
|
|
1072
|
-
bg: "bg-
|
|
1073
|
-
border: "border-
|
|
1074
|
-
dot: "bg-
|
|
1100
|
+
text: "text-[#EF4444]",
|
|
1101
|
+
bg: "bg-[#FEE2E2]",
|
|
1102
|
+
border: "border-[#FECACA]",
|
|
1103
|
+
dot: "bg-[#EF4444]"
|
|
1075
1104
|
},
|
|
1076
1105
|
thumbnail: {
|
|
1077
|
-
primary: "bg-
|
|
1078
|
-
secondary: "bg-
|
|
1106
|
+
primary: "bg-[#C4B5FD]",
|
|
1107
|
+
secondary: "bg-[#F5F3FF]"
|
|
1079
1108
|
},
|
|
1080
1109
|
icons: {
|
|
1081
1110
|
mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
|
|
1082
1111
|
web: {
|
|
1083
1112
|
name: "CircleX",
|
|
1084
|
-
iconColor: "text-
|
|
1085
|
-
bgColor: "bg-
|
|
1113
|
+
iconColor: "text-[#EF4444]",
|
|
1114
|
+
bgColor: "bg-[#FECACA]"
|
|
1086
1115
|
}
|
|
1087
1116
|
},
|
|
1088
1117
|
progress: {
|
|
1089
|
-
primary: "bg-
|
|
1090
|
-
secondary: "bg-
|
|
1091
|
-
border: "border-
|
|
1118
|
+
primary: "bg-[#FCA5A5]",
|
|
1119
|
+
secondary: "bg-[#FEF2F2]",
|
|
1120
|
+
border: "border-[#FEE2E2]"
|
|
1092
1121
|
}
|
|
1093
1122
|
},
|
|
1094
1123
|
[7 /* SCHEDULED */]: {
|
|
1095
1124
|
id: 7 /* SCHEDULED */,
|
|
1096
1125
|
label: "Scheduled",
|
|
1097
1126
|
colors: {
|
|
1098
|
-
text: "text-
|
|
1099
|
-
bg: "bg-
|
|
1100
|
-
border: "border-
|
|
1101
|
-
dot: "bg-
|
|
1127
|
+
text: "text-[#3F6212]",
|
|
1128
|
+
bg: "bg-[#ECFCCB]",
|
|
1129
|
+
border: "border-[#D9F99D]",
|
|
1130
|
+
dot: "bg-[#4D7C0F]"
|
|
1102
1131
|
},
|
|
1103
1132
|
thumbnail: {
|
|
1104
|
-
primary: "bg-
|
|
1105
|
-
secondary: "bg-
|
|
1133
|
+
primary: "bg-[#C4B5FD]",
|
|
1134
|
+
secondary: "bg-[#F5F3FF]"
|
|
1106
1135
|
},
|
|
1107
1136
|
icons: {
|
|
1108
1137
|
mobile: { primary: "#A67EE7", secondary: "#C4A9EF" },
|
|
1109
1138
|
web: {
|
|
1110
1139
|
name: "CalendarRange",
|
|
1111
|
-
iconColor: "text-
|
|
1112
|
-
bgColor: "bg-
|
|
1140
|
+
iconColor: "text-[#3F6212]",
|
|
1141
|
+
bgColor: "bg-[#D9F99D]"
|
|
1113
1142
|
}
|
|
1114
1143
|
},
|
|
1115
1144
|
progress: {
|
|
1116
|
-
primary: "bg-
|
|
1117
|
-
secondary: "bg-
|
|
1118
|
-
border: "border-
|
|
1145
|
+
primary: "bg-[#BEF264]",
|
|
1146
|
+
secondary: "bg-[#F7FEE7]",
|
|
1147
|
+
border: "border-[#ECFCCB]"
|
|
1119
1148
|
}
|
|
1120
1149
|
},
|
|
1121
1150
|
[2 /* COMPLETED */]: {
|
|
1122
1151
|
id: 2 /* COMPLETED */,
|
|
1123
1152
|
label: "Completed",
|
|
1124
1153
|
colors: {
|
|
1125
|
-
text: "text-
|
|
1126
|
-
bg: "bg-
|
|
1127
|
-
border: "border-
|
|
1128
|
-
dot: "bg-
|
|
1154
|
+
text: "text-[#16A34A]",
|
|
1155
|
+
bg: "bg-[#F0FDF4]",
|
|
1156
|
+
border: "border-[#DCFCE7]",
|
|
1157
|
+
dot: "bg-[#16A34A]"
|
|
1129
1158
|
},
|
|
1130
1159
|
thumbnail: {
|
|
1131
|
-
primary: "bg-
|
|
1132
|
-
secondary: "bg-
|
|
1160
|
+
primary: "bg-[#86EFAC]",
|
|
1161
|
+
secondary: "bg-[#F0FDF4]"
|
|
1133
1162
|
},
|
|
1134
1163
|
icons: {
|
|
1135
1164
|
mobile: { primary: "#22C55E", secondary: "#BBF7D0" },
|
|
1136
1165
|
web: {
|
|
1137
1166
|
name: "CircleCheck",
|
|
1138
|
-
iconColor: "text-
|
|
1139
|
-
bgColor: "bg-
|
|
1167
|
+
iconColor: "text-[#16A34A]",
|
|
1168
|
+
bgColor: "bg-[#DCFCE7]"
|
|
1140
1169
|
}
|
|
1141
1170
|
},
|
|
1142
1171
|
progress: {
|
|
1143
|
-
primary: "bg-
|
|
1144
|
-
secondary: "bg-
|
|
1145
|
-
border: "border-
|
|
1172
|
+
primary: "bg-[#4ADE80]",
|
|
1173
|
+
secondary: "bg-[#DCFCE7]",
|
|
1174
|
+
border: "border-[#BBF7D0]"
|
|
1146
1175
|
}
|
|
1147
1176
|
},
|
|
1148
1177
|
[5 /* REVISIONING */]: {
|
|
1149
1178
|
id: 5 /* REVISIONING */,
|
|
1150
1179
|
label: "Revisioning",
|
|
1151
1180
|
colors: {
|
|
1152
|
-
text: "text-
|
|
1153
|
-
bg: "bg-
|
|
1154
|
-
border: "border-
|
|
1155
|
-
dot: "bg-
|
|
1181
|
+
text: "text-[#0369A1]",
|
|
1182
|
+
bg: "bg-[#BAE6FD]",
|
|
1183
|
+
border: "border-[#7DD3FC]",
|
|
1184
|
+
dot: "bg-[#0369A1]"
|
|
1156
1185
|
},
|
|
1157
1186
|
thumbnail: {
|
|
1158
|
-
primary: "bg-
|
|
1159
|
-
secondary: "bg-
|
|
1187
|
+
primary: "bg-[#7DD3FC]",
|
|
1188
|
+
secondary: "bg-[#E0F2FE]"
|
|
1160
1189
|
},
|
|
1161
1190
|
icons: {
|
|
1162
1191
|
mobile: { primary: "#0EA5E9", secondary: "#7DD3FC" },
|
|
1163
1192
|
web: {
|
|
1164
1193
|
name: "FilePen",
|
|
1165
|
-
iconColor: "text-
|
|
1166
|
-
bgColor: "bg-
|
|
1194
|
+
iconColor: "text-[#0369A1]",
|
|
1195
|
+
bgColor: "bg-[#7DD3FC]"
|
|
1167
1196
|
}
|
|
1168
1197
|
},
|
|
1169
1198
|
progress: {
|
|
1170
|
-
primary: "bg-
|
|
1171
|
-
secondary: "bg-
|
|
1172
|
-
border: "border-
|
|
1199
|
+
primary: "bg-[#7DD3FC]",
|
|
1200
|
+
secondary: "bg-[#F0F9FF]",
|
|
1201
|
+
border: "border-[#E0F2FE]"
|
|
1173
1202
|
}
|
|
1174
1203
|
},
|
|
1175
1204
|
[6 /* CANCELLED */]: {
|
|
1176
1205
|
id: 6 /* CANCELLED */,
|
|
1177
1206
|
label: "Canceled",
|
|
1178
1207
|
colors: {
|
|
1179
|
-
text: "text-
|
|
1180
|
-
bg: "bg-
|
|
1181
|
-
border: "border-
|
|
1182
|
-
dot: "bg-
|
|
1208
|
+
text: "text-[#A3A3A3]",
|
|
1209
|
+
bg: "bg-[#F5F5F5]",
|
|
1210
|
+
border: "border-[#E5E5E5]",
|
|
1211
|
+
dot: "bg-[#A3A3A3]"
|
|
1183
1212
|
},
|
|
1184
1213
|
thumbnail: {
|
|
1185
|
-
primary: "bg-
|
|
1186
|
-
secondary: "bg-
|
|
1214
|
+
primary: "bg-[#D4D4D4]",
|
|
1215
|
+
secondary: "bg-[#FAFAFA]"
|
|
1187
1216
|
},
|
|
1188
1217
|
icons: {
|
|
1189
1218
|
mobile: { primary: "#6B7280", secondary: "#D1D5DB" },
|
|
1190
1219
|
web: {
|
|
1191
1220
|
name: "Ban",
|
|
1192
|
-
iconColor: "text-
|
|
1193
|
-
bgColor: "bg-
|
|
1221
|
+
iconColor: "text-[#A3A3A3]",
|
|
1222
|
+
bgColor: "bg-[#F5F5F5]"
|
|
1194
1223
|
}
|
|
1195
1224
|
},
|
|
1196
1225
|
progress: {
|
|
1197
|
-
primary: "bg-
|
|
1198
|
-
secondary: "bg-
|
|
1199
|
-
border: "border-
|
|
1226
|
+
primary: "bg-[#A3A3A3]",
|
|
1227
|
+
secondary: "bg-[#FAFAFA]",
|
|
1228
|
+
border: "border-[#E5E5E5]"
|
|
1200
1229
|
}
|
|
1201
1230
|
}
|
|
1202
1231
|
};
|
|
1203
1232
|
|
|
1204
|
-
// src/model/project/Project.api.ts
|
|
1205
|
-
var Endpoints3 = {
|
|
1206
|
-
Reorder: { uri: "/projects/reorder/", method: "POST" },
|
|
1207
|
-
List: { uri: "/projects/list", method: "GET" },
|
|
1208
|
-
GetNext: { uri: "/projects/:userId/next", method: "GET" },
|
|
1209
|
-
CreateProject: { uri: "/projects/create", method: "POST" },
|
|
1210
|
-
FindOne: { uri: `/projects/:projectId/`, method: "GET" },
|
|
1211
|
-
GetGoals: { uri: `/projects/goals/list/`, method: "GET" },
|
|
1212
|
-
Review: { uri: "/projects/:projectId/review/", method: "POST" },
|
|
1213
|
-
Cancel: { uri: "/projects/:projectId/cancel/", method: "DELETE" },
|
|
1214
|
-
StartEdition: { uri: "/projects/edition/start/", method: "PUT" },
|
|
1215
|
-
SendToApproval: {
|
|
1216
|
-
uri: "/projects/:projectId/sendToApproval/",
|
|
1217
|
-
method: "PUT"
|
|
1218
|
-
},
|
|
1219
|
-
IsEligibleForFreeProject: {
|
|
1220
|
-
uri: "/projects/free/allowed/",
|
|
1221
|
-
method: "GET"
|
|
1222
|
-
},
|
|
1223
|
-
Approve: { uri: "/projects/:projectId/approve/", method: "POST" },
|
|
1224
|
-
Unschedule: { uri: "/projects/:projectId/unschedule/", method: "POST" },
|
|
1225
|
-
Rollback: { uri: "/projects/:projectId/rollback/", method: "POST" },
|
|
1226
|
-
Deny: { uri: "/projects/:projectId/deny/", method: "POST" },
|
|
1227
|
-
GetUserHistory: { uri: "/projects/user/:userId/history/", method: "GET" },
|
|
1228
|
-
GetPoolSize: { uri: "/projects/pool/size/", method: "GET" }
|
|
1229
|
-
};
|
|
1230
|
-
|
|
1231
1233
|
// src/api/Project.api.ts
|
|
1232
1234
|
var ProjectAPI = class {
|
|
1233
1235
|
constructor(env) {
|