Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idk i didnt test #7

Merged
merged 156 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
be09382
Merge branch 'master' into dev
SuperCater Jan 15, 2024
d28a5cd
Merge branch 'master' into dev
SuperCater Jan 16, 2024
3aa99b8
fix types
SuperCater Jan 16, 2024
3201fcf
REAL TYPE FIX
SuperCater Jan 16, 2024
06fc10e
Merge remote-tracking branch 'origin/master' into dev
SuperCater Oct 5, 2024
4e41776
fix tsconfig
SuperCater Oct 5, 2024
9a1446c
updated fetchhandler
SuperCater Oct 5, 2024
401c8d7
minor stuff
SuperCater Oct 5, 2024
c363546
package lock fix
SuperCater Oct 5, 2024
7afc23a
use Import Type
PurpleCreativity Oct 5, 2024
5a322dd
AccountSettings API
PurpleCreativity Oct 5, 2024
2628c6d
FetchPageOptions
PurpleCreativity Oct 5, 2024
74df983
FriendMetadata
PurpleCreativity Oct 5, 2024
dce4bbc
factory createUser
PurpleCreativity Oct 5, 2024
40a00d0
rename
PurpleCreativity Oct 5, 2024
d34068d
Simplify
PurpleCreativity Oct 5, 2024
60ef20a
PremiumFeatures
PurpleCreativity Oct 5, 2024
4cee440
remove the old tests
PurpleCreativity Oct 5, 2024
6623712
update urls
PurpleCreativity Oct 6, 2024
99be97f
Add Avatar Api
PurpleCreativity Oct 6, 2024
5653301
User avatar Types and Enums
PurpleCreativity Oct 6, 2024
fb4924b
Overhaul User.ts
PurpleCreativity Oct 6, 2024
ae0f992
Update Type
PurpleCreativity Oct 6, 2024
30f5ddf
auto use cache
SuperCater Oct 8, 2024
bf03e2d
add comments that nobody gives a shit about
PurpleCreativity Oct 11, 2024
43df564
remove vers from comments as it is dumb
PurpleCreativity Oct 11, 2024
d472b67
update types
PurpleCreativity Oct 11, 2024
95abc8f
remove some shit that i'll readd later
PurpleCreativity Oct 11, 2024
98ca68a
usecache to useCache
PurpleCreativity Oct 11, 2024
c49b6e9
new group related methods
PurpleCreativity Oct 11, 2024
2a7fc5c
fix formatting
PurpleCreativity Oct 11, 2024
190a78e
remove enum AvatarTypes
PurpleCreativity Oct 12, 2024
3c46873
update types
PurpleCreativity Oct 12, 2024
baafd6f
remove validUrls
PurpleCreativity Oct 12, 2024
7ca34d6
add notes for self
PurpleCreativity Oct 12, 2024
daf9610
update formatting
PurpleCreativity Oct 12, 2024
354c5dc
readonly + private
PurpleCreativity Oct 12, 2024
ee62332
rename
PurpleCreativity Oct 13, 2024
da46448
badge
PurpleCreativity Oct 13, 2024
186ec2a
too lazy to explain
PurpleCreativity Oct 13, 2024
e77878a
b
PurpleCreativity Oct 13, 2024
e04fbcf
awardedbadge test
PurpleCreativity Oct 13, 2024
fef65e3
;
PurpleCreativity Oct 13, 2024
a4dabf2
fetchList
PurpleCreativity Oct 13, 2024
8457aa4
universeAvatarType
PurpleCreativity Oct 13, 2024
9aa1c75
hashtag i love lint
PurpleCreativity Oct 13, 2024
13eea35
rewrite core fetch functions
PurpleCreativity Oct 13, 2024
d0af6a7
update fetchUsernameHistory
PurpleCreativity Oct 13, 2024
8996110
this was dumb
PurpleCreativity Oct 13, 2024
f0ed6ca
safeguard
PurpleCreativity Oct 13, 2024
e7bd95c
i mark the 1.0.0
PurpleCreativity Oct 13, 2024
82f4a67
test fetchPrimaryGroup
PurpleCreativity Oct 13, 2024
5857a99
fetchGroups
PurpleCreativity Oct 13, 2024
242f4fd
fix formatting
PurpleCreativity Oct 13, 2024
c17382a
update tests
PurpleCreativity Oct 13, 2024
bbf8838
default to asc sort
PurpleCreativity Oct 13, 2024
0d263af
param order
PurpleCreativity Oct 13, 2024
6afd141
remove useless fetching
PurpleCreativity Oct 13, 2024
7fb6d94
base group class
PurpleCreativity Oct 13, 2024
3e71d8f
into the unknownnnnnnnnnnnnnnnnnnnnnnnnnnn ❤️
PurpleCreativity Oct 14, 2024
3eab48c
default should be false
PurpleCreativity Oct 14, 2024
70e3171
remove apis.roblox.com from regular fetch
PurpleCreativity Oct 14, 2024
225a9da
//!
PurpleCreativity Oct 14, 2024
ba241cb
LegacyURLs
PurpleCreativity Oct 14, 2024
caee53a
move
PurpleCreativity Oct 14, 2024
8b274ad
FetchError.format()
PurpleCreativity Oct 14, 2024
5cce75f
remove FetchError.code
PurpleCreativity Oct 14, 2024
e9c3c6f
dumb
PurpleCreativity Oct 14, 2024
764d26d
not ok
PurpleCreativity Oct 14, 2024
ff073a0
names
PurpleCreativity Oct 14, 2024
57dd2c8
Rename, add Presence Endpoint
PurpleCreativity Oct 18, 2024
47d66a0
userPresenceState
PurpleCreativity Oct 18, 2024
3d3313a
Rename Types and Enums
PurpleCreativity Oct 18, 2024
0e508b8
this can be empty... okay roblox
PurpleCreativity Oct 18, 2024
7361990
ups broken
PurpleCreativity Oct 18, 2024
94b39ab
fetchLastOnlineDate, fetchPresence
PurpleCreativity Oct 18, 2024
ee0a341
ok
PurpleCreativity Oct 18, 2024
d986fab
forgot a semicolon :sob:
PurpleCreativity Oct 18, 2024
596e455
Merge branch 'dev' into master
PurpleCreativity Oct 18, 2024
2932e3f
rename
PurpleCreativity Oct 18, 2024
049e1b6
Merge branch 'master' of https://github.com/PurpleCreativity/WrapBlox
PurpleCreativity Oct 18, 2024
63b9215
base universe
PurpleCreativity Oct 18, 2024
e164e6e
renamed
PurpleCreativity Oct 18, 2024
9d9e224
thi
PurpleCreativity Oct 18, 2024
2729b0d
remove deprecated
PurpleCreativity Oct 18, 2024
6b2003f
improve imports
PurpleCreativity Oct 18, 2024
0485504
reneame
PurpleCreativity Oct 18, 2024
499a977
improve readability
PurpleCreativity Oct 18, 2024
2cea591
ghost class
PurpleCreativity Oct 18, 2024
9c91f05
fix
PurpleCreativity Oct 18, 2024
7c68ed3
fix
PurpleCreativity Oct 18, 2024
cda3797
ok
PurpleCreativity Oct 18, 2024
43bdb1a
jsdoc index.ts
PurpleCreativity Oct 19, 2024
91bcaa5
forgot
PurpleCreativity Oct 19, 2024
170d0d8
prefer export default class instead of declaring and then exporting
PurpleCreativity Oct 19, 2024
5d08a6a
here too
PurpleCreativity Oct 19, 2024
90c4766
base place class
PurpleCreativity Oct 19, 2024
047d85e
fetchPlace
PurpleCreativity Oct 19, 2024
b9be4d4
improve imports
PurpleCreativity Oct 19, 2024
a706005
silent
PurpleCreativity Oct 19, 2024
82cd29b
fix
PurpleCreativity Oct 19, 2024
5450571
Universe.fetchRootPlace
PurpleCreativity Oct 19, 2024
b46d81b
rename
PurpleCreativity Oct 19, 2024
98a55fc
place fetchUniverse
PurpleCreativity Oct 19, 2024
72d4e91
update
PurpleCreativity Oct 19, 2024
52e01b3
rc
PurpleCreativity Oct 19, 2024
599e315
ok
PurpleCreativity Oct 19, 2024
3594146
createUniverse
PurpleCreativity Oct 19, 2024
fa2d635
not ok
PurpleCreativity Oct 19, 2024
2358f63
fix
PurpleCreativity Oct 19, 2024
9e005ef
JSDoc all methods (made via Github Copilot so room for improvement)
PurpleCreativity Oct 19, 2024
d646f5f
fetchUniverses
PurpleCreativity Oct 19, 2024
45b972d
fetchCreatedUniverses update limit
PurpleCreativity Oct 19, 2024
8b34b0f
set all tests to silent, ONLY toggle locally
PurpleCreativity Oct 19, 2024
b149794
ok
PurpleCreativity Oct 19, 2024
9ba6fc1
servers
PurpleCreativity Oct 19, 2024
b5345e5
dumb bug fix
PurpleCreativity Oct 19, 2024
4ce0dec
semicolons
PurpleCreativity Oct 19, 2024
ef6228e
return to shutting the fuck up
PurpleCreativity Oct 19, 2024
7792b51
clarify
PurpleCreativity Oct 19, 2024
cd5e420
private all creds
PurpleCreativity Oct 19, 2024
b99dc84
idk ig this looks better
PurpleCreativity Oct 19, 2024
5c877f1
dumas@DESKTOP-5KQ0J3M MINGW64 /d/Workspace/NodeJS/TypeScript/TypeORM …
PurpleCreativity Oct 19, 2024
9f357e2
dedicated log func
PurpleCreativity Oct 20, 2024
0f6f4f4
convert from test to beforeAll
PurpleCreativity Oct 25, 2024
45998a1
rename
PurpleCreativity Oct 25, 2024
cc508ba
rename
PurpleCreativity Oct 25, 2024
a42cfd6
improved tests
PurpleCreativity Oct 25, 2024
08be189
dont export Classes out of index
PurpleCreativity Oct 25, 2024
70bb245
ignore typescript build file tests
PurpleCreativity Oct 31, 2024
29cc1b5
add opencloudv1 apis and rename some stuff
PurpleCreativity Oct 31, 2024
0b33e00
AuthUser -> UserSession
PurpleCreativity Nov 1, 2024
941f473
self -> session
PurpleCreativity Nov 1, 2024
b4cabdf
fine nerd
PurpleCreativity Nov 1, 2024
38ae682
rename
PurpleCreativity Nov 1, 2024
64ac896
remove test folders
PurpleCreativity Nov 1, 2024
22ad66e
0.6.0
PurpleCreativity Nov 1, 2024
4b46cbe
remove
PurpleCreativity Nov 1, 2024
8220283
slash undo
PurpleCreativity Nov 1, 2024
1202e2f
fix test imports
PurpleCreativity Nov 1, 2024
b7adb31
fetchIcon
PurpleCreativity Nov 1, 2024
e7e7e8d
getErrors()
PurpleCreativity Nov 5, 2024
00739fd
format
PurpleCreativity Nov 9, 2024
98213c3
initialize project docs
PurpleCreativity Nov 11, 2024
5da43f0
ok
PurpleCreativity Nov 11, 2024
809798e
edit biome.json
PurpleCreativity Nov 11, 2024
d1324fd
rename the workflows because they trigger me
PurpleCreativity Nov 11, 2024
ca1e723
check for formatting errors
PurpleCreativity Nov 11, 2024
acc4e5f
format
PurpleCreativity Nov 11, 2024
de92b7d
ok
PurpleCreativity Nov 11, 2024
4af79e5
fix shit
PurpleCreativity Nov 11, 2024
1b414d0
hi
PurpleCreativity Nov 11, 2024
4dc7f58
mkdocs config
PurpleCreativity Nov 13, 2024
c9dd480
change formatter rules
PurpleCreativity Nov 13, 2024
b132cb4
Merge pull request #6 from PurpleCreativity/master
SuperCater Nov 16, 2024
1a4a894
fix purples shitty code
SuperCater Nov 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .github/workflows/biome-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: BiomeJS

on:
push:
branches: [master]
pull_request:
branches: [master]


jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '>=16'

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '>=16'

- name: Install dependencies
run: npm ci

- name: Format
run: npm run format

organized-imports:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '>=16'

- name: Install dependencies
run: npm ci

- name: Organized Imports
run: npm run organized-imports
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: TypeScript Build
name: TypeScript

on:
push:
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/lint.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Jest Test
name: Jest

on:
push:
Expand All @@ -8,7 +8,7 @@ on:


jobs:
build:
test:
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@

# Build files
/dist
/docs
.env
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# WrapBlox

uhh hii this is for future purple to not forget ok ignore this thanks:
docs locally: mkdocs serve
deploy to pages: mkdocs gh-deploy

Wrapblox is a promise based API wrapper for the Roblox API written in typescript. It is currently in development and really isnt meant for production.

## Installation
Expand Down
36 changes: 29 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,39 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"organizeImports": {
"enabled": true
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},

"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"style": {
"noParameterAssign": "off"
}
}
},

"json": {
"parser": {
"allowComments": true
}
},
"vcs" :{

"formatter": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true

"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120,

"formatWithErrors": true
},

"organizeImports": {
"enabled": true
}
}
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
Date format is `MM/DD/YYYY`.

## [0.2.1b] - 1/16/2024

### Fixed

- i actually fixed the types this time

## [0.2.1a] - 1/16/2024

### Fixed

- Bug where types were not exported and would cause errors

## [0.2.1] - 1/16/2024

### Changed
Expand Down
17 changes: 17 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Welcome to MkDocs

For full documentation visit [mkdocs.org](https://www.mkdocs.org).

## Commands

* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.

## Project layout

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
4 changes: 2 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ module.exports = {
testEnvironment: "node",
moduleNameMapper: {
"^(\\.\\.?\\/.+)\\.js$": "$1",
},
};
},
};
32 changes: 32 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
site_name: WrapBlox
site_author: PurpleCreativity

repo_name: WrapBlox
repo_url: https://github.com/SuperCater/WrapBlox

theme:
name: material
features:
# - navigation.tabs
#- navigation.instant
#- navigation.sections
palette:
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: purple
accent: blue
toggle:
icon: material/weather-night
name: Switch to light mode
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: purple
accent: blue
toggle:
icon: material/weather-sunny
name: Switch to dark mode
highlightjs: true
hljs_languages:
- javascript
Loading
Loading