diff --git a/src/MarcSync/Objects/Entry.lua b/src/MarcSync/Objects/Entry.lua
index 3756ee7..d28907e 100644
--- a/src/MarcSync/Objects/Entry.lua
+++ b/src/MarcSync/Objects/Entry.lua
@@ -6,20 +6,20 @@ local types = {
local Entry = {}
-Entry.getValue = function(self:typeof(Entry), value:string):any
- if not value then return nil end
- return self._entryData[value]
+Entry.getValue = function(self:typeof(Entry), key:string):any
+ if not key then return nil end
+ return self._entryData[key]
end
Entry.getValues = function(self:typeof(Entry)):typeof(types.EntryData)
return self._entryData
end
-Entry.updateValues = function(self:typeof(Entry), values:typeof(types.EntryData)):number
- local result = Utils.makeHTTPRequest("entry", "PUT", "https://api.marcsync.dev/v0/entries/"..self._tableId, {["filters"]={["_id"]=self._objectId},["data"]=values}, self._accessToken);
+Entry.updateValues = function(self:typeof(Entry), data:typeof(types.EntryData)):number
+ local result = Utils.makeHTTPRequest("entry", "PUT", "https://api.marcsync.dev/v0/entries/"..self._tableId, {["filters"]={["_id"]=self._objectId},["data"]=data}, self._accessToken);
if result["success"] and result["modifiedEntries"] and result["modifiedEntries"] > 0 then
- for i,v in pairs(values) do
+ for i,v in pairs(data) do
self._entryData[i] = v
end
elseif not result["success"] then
diff --git a/website/docs-marcsync-dev/docusaurus.config.js b/website/docs-marcsync-dev/docusaurus.config.js
index 4550a2d..376964d 100644
--- a/website/docs-marcsync-dev/docusaurus.config.js
+++ b/website/docs-marcsync-dev/docusaurus.config.js
@@ -51,13 +51,17 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
+ colorMode: {
+ defaultMode: 'dark'
+ },
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'Roblox Documentation',
logo: {
alt: 'MarcSync Logo',
- src: 'img/logo.svg',
+ src: 'img/logo.png',
+ srcDark: 'img/logo-dark.png',
},
items: [
{
diff --git a/website/docs-marcsync-dev/src/components/HomepageFeatures/index.js b/website/docs-marcsync-dev/src/components/HomepageFeatures/index.js
deleted file mode 100644
index 78f410b..0000000
--- a/website/docs-marcsync-dev/src/components/HomepageFeatures/index.js
+++ /dev/null
@@ -1,64 +0,0 @@
-import React from 'react';
-import clsx from 'clsx';
-import styles from './styles.module.css';
-
-const FeatureList = [
- {
- title: 'Easy to Use',
- Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
- description: (
- <>
- Docusaurus was designed from the ground up to be easily installed and
- used to get your website up and running quickly.
- >
- ),
- },
- {
- title: 'Focus on What Matters',
- Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
- description: (
- <>
- Docusaurus lets you focus on your docs, and we'll do the chores. Go
- ahead and move your docs into the docs
directory.
- >
- ),
- },
- {
- title: 'Powered by React',
- Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
- description: (
- <>
- Extend or customize your website layout by reusing React. Docusaurus can
- be extended while reusing the same header and footer.
- >
- ),
- },
-];
-
-function Feature({Svg, title, description}) {
- return (
-
{description}
-{siteConfig.tagline}
-