Typing of ScheduleItem incomplete
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Estagnada
- Stack de tecnologia
- typescript
- Domínio
- api
Direção de pesquisa
Start by locating the ScheduleItem interface in the TypeScript definitions and compare its fields with the four properties shown in the issue’s Graph Explorer response: isMeeting, isRecurring, isException, and isReminderSet. Add the missing typings and verify that the generated or maintained definitions accept those properties. Done when all four response fields are represented in ScheduleItem.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
When requesting schedule items via
https://graph.microsoft.com/v1.0/me/calendar/getSchedule
The response is missing some attributes in the ScheduleItem
Existing typing:
export interface ScheduleItem {
// The date, time, and time zone that the corresponding event ends.
end?: NullableOption<DateTimeTimeZone>;
// The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional.
isPrivate?: NullableOption<boolean>;
// The location where the corresponding event is held or attended from. Optional.
location?: NullableOption<string>;
// The date, time, and time zone that the corresponding event starts.
start?: NullableOption<DateTimeTimeZone>;
/**
* The availability status of the user or resource during the corresponding event. The possible values are: free,
* tentative, busy, oof, workingElsewhere, unknown.
*/
status?: NullableOption<FreeBusyStatus>;
// The corresponding event's subject line. Optional.
subject?: NullableOption<string>;
}
Return type from graph explorer
{
"isPrivate": false,
"status": "busy",
"subject": "Microsoft Graph community call",
"location": "Microsoft Teams meeting",
"isMeeting": false, <-- new
"isRecurring": true, <-- new
"isException": false, <-- new
"isReminderSet": true, <-- new
"start": {
"dateTime": "2023-07-04T15:00:00.0000000",
"timeZone": "UTC"
},
"end": {
"dateTime": "2023-07-04T16:00:00.0000000",
"timeZone": "UTC"
}
}
These values are missing in the typing
- "isMeeting": false
- "isRecurring": true
- "isException": false
- "isReminderSet": true
The official docs also do net mention them:
https://learn.microsoft.com/en-us/graph/api/resources/scheduleitem?view=graph-rest-1.0
I'll open a ticket there as well.
Best
- Linguagem predominante
- PowerShell
- Estrelas
- 129
- Forks
- 35
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de microsoftgraph/msgraph-typescript-typings
-
status:waiting-for-triage type:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 48/100
microsoftgraph/msgraph-typescript-typings#756 · 1 reação ·
-
status:waiting-for-triage type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
microsoftgraph/msgraph-typescript-typings#748 · 2 reações ·
-
status:waiting-for-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 48/100
-
status:waiting-for-triage type:feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
microsoftgraph/msgraph-typescript-typings#530 · 1 reação ·
Todas as issues de microsoftgraph/msgraph-typescript-typings
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
fb55/htmlparser2#2579 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue needs-review
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
trycua/hermes-cua-spaces#17 ·
-
area/channels kind/bug priority/medium
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
nanocoai/nanoclaw#4501 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
AndyHazz/bookends.koplugin#134 ·