mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-15 18:24:19 +00:00
Update SPDX-License-Identifier
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
import { TribufuApi } from '../build/index.mjs';
|
import { TribufuApi } from '../build/index.mjs';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
import { TribufuBot } from '../build/index.mjs';
|
import { TribufuBot } from '../build/index.mjs';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
import { TribufuClient } from '../build/index.mjs';
|
import { TribufuClient } from '../build/index.mjs';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
import { TribufuServer } from '../build/index.mjs';
|
import { TribufuServer } from '../build/index.mjs';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import { build } from "esbuild";
|
import { build } from "esbuild";
|
||||||
import { nodeExternalsPlugin } from "esbuild-node-externals";
|
import { nodeExternalsPlugin } from "esbuild-node-externals";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import { HttpHeaders, HttpClient } from "@tribufu/mintaka";
|
import { HttpHeaders, HttpClient } from "@tribufu/mintaka";
|
||||||
import { JavaScriptRuntime } from "./node";
|
import { JavaScriptRuntime } from "./node";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import { TribufuApi } from "./api";
|
import { TribufuApi } from "./api";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import { HttpCookieMap, HttpHeaders } from "@tribufu/mintaka";
|
import { HttpCookieMap, HttpHeaders } from "@tribufu/mintaka";
|
||||||
import { OAuth2GrantType, OAuth2IntrospectionRequest, OAuth2IntrospectionResponse, OAuth2TokenRequest, OAuth2TokenResponse } from "@tribufu/mintaka";
|
import { OAuth2GrantType, OAuth2IntrospectionRequest, OAuth2IntrospectionResponse, OAuth2TokenRequest, OAuth2TokenResponse } from "@tribufu/mintaka";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The version of the Tribufu SDK.
|
* The version of the Tribufu SDK.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import {
|
import {
|
||||||
TRIBUFU_API_URL,
|
TRIBUFU_API_URL,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import { MiniProfile } from "./profile";
|
import { MiniProfile } from "./profile";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
export type ProfileType = "user" | "bot" | "org";
|
export type ProfileType = "user" | "bot" | "org";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
export enum JavaScriptRuntime {
|
export enum JavaScriptRuntime {
|
||||||
Browser,
|
Browser,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
export interface TribufuApiOptions {
|
export interface TribufuApiOptions {
|
||||||
apiKey?: string | null;
|
apiKey?: string | null;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
import { TribufuClient } from "./client";
|
import { TribufuClient } from "./client";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tribufu Socket
|
* Tribufu Socket
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) Tribufu. All Rights Reserved.
|
// Copyright (c) Tribufu. All Rights Reserved.
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
||||||
|
|
||||||
export type TokenType = "user" | "bot" | "client" | "server";
|
export type TokenType = "user" | "bot" | "client" | "server";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user