Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

classcharts-api

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classcharts-api - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

8

dist/client.d.ts
import { RequestOptions } from "undici/types/dispatcher";
import { ActivityResponse, AnnoucementsResponse, BadgesResponse, BehaviourResponse, DetentionsResponse, GetActivityOptions, GetBehaviourOptions, GetHomeworkOptions, GetLessonsOptions, HomeworksResponse, LessonsResponse, Student } from "./types";
import { ActivityResponse, AnnouncementsResponse, BadgesResponse, BehaviourResponse, DetentionsResponse, GetActivityOptions, GetBehaviourOptions, GetHomeworkOptions, GetLessonsOptions, HomeworksResponse, LessonsResponse, Student } from "./types";
/**

@@ -63,6 +63,6 @@ * The base client

/**
* Lists the logged in student's annoucements
* @returns Array of annoucements
* Lists the logged in student's announcements
* @returns Array of announcements
*/
listAnnoucements(): Promise<AnnoucementsResponse>;
listAnnouncements(): Promise<AnnouncementsResponse>;
/**

@@ -69,0 +69,0 @@ * Gets the logged in student's detentions

@@ -178,7 +178,7 @@ "use strict";

/**
* Lists the logged in student's annoucements
* @returns Array of annoucements
* Lists the logged in student's announcements
* @returns Array of announcements
*/
async listAnnoucements() {
return await this.makeAuthedRequest(consts_1.API_BASE + "/annoucements/" + this.studentId, {
async listAnnouncements() {
return await this.makeAuthedRequest(consts_1.API_BASE + "/announcements/" + this.studentId, {
method: "GET",

@@ -185,0 +185,0 @@ });

@@ -251,3 +251,3 @@ declare type BooleanHumean = "yes" | "no";

export declare type DetentionsResponse = Array<Detention>;
export interface Annoucement {
export interface Announcement {
id: number;

@@ -277,3 +277,3 @@ title: string;

}
export declare type AnnoucementsResponse = Array<Annoucement>;
export declare type AnnouncementsResponse = Array<Announcement>;
export {};
{
"name": "classcharts-api",
"version": "0.4.0",
"version": "0.4.1",
"description": "",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc