From 1cf8cbb5cf7a0355e439523904bb6c9d5147ec51 Mon Sep 17 00:00:00 2001 From: AlexStormwood Date: Sat, 19 Oct 2024 07:11:44 +0000 Subject: [PATCH] Update gh-pages to output generated at bfa25e3 --- assets/navigation.js | 2 +- assets/search.js | 2 +- classes/Classes.CollectionAccessor.html | 14 +-- classes/Classes.CollectionListEntry.html | 10 +- classes/Classes.NedbBaseDocument.html | 40 +++---- classes/Classes.NedbClient.html | 58 +++++----- classes/Classes.NedbDocument.html | 40 +++---- classes/Classes.NedbEmbeddedDocument.html | 40 +++---- classes/Classes.SuperCamo.html | 14 +-- .../Error_Classes.CollectionAccessError.html | 4 +- classes/Error_Classes.DeleteFailure.html | 4 +- classes/Error_Classes.PostDeleteFailure.html | 4 +- classes/Error_Classes.PostSaveFailure.html | 4 +- .../Error_Classes.PostValidationFailure.html | 4 +- classes/Error_Classes.PreDeleteFailure.html | 4 +- classes/Error_Classes.PreSaveFailure.html | 4 +- .../Error_Classes.PreValidationFailure.html | 4 +- classes/Error_Classes.SaveFailure.html | 4 +- classes/Error_Classes.ValidationFailure.html | 4 +- ..._Classes.ValidationFailureMinMaxError.html | 4 +- ...idationFailureMissingValueForProperty.html | 4 +- ...onFailureMissingValueForReferencedDoc.html | 4 +- ...dationFailureReferenceWithoutDatabase.html | 4 +- ...s.ValidationFailureUnexpectedProperty.html | 4 +- ...es.ValidationFailureValueNotInChoices.html | 4 +- documents/Quick_Start.html | 2 +- ...asics.00___Understanding_This_Package.html | 2 +- ...e_Basics.01___The_SuperCamo_Singleton.html | 2 +- .../The_Basics.02___Document_Basics.html | 2 +- ..._Basics.03___Embedded_Document_Basics.html | 2 +- .../The_Basics.04___DB_Client_Basics.html | 2 +- documents/The_Basics.html | 2 +- documents/Tips___Tricks.html | 2 +- functions/Logging.SuperCamoLogger.html | 4 +- hierarchy.html | 2 +- index.html | 2 +- interfaces/Interfaces.BaseDocument.html | 8 +- interfaces/Interfaces.CollectionAccessor.html | 10 +- .../Interfaces.CollectionsListEntry.html | 6 +- interfaces/Interfaces.DocumentBaseData.html | 2 +- .../Interfaces.DocumentConstructorData.html | 4 +- interfaces/Interfaces.DocumentKeyRule.html | 32 +++--- interfaces/Interfaces.DocumentObjectData.html | 4 +- interfaces/Interfaces.NedbClientEntry.html | 12 +- .../Interfaces.findManyDocumentsOptions.html | 6 +- .../Interfaces.findManyObjectsOptions.html | 8 +- .../Interfaces.findOneObjectOptions.html | 4 +- interfaces/Interfaces.updateManyOptions.html | 8 +- interfaces/Interfaces.updateOptions.html | 6 +- .../Package_Exports.SuperCamoInterfaces.html | 10 -- modules/Classes.html | 4 +- modules/Error_Classes.html | 2 +- modules/Interfaces.html | 4 +- modules/Logging.html | 4 +- modules/Package_Exports.html | 20 +++- sitemap.xml | 108 +++++++++--------- 56 files changed, 284 insertions(+), 286 deletions(-) delete mode 100644 interfaces/Package_Exports.SuperCamoInterfaces.html diff --git a/assets/navigation.js b/assets/navigation.js index c952e49..1aa0aea 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6WXXU/bMBSG/4qVSbsqI9AOdb1bC0xofI0WdoGQZZLTxiO1I9uZiib++5SkDflwYptegs/7vMfOOfbp4z9PwUZ5E+9HSkOQ3sALIhqHApg3eSwXf6U0eEFzRYTyBl5CVORNvJAH6RqYkof5Ms6Xv0RqHXsD74Wy0JuMh+PxiT9+G5SkRQRoSiQNpA60iAAXq1qOPjnfRwfonoUgpCIspGyFFhGV6JYEL2QFBh/fxxjX1DhT463atB//CB2gbFPzNAExI2uO5pStYlCcmZyPMMbZ36UUl1Kj7TE6QKdbqt2B+scY452k75SrNkN0gM7WzxCGELr6DTHGO62z8Sjb3xTNYmpvOMo2OMWFptfoqVqRNJHoM1oIGrzoLWgisy+VB5gS35YNOtskXKgKb83DNAZ5uA3A24A671hf4TMexxAoytn3IAApubDjftIKC6vR0bfR0B9VUn8PvqRSnTElXp1tqsoun2sIn6dEwq4kzoTgwvKkPnWK+9yKinBwKAV91F0KDtyKpI+865oPOGikXU7ltWOJr8YbmRdMgViSACoflpb/axlodI3O+Hry9lTr2ztYggAWQMebNYuJlKCpq+3C3p0XFJyS146tWxwdj227rRtdBvexm03SDW5GmqjNTtLxihgTyS4327y6O0ZHbUb30TVd0kSWIW1OtWDzqwp1lmW+jPcpzpzQTrMO1or6DuAUYlBwTmicCjDRa8F91FsulRO5JTDR5+SvC7sSbiI/kJiGJDtCB35L1OsiwO1wGvEGtsvR1KINXPeD0Wh6m9E+ccusnVN2yrcVfEXZFdlYNWqf1tFTSspWDyRO4ZyLW8ETEErz2hj9tZx9cinf8Owq3jehGswpq1L5m6qIp+qUKPJMpHstdIGcsrlnsEkgUBB++FO1EU4Z5Cd6zdUFm0Wc1mY4ywRahP6nUTct7t7FzolQ/yjq557K6FnhdU8+2bipm9XaU6CebJoFu/hSMwyaHGTHTFj32O0z3zNRxMRvxtuwZ5xJJdJAceFi0ZDZOP2E17s0BluHbbgN+eb5DwTKJf13RR9/SVl4RdjrTiVvkvzjmVy6dDZeRWauTnWVyeeGQSFwcGlq+jzef1FYtUUjvI+cJiFRkO/YLvWWwEx3IndSq1flJV+tKFu178ntgtUlWf5iyURQuc2WKSvulBLXCK3jT0b5j/Kn/8Bp50hHFgAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6WYW0/bMBiG/4qVSbuC0ZYOddytBSY0GIzTLhCyTPLReqR2ZDsTaNp/n3JoyMHHclnle5/ni+PYqe//RgpeVHQYfctpAjLaieIVTRMBLDq8by7+zGn8jK4VESraiTKiVtFhlPA4XwNTcq+8jMvLn1ZqnUY70TNlSXQ425/NDkazfzsN6WYFaE4kjaUOdLMCXF3VcvTNjUZoF92yBIRUhCWULdHNikp0SeJnsgSHZzTCGHfSuEjjOu26n9EY7aLipq7zDMSCrDm6pmyZguLMZR5jjIvfTRQ3Uad2gnbRUU31G9DRBGO8idhGua3ZR7voeP0ISQJJqG8fY7zJBounxf3N0SKl/sJpcYNzXGWsoof2jKSZRB/RjaDxs15BM1k8qbLA1Xg9bdDxS8aFavHWPMlTkHt1Aa4LuryJfobPiYTNAPoRP/QiFX46/jLdH01b7S54mkKsKGdf4xik5MKTrw36W46IIlub6rDbdkalOmZKvAar2km3R24vkj6mzYMsH6r/yGliLsOCM6lEHqugR2ROu3zf4fUqTyHQ85Zy8S8ef0OstriVTtBkeaIsOSfsdROSF1n5TD1dlrjLWLW3pW8QttkuGFT14S5N1GT6Aclje8k6FoILX5cxbLNVu0SAoQm4qSFLwTBl4wfuAr2IjbzZqbcwaKImU/Op44lv15uYeZYQBeXEDpqiupzdsQ3fxH7ofIRcwRMIYDEYPsAXKZESNOb6gtdnhG2zjytOwxvWdhXjycx3yzWjm2Ibu/92m8H9She1vwToeFWNi+TXm29f5ldRR+1X2+ia16+PbEqGnPaELddYZJyW5WX8nslZEoZtdsHakG0AjiAFBSeEprkAF71TbKNecqmCyIOAi35N/oSwW+Uu8h1JaUKKIQzgD0JWi4CwwenVO9ghQ9OpdnDDB0aTsb6M/o17dh3cclC/g+Jzys7Ji9eLassGOqWkbHlH0hxOuLgUPAOhNLuN06/lvKeXZg8vluL3NtSBBXXVJH9RteJ5+R/mkcjwuWACBXVzy+Alg1hBsvWjGiKCOihH9AdXp2yx4jRu71aeDQwI9q3xlCkQTyTW7Ytv195x8EMbSJtn/vKZfD7wPPLRk13fgia+7ljEZZCGb8Kuw3wgouf3633YxqMQu6IX8zENDkHshrrch6w7/rDD3xI2vvvgQ28x5XxcpiMPu6mbcnnMhx1mSz9jcxiPCPT4XrmNbPkTrGcPAm56ENlIbS+VZ3y5pGw5XCfrC16LZPOPpQhBazV7ylm1pjS4XmkXf1D9KX/4D4EyqZ4UGwAA" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index 4fdc144..947ad4e 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81d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HB8L5+axXnW+P9ak+noq6+WQ3ZG4/Rbziaqyhunhb1EW1V2t8uzVzwyyeGbPe/b/L5t3x0lBKoHyq37guXqZxWrpUxcdTsW+KAx07cwkRzewkFbTq2JQVdQ9lYC5VI0ay+327OZWn4qGsis3L17//+ed/AG6of3sJ6AAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81dXZPbtpL9K1Ny1T7JEzb47bfEyd3K7s3HXifZB5drSpboMeMZUqEoX7tc/u9bBAkSaDSoBsXY+yR7xG4eNg4ajT4U+WnT1P8+bZ69/LR5V1aHzbMszLIkyLabavdYbJ5t/udc7t/dvGh3TbvZbs7Nw+bZ5lDvz49F1Z6+kd/eyW9v37aPD5vtZv+wO52K0+bZZvN56/L629vi5rvdqdyfCKe/vS3u+i+9fAbBzdOb36tD0ZzaXXUoq/ub396Wp5tfd/t3u/ti/kRBcHd3ZxjfdcZ3gzEBZLs57pqias2rmYEHN09vuiNfnI9F83z3WN+8KKv7h6KtqwvY4O7urvv/aHk3Wq4BTNw8vfl+ODFrVAJxd3enLNxD5Q0kvHl688Pj6+JwKA6eiMK7uztl+ndAi7oYfXfz/KFkQ4q6IH1315usB+W38ni6+Y+b35py/46EUB5PHV/k97MTSIw+B5bf/PDhWDft5PWxPpwfitM3w/d3w/dMr/+s7+/L6t7yNvx91ksSjW5G1nd2RTO6e3Ou9m1ZV5NDdOR8sBU6CvnzwQIjH/4+ixzENFbP64eHQoL8dr8vTqd6Qj/Yji7tQ+fhK4jTiWOYLmBfV6e2Oe9b/zM+MW1nz0740CMRiGkU5YcvlMFoLQyP9aF48AahrNZCcdy1b71BDEZrYTjs2t2prRv/IdEtr0FDzpJ/lqf2h6ptPjJgjcd+uXlinnLhRJmu8bqZgsB4TpWLKLhzBcHwnSwkDo0bPxeH19/tToVa0p2I8IG+rBBBNJ113xS71j0I5LmejEbz125d0XJmOnB40HIGjMGGplv+PHEom8UIkjgOkxHC3V378eg7JhLD7WjqB+W2vwKN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nkrwlgf1ojPdn77fDdQ+ilmUkhWkNhzqfoJMrc2BWicy3joxX0nodS8zApZDR4ss1/kQ8vhA+D6d1F7uTd0cm/pYNK2x7871TpzgVS6XztMUb4qmqPZy32ycTF8uwoUBG73/u2zf1ueWkthyfVkJeXnGOtG5Kj4ci31bHKjAZXppLhYOkIxYVbdlRdzvmOs5KmQk4VfbzbE8Fg9lVWyevXz1+fP/AeOM8GUE4gAA"; \ No newline at end of file diff --git a/classes/Classes.CollectionAccessor.html b/classes/Classes.CollectionAccessor.html index de77e74..36dcedc 100644 --- a/classes/Classes.CollectionAccessor.html +++ b/classes/Classes.CollectionAccessor.html @@ -1,19 +1,19 @@ -CollectionAccessor | SuperCamo - v1.0.5

Class CollectionAccessor

The data structure used by NedbClients to manage their collections of documents.

+CollectionAccessor | SuperCamo - v1.0.5

Class CollectionAccessor

The data structure used by NedbClients to manage their collections of documents.

The path and datastore are used in the actual persisting of the data by NeDB.

The name and model are used by SuperCamo to determine what document rules to apply to the collection's data.

This is not a class that you, as a user of the SuperCamo package, will typically interact with or use directly at all.

BigfootDS

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

datastore: Nedb<Record<string, any>>

Reference to the NeDB Datastore object for this collection.

+

Constructors

Properties

datastore: Nedb<Record<string, any>>

Reference to the NeDB Datastore object for this collection.

BigfootDS

-
model: typeof NedbDocument

Reference to the NedbDocument-inheriting class used to define the collection's data structure.

+
model: typeof NedbDocument

Reference to the NedbDocument-inheriting class used to define the collection's data structure.

BigfootDS

-
name: string

Name of the collection.

+
name: string

Name of the collection.

BigfootDS

-
path: string

Path to its ".db" NeDB file.

+
path: string

Path to its ".db" NeDB file.

BigfootDS

-
+
diff --git a/classes/Classes.CollectionListEntry.html b/classes/Classes.CollectionListEntry.html index 4758f41..13040b4 100644 --- a/classes/Classes.CollectionListEntry.html +++ b/classes/Classes.CollectionListEntry.html @@ -1,14 +1,14 @@ -CollectionListEntry | SuperCamo - v1.0.5

Class CollectionListEntry

The data structure used by NedbClients to initialise a collection when setting up a database connection.

+CollectionListEntry | SuperCamo - v1.0.5

Class CollectionListEntry

The data structure used by NedbClients to initialise a collection when setting up a database connection.

You, as a user of the SuperCamo package, will typically use this class when first connecting to a database - and no other times.

let newClient = SuperCamo.clientConnect(
"ExampleDatabase",
"./ExampleDatabase/",
[
new CollectionListEntry("Users", User),
]
);

BigfootDS

-

Implements

Constructors

Implements

Constructors

Properties

Constructors

Properties

model: typeof NedbDocument

Reference to the NedbDocument-inheriting class used to define the collection's data structure.

+

Constructors

Properties

model: typeof NedbDocument

Reference to the NedbDocument-inheriting class used to define the collection's data structure.

BigfootDS

-
name: string

Name of the collection.

+
name: string

Name of the collection.

BigfootDS

-
+
diff --git a/classes/Classes.NedbBaseDocument.html b/classes/Classes.NedbBaseDocument.html index 85668c8..41994fa 100644 --- a/classes/Classes.NedbBaseDocument.html +++ b/classes/Classes.NedbBaseDocument.html @@ -1,4 +1,4 @@ -NedbBaseDocument | SuperCamo - v1.0.5

Class NedbBaseDocumentAbstract

Hierarchy (view full)

Implements

Constructors

constructor +NedbBaseDocument | SuperCamo - v1.0.5

Class NedbBaseDocumentAbstract

Hierarchy (view full)

Implements

Constructors

Properties

Accessors

collectionName data @@ -19,59 +19,59 @@ create

Constructors

Properties

rules: {
    [key: string]: DocumentKeyRule;
}

Define your document's properties in here!

+

Properties

rules: {
    [key: string]: DocumentKeyRule;
}

Define your document's properties in here!

BigfootDS

-

Accessors

Accessors

  • get collectionName(): null | string
  • Read-only string containing the name of the database collection that this document instance comes from.

    If this is null, assume that this document instance does not represent any data stored in a database.

    Returns null | string

    BigfootDS

    -

Methods

Methods

  • Delete this document from the database client that it lives in.

    If you're using a databaseless-document instance, this method will throw an error!

    Parameters

    • OptionaldeleteReferences: boolean

      Similar to deepDeleteReferences, but you can pick one or the other. If true, all referenced documents will also delete themselves. If those referenced documents also reference additional documents, those documents are unaffected and may become orphaned.

    • OptionaldeepDeleteReferences: boolean

      Similar to deleteReferences, but you can pick one or the other. If true, all referenced documents will also delete themselves and recursively delete any documents that they also reference.

    Returns Promise<number>

    Number of documents deleted. You'd want this to be just 1. Other functions may use this number to create a greater tally (eg. a database client's findAndDeleteMany method).

    BigfootDS

    -
  • An asynchronous function or promise that runs whenever delete() is executed. Override this and customise it if you'd like!

    Returns Promise<void>

    BigfootDS

    -
  • An asynchronous function or promise that runs whenever save() is executed. Override this and customise it if you'd like!

    Returns Promise<void>

    BigfootDS

    -
  • An asynchronous function or promise that runs whenever validate() is executed. Override this and customise it if you'd like!

    Returns Promise<void>

    BigfootDS

    -
  • An asynchronous function or promise that runs whenever delete() is executed. Override this and customise it if you'd like!

    Returns Promise<void>

    BigfootDS

    -
  • An asynchronous function or promise that runs whenever save() is executed. Override this and customise it if you'd like!

    Returns Promise<void>

    BigfootDS

    -
  • An asynchronous function or promise that runs whenever validate() is executed. Override this and customise it if you'd like!

    Returns Promise<void>

    BigfootDS

    -
  • Save the document to the database. If the document doesn't already exist in the database, it will be added to the database automatically.

    This function also runs any preSave and postSave methods defined on the document.

    Returns Promise<boolean>

    BigfootDS

    -
  • This document instance's data, and only the data, organized onto an object.

    This does not retrieve any referenced document's data, it's just a shallow object representation of this own document!

    Returns object

    Object containing data from the document instance.

    BigfootDS

    -
  • Run validation logic against the rules defined in the document's rules property.

    This function also runs any preValidate and postValidate methods defined on the document.

    Returns Promise<boolean>

    BigfootDS

    -
  • Create an instance of the document's type. This does not write any data to a database.

    Type Parameters

    Parameters

    • this: (new (incomingData: object, incomingParentDatabaseName: string, incomingCollectionName: string) => Type)
        • new (incomingData, incomingParentDatabaseName, incomingCollectionName): Type
        • Parameters

          • incomingData: object
          • incomingParentDatabaseName: string
          • incomingCollectionName: string

          Returns Type

    • newData: object

      Object containing keys of data that the document requires per its schema.

    • newParentDatabaseName: string

      The name of the database/client that is managing this data.

    • newCollectionName: string

      The name of the collection that is using this document as a model for its data.

    • OptionalvalidateOnCreate: boolean = true

      Boolean flag for whether or not a document instance created with this method should be validated ASAP. Default is true.

    Returns Promise<Type>

    BigfootDS

    -
+
diff --git a/classes/Classes.NedbClient.html b/classes/Classes.NedbClient.html index 724b638..7d0b23f 100644 --- a/classes/Classes.NedbClient.html +++ b/classes/Classes.NedbClient.html @@ -1,4 +1,4 @@ -NedbClient | SuperCamo - v1.0.5

Implements

Constructors

constructor +NedbClient | SuperCamo - v1.0.5

Implements

Constructors

Properties

  • dbDirectoryPath: string

    The folder path for where the database and its collections will be stored.

  • collectionsList: CollectionListEntry[]

    An array of collections, where each item in this array is an object containing the name of the collection and the model or document that the collection will use.

  • Returns NedbClient

    BigfootDS

    -

    Properties

    collections: CollectionAccessor[] = []

    A list of meta-objects defining categories of documents in the database.

    +

    Properties

    collections: CollectionAccessor[] = []

    A list of meta-objects defining categories of documents in the database.

    A collection is an object containing a collection name, document type, plus other properties to help access that data. This means that multiple collections could use the same document type while still keeping database records in separate collections in the database.

    BigfootDS

    -
    documents: typeof NedbDocument[] = []

    The set of document types used in this database.

    +
    documents: typeof NedbDocument[] = []

    The set of document types used in this database.

    This is calculated based on the collections that the database is configured to use, since multiple collections could use the same document type.

    BigfootDS

    -
    embeddedDocuments: typeof NedbEmbeddedDocument[] = []

    The set of embedded-document types used in this database.

    +
    embeddedDocuments: typeof NedbEmbeddedDocument[] = []

    The set of embedded-document types used in this database.

    This is calculated based on the collections that the database is configured to use, since multiple collections could use the same embedded-document type.

    BigfootDS

    -
    name: string = ""

    The name of the database.

    +
    name: string = ""

    The name of the database.

    BigfootDS

    -
    path: string = ""

    The database's folder path, where it stores all collections.

    +
    path: string = ""

    The database's folder path, where it stores all collections.

    BigfootDS

    -

    Methods

    Methods

    • Query a collection and receive a number representing the count of documents matching that query.

      Parameters

      • collectionName: string

        The name of the collection that you wish search through.

      • query: object

        The NeDB query used to find the specific document within the collection.

      Returns Promise<number>

      Integer number of documents within the specified collection that match the query.

      BigfootDS

      -
    • Configure an enforced constraint on a collection.

      See the @seald/nedb documentation for more info about NeDB indexes.

      Parameters

      • collectionName: string

        A string of the collection name to target within the database.

      • indexOptions: EnsureIndexOptions

        An object per the @seald/nedb documentation to configure the index that is to be created.

      Returns Promise<void>

      Promise.

      BigfootDS

      -
    • Create multiple document instances from a provided array of object data, insert each document instance into the database, and return the array of document instances.

      +
    • Create multiple document instances from a provided array of object data, insert each document instance into the database, and return the array of document instances.

      Parameters

      • collectionName: string
      • dataObjectArray: object[]

      Returns Promise<NedbDocument[]>

      BigfootDS

      -
    • Create a document instance from a provided object of data, insert the new document instance into the database, and return the new document instance.

      +
    • Create a document instance from a provided object of data, insert the new document instance into the database, and return the new document instance.

      Parameters

      • collectionName: string
      • dataObject: object

      Returns Promise<NedbDocument>

      BigfootDS

      -
    • Delete collections by model. Can delete multiple collections that use the same model.

      You can also specify whether or not the data within the collection should be deleted, just as a sanity-check. This is enabled by default.

      Parameters

      • model: typeof NedbDocument

        The model to search for.

      • OptionaldeleteData: boolean = true

        Whether or not data within the collection should be deleted. Defaults to true.

      Returns Promise<number>

      The number of collections with a matching name that were deleted.

      BigfootDS

      -
    • Delete collections by name. Can delete multiple collections that use the same name.

      You can also specify whether or not the data within the collection should be deleted, just as a sanity-check. This is enabled by default.

      Parameters

      • name: string

        The name of the collections to search for.

      • OptionaldeleteData: boolean = true

        Whether or not data within the collection should be deleted. Defaults to true.

      Returns Promise<number>

      The number of collections with a matching name that were deleted.

      BigfootDS

      -
    • Delete all documents in all collections within this database. Highly destructive. Could use more work.

      Returns Promise<void>

      BigfootDS

      -
    • Find and delete multiple documents from a specified collection.

      Parameters

      • collectionName: string

        The name of the collection that you wish to search through and modify.

      • query: object

        The NeDB query used to find the specific documents within the collection.

      • options: RemoveOptions = ...

        Options to pass to the query system in NeDB. For this particular method, multi is always set to true.

      Returns Promise<number>

      Number of removed documents.

      BigfootDS

      -
    • Find and delete one document from a specified collection.

      Parameters

      • collectionName: string

        The name of the collection that you wish to search through and modify.

      • query: object

        The NeDB query used to find the specific document within the collection.

      • options: RemoveOptions = ...

        Options to pass to the query system in NeDB. For this particular method, multi is always set to false.

      Returns Promise<number>

      Number of removed documents.

      BigfootDS

      -
    • Search a database for one or more matched documents and modify them, returning the modified documents as an array of document instances.

      +
    • Search a database for one or more matched documents and modify them, returning the modified documents as an array of document instances.

      If no documents match the given query, this function will return an empty array.

      Parameters

      • collectionName: string

        The name of the database collection to query.

      • query: object

        The query to run to find the relevant document.

      • newData: object

        The data to apply to the found document.

      • Optionaloptions: updateManyOptions

        Optional. The options that can be used in this operation.

      Returns Promise<NedbDocument[]>

      BigfootDS

      -
    • Search a database for one or more matched documents and modify them, returning the modified documents as an array of plain objects.

      +
    • Search a database for one or more matched documents and modify them, returning the modified documents as an array of plain objects.

      If no documents match the given query, this function will return an empty array.

      Parameters

      • collectionName: string

        The name of the database collection to query.

      • query: object

        The query to run to find the relevant document.

      • newData: object

        The data to apply to the found document.

      • Optionaloptions: updateManyOptions

        Optional. The options that can be used in this operation.

      Returns Promise<object[]>

      BigfootDS

      -
    • Search a database for a singular matched document and modify it, returning the modified document as a document instance.

      +
    • Search a database for a singular matched document and modify it, returning the modified document as a document instance.

      Parameters

      • collectionName: string

        The name of the database collection to query.

      • query: object

        The query to run to find the relevant document.

      • newData: object

        The data to apply to the found document.

      • Optionaloptions: updateOptions

        Optional. The options that can be used in this operation.

      Returns Promise<null | NedbDocument>

      BigfootDS

      -
    • Search a database for a singular matched document and modify it, returning the modified document as a plain object.

      +
    • Search a database for a singular matched document and modify it, returning the modified document as a plain object.

      Parameters

      • collectionName: string

        The name of the database collection to query.

      • query: object

        The query to run to find the relevant document.

      • newData: object

        The data to apply to the found document.

      • Optionaloptions: updateOptions

        Optional. The options that can be used in this operation.

      Returns Promise<null | object>

      BigfootDS

      -
    • Query a collection and return an array of document instances matching that query.

      This method is NOT compatible with NeDB projections.

      Even if nothing matches the given query, an array is returned.

      Parameters

      • collectionName: string

        The name of the collection that you wish to search through.

        @@ -122,7 +122,7 @@
      • Optionaloptions: findManyDocumentsOptions

        Optional. Configuration for this database operation.

      Returns Promise<NedbDocument[]>

      An instance of the collection's model.

      BigfootDS

      -
    • Query a collection and return an array of objects matching that query, where each object is a document's data.

      +
    • Query a collection and return an array of objects matching that query, where each object is a document's data.

      This method is compatible with NeDB projections, allowing you to trim the returned data. Read more in the NeDB documentation.

      Even if nothing matches the given query, an array is returned.

      Parameters

      • collectionName: string

        The name of the collection that you wish to search through.

        @@ -130,36 +130,36 @@
      • Optionaloptions: findManyObjectsOptions

        Optional. Configuration for this database operation.

      Returns Promise<object[]>

      An instance of the collection's model.

      BigfootDS

      -
    • Query a collection and receive the first document matching that query, returned as a document instance.

      This method is NOT compatible with NeDB projections, and thus returns an instance of the document used by the specified collection.

      Parameters

      Returns Promise<null | NedbDocument>

      An instance of the collection's model.

      BigfootDS

      -
    • Query a collection and receive the first document matching that query, returned as a plain object.

      +
    • Query a collection and receive the first document matching that query, returned as a plain object.

      This method is compatible with NeDB projections, allowing you to trim the returned data. Read more in the NeDB documentation.

      Parameters

      Returns Promise<null | object>

      An instance of the collection's model.

      BigfootDS

      -
    • Retrieve the collection meta object stored on the NeDB client instance matching a given collection name.

      Parameters

      • collectionName: string

        A string of the collection name to target within the database.

      Returns CollectionAccessor

      An object containing helper properties to perform collection-related operations.

      BigfootDS

      -
    • Insert an array of objects of data into the database, following a document schema, and return the saved array of objects of data.

      +
    • Insert an array of objects of data into the database, following a document schema, and return the saved array of objects of data.

      Parameters

      • collectionName: string

        The name of the collection to insert the data into.

      • dataObjectArray: object[]

        The data to be inserted.

      Returns Promise<object[]>

      The data saved in the database, as an object.

      BigfootDS

      -
    • Insert an object of data into the database, following a document schema, and return the saved object of data.

      +
    • Insert an object of data into the database, following a document schema, and return the saved object of data.

      Parameters

      • collectionName: string

        The name of the collection to insert the data into.

      • dataObject: object

        The data to be inserted.

      Returns Promise<object>

      The data saved in the database, as an object.

      BigfootDS

      -
    • Remove a collection's index from an array of given field names.

      Parameters

      • collectionName: string

        A string of the collection name to target within the database.

      • fieldNames: string[]

        An array containing one or more fields on the collection that you'd like to remove the index from.

      Returns Promise<void>

      Promise.

      BigfootDS

      -
    +
    diff --git a/classes/Classes.NedbDocument.html b/classes/Classes.NedbDocument.html index dd86074..012c134 100644 --- a/classes/Classes.NedbDocument.html +++ b/classes/Classes.NedbDocument.html @@ -1,4 +1,4 @@ -NedbDocument | SuperCamo - v1.0.5

    Hierarchy (view full)

    Constructors

    constructor +NedbDocument | SuperCamo - v1.0.5

    Hierarchy (view full)

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    rules: {
        [key: string]: DocumentKeyRule;
    }

    Define your document's properties in here!

    +

    Constructors

    Properties

    rules: {
        [key: string]: DocumentKeyRule;
    }

    Define your document's properties in here!

    BigfootDS

    -

    Accessors

    Accessors

    • get collectionName(): null | string
    • Read-only string containing the name of the database collection that this document instance comes from.

      If this is null, assume that this document instance does not represent any data stored in a database.

      Returns null | string

      BigfootDS

      -
    • get parentDatabaseName(): null | string
    • Read-only string containing the name of the database that this document instance comes from.

      If this is null, assume that this document instance does not represent any data stored in a database.

      Returns null | string

      BigfootDS

      -

    Methods

    • Delete this document from the database client that it lives in.

      +

    Methods

    • Delete this document from the database client that it lives in.

      If you're using a databaseless-document instance, this method will throw an error!

      Parameters

      • OptionaldeleteReferences: boolean

        Similar to deepDeleteReferences, but you can pick one or the other. If true, all referenced documents will also delete themselves. If those referenced documents also reference additional documents, those documents are unaffected and may become orphaned.

      • OptionaldeepDeleteReferences: boolean

        Similar to deleteReferences, but you can pick one or the other. If true, all referenced documents will also delete themselves and recursively delete any documents that they also reference.

      Returns Promise<number>

      Number of documents deleted. You'd want this to be just 1. Other functions may use this number to create a greater tally (eg. a database client's findAndDeleteMany method).

      BigfootDS

      -
    • Save the document to the database. If the document doesn't already exist in the database, it will be added to the database automatically.

      This function also runs any preSave and postSave methods defined on the document.

      Returns Promise<boolean>

      BigfootDS

      -
    • This document instance's data, and only the data, organized onto an object.

      This does not retrieve any referenced document's data, it's just a shallow object representation of this own document!

      Returns object

      Object containing data from the document instance.

      BigfootDS

      -
    • Create an instance of the document's type. This does not write any data to a database.

      Type Parameters

      Parameters

      • this: (new (incomingData: object, incomingParentDatabaseName: string, incomingCollectionName: string) => Type)
          • new (incomingData, incomingParentDatabaseName, incomingCollectionName): Type
          • Parameters

            • incomingData: object
            • incomingParentDatabaseName: string
            • incomingCollectionName: string

            Returns Type

      • newData: object

        Object containing keys of data that the document requires per its schema.

      • newParentDatabaseName: string

        The name of the database/client that is managing this data.

      • newCollectionName: string

        The name of the collection that is using this document as a model for its data.

      • OptionalvalidateOnCreate: boolean = true

        Boolean flag for whether or not a document instance created with this method should be validated ASAP. Default is true.

      Returns Promise<Type>

      BigfootDS

      -
    +
    diff --git a/classes/Classes.NedbEmbeddedDocument.html b/classes/Classes.NedbEmbeddedDocument.html index 21c5d73..f99291b 100644 --- a/classes/Classes.NedbEmbeddedDocument.html +++ b/classes/Classes.NedbEmbeddedDocument.html @@ -1,4 +1,4 @@ -NedbEmbeddedDocument | SuperCamo - v1.0.5

    Class NedbEmbeddedDocument

    Hierarchy (view full)

    Constructors

    constructor +NedbEmbeddedDocument | SuperCamo - v1.0.5

    Class NedbEmbeddedDocument

    Hierarchy (view full)

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    rules: {
        [key: string]: DocumentKeyRule;
    }

    Define your document's properties in here!

    +

    Constructors

    Properties

    rules: {
        [key: string]: DocumentKeyRule;
    }

    Define your document's properties in here!

    BigfootDS

    -

    Accessors

    Accessors

    • get collectionName(): null | string
    • Read-only string containing the name of the database collection that this document instance comes from.

      If this is null, assume that this document instance does not represent any data stored in a database.

      Returns null | string

      BigfootDS

      -
    • get parentDatabaseName(): null | string
    • Read-only string containing the name of the database that this document instance comes from.

      If this is null, assume that this document instance does not represent any data stored in a database.

      Returns null | string

      BigfootDS

      -

    Methods

    • Delete this document from the database client that it lives in.

      +

    Methods

    • Delete this document from the database client that it lives in.

      If you're using a databaseless-document instance, this method will throw an error!

      Parameters

      • OptionaldeleteReferences: boolean

        Similar to deepDeleteReferences, but you can pick one or the other. If true, all referenced documents will also delete themselves. If those referenced documents also reference additional documents, those documents are unaffected and may become orphaned.

      • OptionaldeepDeleteReferences: boolean

        Similar to deleteReferences, but you can pick one or the other. If true, all referenced documents will also delete themselves and recursively delete any documents that they also reference.

      Returns Promise<number>

      Number of documents deleted. You'd want this to be just 1. Other functions may use this number to create a greater tally (eg. a database client's findAndDeleteMany method).

      BigfootDS

      -
    • Save the document to the database. If the document doesn't already exist in the database, it will be added to the database automatically.

      This function also runs any preSave and postSave methods defined on the document.

      Returns Promise<boolean>

      BigfootDS

      -
    • This document instance's data, and only the data, organized onto an object.

      This does not retrieve any referenced document's data, it's just a shallow object representation of this own document!

      Returns object

      Object containing data from the document instance.

      BigfootDS

      -
    • Create an instance of the document's type. This does not write any data to a database.

      Type Parameters

      Parameters

      • this: (new (incomingData: object, incomingParentDatabaseName: string, incomingCollectionName: string) => Type)
          • new (incomingData, incomingParentDatabaseName, incomingCollectionName): Type
          • Parameters

            • incomingData: object
            • incomingParentDatabaseName: string
            • incomingCollectionName: string

            Returns Type

      • newData: object

        Object containing keys of data that the document requires per its schema.

      • newParentDatabaseName: string

        The name of the database/client that is managing this data.

      • newCollectionName: string

        The name of the collection that is using this document as a model for its data.

      • OptionalvalidateOnCreate: boolean = true

        Boolean flag for whether or not a document instance created with this method should be validated ASAP. Default is true.

      Returns Promise<Type>

      BigfootDS

      -
    +
    diff --git a/classes/Classes.SuperCamo.html b/classes/Classes.SuperCamo.html index fa4cd21..9e94def 100644 --- a/classes/Classes.SuperCamo.html +++ b/classes/Classes.SuperCamo.html @@ -1,4 +1,4 @@ -SuperCamo | SuperCamo - v1.0.5

    Properties

    clients +SuperCamo | SuperCamo - v1.0.5

    Properties

    Accessors

    Methods

    clientConnect clientDelete @@ -9,25 +9,25 @@
    	let pokemonDatabase = SuperCamo.clientConnect(
    "Pokemon Database",
    "./Storage",
    [
    new CollectionListEntry("Users", User),
    new CollectionListEntry("CapturedPokemon", Pokemon),
    new CollectionListEntry("WildPokemon", Pokemon)
    ]
    );
    -

    Accessors

    Accessors

    Methods

    Methods

    • Create a database client instance, connecting to it and returning its instance.

      Parameters

      • databaseName: string

        A unique name for the database.

      • OptionaldatabaseDirectory: string = ""

        The folder path for where the database and its collections will be stored.

      • OptionalcollectionsList: CollectionsListEntry[] = []

        An array of collections, where each item in this array is an object containing the name of the collection and the model or document that the collection will use.

      • OptionalclientType: typeof NedbClient = NedbClient

        A custom type of database client, though you can leave this blank to use the default SuperCamo database client.

      Returns NedbClient

      The newly-created database client instance.

      BigfootDS

      -
    • Disconnect from the specified database AND delete its files. This is extremely destructive! Be careful!

      Parameters

      • targetClient: string

        The name of the database that you wish to disconnect from.

      Returns number

      Number of clients disconnected.

      BigfootDS

      -
    • Disconnect from the specified database.

      Parameters

      • targetClient: string

        The name of the database that you wish to disconnect from.

      Returns number

      Number of clients disconnected.

      BigfootDS

      -
    • Create an accessor for a database that is connected in the app.

      Parameters

      • targetClient: string

        The name of the database that you wish to connect to.

      Returns null | NedbClient

      A NedbClient instance.

      BigfootDS

      -
    +
    diff --git a/classes/Error_Classes.CollectionAccessError.html b/classes/Error_Classes.CollectionAccessError.html index 81fcd17..3b427c8 100644 --- a/classes/Error_Classes.CollectionAccessError.html +++ b/classes/Error_Classes.CollectionAccessError.html @@ -1,11 +1,11 @@ -CollectionAccessError | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • CollectionAccessError

    Constructors

    constructor +CollectionAccessError | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • CollectionAccessError

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.DeleteFailure.html b/classes/Error_Classes.DeleteFailure.html index a27be97..ce95d3f 100644 --- a/classes/Error_Classes.DeleteFailure.html +++ b/classes/Error_Classes.DeleteFailure.html @@ -1,11 +1,11 @@ -DeleteFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • DeleteFailure

    Constructors

    constructor +DeleteFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • DeleteFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.PostDeleteFailure.html b/classes/Error_Classes.PostDeleteFailure.html index 6f97ee5..a15ca44 100644 --- a/classes/Error_Classes.PostDeleteFailure.html +++ b/classes/Error_Classes.PostDeleteFailure.html @@ -1,11 +1,11 @@ -PostDeleteFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PostDeleteFailure

    Constructors

    constructor +PostDeleteFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PostDeleteFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.PostSaveFailure.html b/classes/Error_Classes.PostSaveFailure.html index 1eb9d64..76b75e9 100644 --- a/classes/Error_Classes.PostSaveFailure.html +++ b/classes/Error_Classes.PostSaveFailure.html @@ -1,11 +1,11 @@ -PostSaveFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PostSaveFailure

    Constructors

    constructor +PostSaveFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PostSaveFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.PostValidationFailure.html b/classes/Error_Classes.PostValidationFailure.html index 3735908..26bd5b9 100644 --- a/classes/Error_Classes.PostValidationFailure.html +++ b/classes/Error_Classes.PostValidationFailure.html @@ -1,11 +1,11 @@ -PostValidationFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PostValidationFailure

    Constructors

    constructor +PostValidationFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PostValidationFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.PreDeleteFailure.html b/classes/Error_Classes.PreDeleteFailure.html index d5bc8d2..32b61eb 100644 --- a/classes/Error_Classes.PreDeleteFailure.html +++ b/classes/Error_Classes.PreDeleteFailure.html @@ -1,11 +1,11 @@ -PreDeleteFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PreDeleteFailure

    Constructors

    constructor +PreDeleteFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PreDeleteFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.PreSaveFailure.html b/classes/Error_Classes.PreSaveFailure.html index 2c12600..534a2f6 100644 --- a/classes/Error_Classes.PreSaveFailure.html +++ b/classes/Error_Classes.PreSaveFailure.html @@ -1,11 +1,11 @@ -PreSaveFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PreSaveFailure

    Constructors

    constructor +PreSaveFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PreSaveFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.PreValidationFailure.html b/classes/Error_Classes.PreValidationFailure.html index d037a52..02c3e4c 100644 --- a/classes/Error_Classes.PreValidationFailure.html +++ b/classes/Error_Classes.PreValidationFailure.html @@ -1,11 +1,11 @@ -PreValidationFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PreValidationFailure

    Constructors

    constructor +PreValidationFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • PreValidationFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.SaveFailure.html b/classes/Error_Classes.SaveFailure.html index 510353f..86aeade 100644 --- a/classes/Error_Classes.SaveFailure.html +++ b/classes/Error_Classes.SaveFailure.html @@ -1,11 +1,11 @@ -SaveFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • SaveFailure

    Constructors

    constructor +SaveFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • SaveFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailure.html b/classes/Error_Classes.ValidationFailure.html index d329cd8..287f161 100644 --- a/classes/Error_Classes.ValidationFailure.html +++ b/classes/Error_Classes.ValidationFailure.html @@ -1,11 +1,11 @@ -ValidationFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • ValidationFailure

    Constructors

    constructor +ValidationFailure | SuperCamo - v1.0.5

    Hierarchy

    • Error
      • ValidationFailure

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailureMinMaxError.html b/classes/Error_Classes.ValidationFailureMinMaxError.html index 5c7fd30..05fcf52 100644 --- a/classes/Error_Classes.ValidationFailureMinMaxError.html +++ b/classes/Error_Classes.ValidationFailureMinMaxError.html @@ -1,11 +1,11 @@ -ValidationFailureMinMaxError | SuperCamo - v1.0.5

    Class ValidationFailureMinMaxError

    Hierarchy

    • Error
      • ValidationFailureMinMaxError

    Constructors

    constructor +ValidationFailureMinMaxError | SuperCamo - v1.0.5

    Class ValidationFailureMinMaxError

    Hierarchy

    • Error
      • ValidationFailureMinMaxError

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailureMissingValueForProperty.html b/classes/Error_Classes.ValidationFailureMissingValueForProperty.html index 681795c..ae7f750 100644 --- a/classes/Error_Classes.ValidationFailureMissingValueForProperty.html +++ b/classes/Error_Classes.ValidationFailureMissingValueForProperty.html @@ -1,11 +1,11 @@ -ValidationFailureMissingValueForProperty | SuperCamo - v1.0.5

    Class ValidationFailureMissingValueForProperty

    Hierarchy

    • Error
      • ValidationFailureMissingValueForProperty

    Constructors

    constructor +ValidationFailureMissingValueForProperty | SuperCamo - v1.0.5

    Class ValidationFailureMissingValueForProperty

    Hierarchy

    • Error
      • ValidationFailureMissingValueForProperty

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailureMissingValueForReferencedDoc.html b/classes/Error_Classes.ValidationFailureMissingValueForReferencedDoc.html index 8ff5779..0db39c0 100644 --- a/classes/Error_Classes.ValidationFailureMissingValueForReferencedDoc.html +++ b/classes/Error_Classes.ValidationFailureMissingValueForReferencedDoc.html @@ -1,11 +1,11 @@ -ValidationFailureMissingValueForReferencedDoc | SuperCamo - v1.0.5

    Class ValidationFailureMissingValueForReferencedDoc

    Hierarchy

    • Error
      • ValidationFailureMissingValueForReferencedDoc

    Constructors

    constructor +ValidationFailureMissingValueForReferencedDoc | SuperCamo - v1.0.5

    Class ValidationFailureMissingValueForReferencedDoc

    Hierarchy

    • Error
      • ValidationFailureMissingValueForReferencedDoc

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailureReferenceWithoutDatabase.html b/classes/Error_Classes.ValidationFailureReferenceWithoutDatabase.html index 2c27bf6..30eb6af 100644 --- a/classes/Error_Classes.ValidationFailureReferenceWithoutDatabase.html +++ b/classes/Error_Classes.ValidationFailureReferenceWithoutDatabase.html @@ -1,11 +1,11 @@ -ValidationFailureReferenceWithoutDatabase | SuperCamo - v1.0.5

    Class ValidationFailureReferenceWithoutDatabase

    Hierarchy

    • Error
      • ValidationFailureReferenceWithoutDatabase

    Constructors

    constructor +ValidationFailureReferenceWithoutDatabase | SuperCamo - v1.0.5

    Class ValidationFailureReferenceWithoutDatabase

    Hierarchy

    • Error
      • ValidationFailureReferenceWithoutDatabase

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailureUnexpectedProperty.html b/classes/Error_Classes.ValidationFailureUnexpectedProperty.html index 8510cba..42fad17 100644 --- a/classes/Error_Classes.ValidationFailureUnexpectedProperty.html +++ b/classes/Error_Classes.ValidationFailureUnexpectedProperty.html @@ -1,11 +1,11 @@ -ValidationFailureUnexpectedProperty | SuperCamo - v1.0.5

    Class ValidationFailureUnexpectedProperty

    Hierarchy

    • Error
      • ValidationFailureUnexpectedProperty

    Constructors

    constructor +ValidationFailureUnexpectedProperty | SuperCamo - v1.0.5

    Class ValidationFailureUnexpectedProperty

    Hierarchy

    • Error
      • ValidationFailureUnexpectedProperty

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/Error_Classes.ValidationFailureValueNotInChoices.html b/classes/Error_Classes.ValidationFailureValueNotInChoices.html index 3a0be1f..306185c 100644 --- a/classes/Error_Classes.ValidationFailureValueNotInChoices.html +++ b/classes/Error_Classes.ValidationFailureValueNotInChoices.html @@ -1,11 +1,11 @@ -ValidationFailureValueNotInChoices | SuperCamo - v1.0.5

    Class ValidationFailureValueNotInChoices

    Hierarchy

    • Error
      • ValidationFailureValueNotInChoices

    Constructors

    constructor +ValidationFailureValueNotInChoices | SuperCamo - v1.0.5

    Class ValidationFailureValueNotInChoices

    Hierarchy

    • Error
      • ValidationFailureValueNotInChoices

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/documents/Quick_Start.html b/documents/Quick_Start.html index ebe6545..4028ed1 100644 --- a/documents/Quick_Start.html +++ b/documents/Quick_Start.html @@ -1,4 +1,4 @@ -Quick Start | SuperCamo - v1.0.5

    This is a NoSQL "ODM" built for usage with NeDB. You can define schemas for the data that you want to store in a NeDB database, and the objects that get used within NeDB will obey the rules and functionalities defined by your schemas.

    +Quick Start | SuperCamo - v1.0.5

    This is a NoSQL "ODM" built for usage with NeDB. You can define schemas for the data that you want to store in a NeDB database, and the objects that get used within NeDB will obey the rules and functionalities defined by your schemas.

    It's like how MongooseJS is for MongoDB - SuperCamo is for NeDB.

    Install this package as a production dependency using this command:

    npm install @bigfootds/supercamo
    diff --git a/documents/The_Basics.00___Understanding_This_Package.html b/documents/The_Basics.00___Understanding_This_Package.html
    index 7acabed..8209abc 100644
    --- a/documents/The_Basics.00___Understanding_This_Package.html
    +++ b/documents/The_Basics.00___Understanding_This_Package.html
    @@ -1,4 +1,4 @@
    -00 - Understanding This Package | SuperCamo - v1.0.5

    SuperCamo is a package built as a wrapper around NeDB. It contains several key parts that you need to understand to really make good use of this package, and you would benefit from also digging around in NeDB package documentation - but we'll point that out when it's necessary in the other documentation pages.

    +00 - Understanding This Package | SuperCamo - v1.0.5

    SuperCamo is a package built as a wrapper around NeDB. It contains several key parts that you need to understand to really make good use of this package, and you would benefit from also digging around in NeDB package documentation - but we'll point that out when it's necessary in the other documentation pages.

    This page will walk you through the key components of this package and briefly explain what they are, as well as when you need to use them.

    There are a lot of moving pieces in this system. In a nutshell:

    This package is all about making it easier to manage multiple NeDB database connections within a single app's lifetime. The SuperCamo singleton is how that happens.

    diff --git a/documents/The_Basics.01___The_SuperCamo_Singleton.html b/documents/The_Basics.01___The_SuperCamo_Singleton.html index af825ac..4680ece 100644 --- a/documents/The_Basics.01___The_SuperCamo_Singleton.html +++ b/documents/The_Basics.01___The_SuperCamo_Singleton.html @@ -1,4 +1,4 @@ -01 - The SuperCamo Singleton | SuperCamo - v1.0.5

    This package is all about making it easier to manage multiple NeDB database connections within a single app's lifetime. The SuperCamo singleton is how that happens.

    +01 - The SuperCamo Singleton | SuperCamo - v1.0.5

    This package is all about making it easier to manage multiple NeDB database connections within a single app's lifetime. The SuperCamo singleton is how that happens.

    Essentially, you should connect to a database via the SuperCamo singleton. The SuperCamo.clientConnect() function returns a reference to the database client instance, and that same instance can be retrieved again in any file that uses the SuperCamo singleton too.

    This means that when your app runs, you should follow this process:

      diff --git a/documents/The_Basics.02___Document_Basics.html b/documents/The_Basics.02___Document_Basics.html index 2e85ca1..3c9b1c6 100644 --- a/documents/The_Basics.02___Document_Basics.html +++ b/documents/The_Basics.02___Document_Basics.html @@ -1,4 +1,4 @@ -02 - Document Basics | SuperCamo - v1.0.5

      NeDB is a NoSQL database. That means that instead of tables and rows to represent entities of data, we use collections of documents.

      +02 - Document Basics | SuperCamo - v1.0.5

      NeDB is a NoSQL database. That means that instead of tables and rows to represent entities of data, we use collections of documents.

      Traditionally, one NeDB datastore is one collection. SuperCamo manages that for you, so you just have to assign a document and a collection name to a database client to make that work the same way you'd expect from popular NoSQL systems like MongoDB and MongooseJS.

      Declaring a document is how you can define a schema or structure for your data.

      Like so:

      diff --git a/documents/The_Basics.03___Embedded_Document_Basics.html b/documents/The_Basics.03___Embedded_Document_Basics.html index 36f36c3..23df51c 100644 --- a/documents/The_Basics.03___Embedded_Document_Basics.html +++ b/documents/The_Basics.03___Embedded_Document_Basics.html @@ -1,4 +1,4 @@ -03 - Embedded Document Basics | SuperCamo - v1.0.5

      Subdocuments or embedded documents are a way of structuring complex data nested within documents. While a document can have objects as its properties/fields, it's typically more straightforward to create embedded documents to represent objects instead.

      +03 - Embedded Document Basics | SuperCamo - v1.0.5

      Subdocuments or embedded documents are a way of structuring complex data nested within documents. While a document can have objects as its properties/fields, it's typically more straightforward to create embedded documents to represent objects instead.

      Embedded documents have their own validation step, so you can configure validation rules in a declared embedded document and they will run when the document that contains the embedded document runs. Might sound hard to keep track of, but basically: embedded documents are identical to regular documents, except you cannot use embedded documents as standalone documents. They can only exist as properties within documents.

      For example:

      const {NedbEmbeddedDocument} = require('@bigfootds/supercamo');
      const ISO6391 = require('iso-639-1');
      let allowedLanguageCodes = ISO6391.getAllCodes();

      class LocalizedContent extends NedbEmbeddedDocument {
      constructor(data, databaseName, collectionName){
      super(data, databaseName, collectionName);

      /**
      * A two-letter language code that matches the language of this subdocument's name and content.
      * Examples: "EN", "FR", "DE"
      * Refer to the ISO-639-1 standard online for the full list of usable codes.
      */
      this.language = {
      type: String,
      choices: allowedLanguageCodes,
      unique: false,
      required: true
      }

      /**
      * Content written in the language assigned to this.language.
      */
      this.content = {
      type: String,
      required: true,
      unique: false
      }
      }

      }


      module.exports = { LocalizedContent }; diff --git a/documents/The_Basics.04___DB_Client_Basics.html b/documents/The_Basics.04___DB_Client_Basics.html index a0e7322..eaa462c 100644 --- a/documents/The_Basics.04___DB_Client_Basics.html +++ b/documents/The_Basics.04___DB_Client_Basics.html @@ -1,4 +1,4 @@ -04 - DB Client Basics | SuperCamo - v1.0.5

      The database client is the main way that you should be interacting with the database in this package.

      +04 - DB Client Basics | SuperCamo - v1.0.5

      The database client is the main way that you should be interacting with the database in this package.

      To work with data based on the documents that you've defined, you must create an instance of a database client.

      Essentially, we must tell each database client instance which documents (a.k.a models) they're allowed to use. We do this by specifying a key-value pair list of collections and their models.

      const SuperCamo = require("@bigfootds/supercamo");

      let exampleDb = await SuperCamo.connect(
      "SomeDatabaseName",
      path.join(process.cwd(), "databases", "SomeDatabaseName"),
      [
      {name: "Users", model: User},
      {name: "Admins", model: User},
      {name: "Profiles", model: Profile},
      {name: "Config", model: Settings}
      ]
      ); diff --git a/documents/The_Basics.html b/documents/The_Basics.html index 0b4746b..bc63822 100644 --- a/documents/The_Basics.html +++ b/documents/The_Basics.html @@ -1,4 +1,4 @@ -The Basics | SuperCamo - v1.0.5

      This section introduces the fundamental concepts that this package relies on. There are only a few main components. In general, when using this package, you will want to:

      +The Basics | SuperCamo - v1.0.5

      This section introduces the fundamental concepts that this package relies on. There are only a few main components. In general, when using this package, you will want to:

      1. Define your documents and subdocuments.
      2. Create database client instances that use your defined documents and their subdocuments.
      3. diff --git a/documents/Tips___Tricks.html b/documents/Tips___Tricks.html index 2f56131..d2641e3 100644 --- a/documents/Tips___Tricks.html +++ b/documents/Tips___Tricks.html @@ -1,4 +1,4 @@ -Tips & Tricks | SuperCamo - v1.0.5

        There are some cool things that you can do with this package!

        +Tips & Tricks | SuperCamo - v1.0.5

        There are some cool things that you can do with this package!

        TypeScript can pick up more information from this package than regular JavaScript can. This isn't a huge deal, but it does help in some situations, such as when you're declaring the rules within a document.

        When your cursor is within a rule object, you can enter a keyboard shortcut to show all compatible values based on your cursor's position. In TypeScript, this will show all possible constraints that you can define in a document's rule. Like so:

        A screenshot of Visual Studio Code, showing an intellisense menu pop-up.

        diff --git a/functions/Logging.SuperCamoLogger.html b/functions/Logging.SuperCamoLogger.html index 86f579f..cef0201 100644 --- a/functions/Logging.SuperCamoLogger.html +++ b/functions/Logging.SuperCamoLogger.html @@ -1,4 +1,4 @@ -SuperCamoLogger | SuperCamo - v1.0.5

        Function SuperCamoLogger

        • Pass a string to this, and it'll automatically figure out which NodeJS util.DebugLogger to use.

          +SuperCamoLogger | SuperCamo - v1.0.5

          Function SuperCamoLogger

          • Pass a string to this, and it'll automatically figure out which NodeJS util.DebugLogger to use.

            This is not a function that you should be using within your own project's code, but this is more for anyone who is contributing to SuperCamo development to use.

            If you're not a contributor, you may just wanna stick to the parent "Logging" page so you can see the NODE_DEBUG values that you can use to see this package's logger output instead.

            You would use this within the SuperCamo package's code in place of console.log statements. Refer to the example section below.

            @@ -8,4 +8,4 @@

      BigfootDS

      -
      +
      diff --git a/hierarchy.html b/hierarchy.html index ebaf5d2..902df62 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -SuperCamo - v1.0.5
      +SuperCamo - v1.0.5
      diff --git a/index.html b/index.html index f052ea9..7e663cc 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -SuperCamo - v1.0.5

      SuperCamo - v1.0.5

      SuperCamo

      SuperCamo is a Camo-inspired object data modeller (ODM) for NeDB, built specifically for BigfootDS' needs.

      +SuperCamo - v1.0.5

      SuperCamo - v1.0.5

      SuperCamo

      SuperCamo is a Camo-inspired object data modeller (ODM) for NeDB, built specifically for BigfootDS' needs.

      This package was inspired by Scott Robinson's Camo ODM - but BigfootDS had some specific needs and an urge to try out TypeScript. We greatly appreciate what Camo is and does!

      BigfootDS

      -

      Storage of the document data, used when making instances of document-based classes to create documents.

      +

      Storage of the document data, used when making instances of document-based classes to create documents.

      eg. this.username would define the rules that the data must obey for the username property of a document, while the actual data for username should live in this.data.username.

      BigfootDS

      -
      parentDatabaseName: null | string

      The name of the database that the data for this document instance has come from. Useful for checking if a database already has this document, from the document or generic functions.

      +
      parentDatabaseName: null | string

      The name of the database that the data for this document instance has come from. Useful for checking if a database already has this document, from the document or generic functions.

      However, this will be null if the document instance was created without the involvement of a database query.

      No value:

      let newUser = await User.create({username:"alex"});
      console.log(newUser.parentDatabaseName); // null/undefined expected @@ -26,4 +26,4 @@

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.CollectionAccessor.html b/interfaces/Interfaces.CollectionAccessor.html index dc36cd5..fb02201 100644 --- a/interfaces/Interfaces.CollectionAccessor.html +++ b/interfaces/Interfaces.CollectionAccessor.html @@ -1,13 +1,13 @@ -CollectionAccessor | SuperCamo - v1.0.5

      Interface CollectionAccessor

      interface CollectionAccessor {
          datastore: Nedb<Record<string, any>>;
          model: typeof NedbDocument;
          name: string;
          path: string;
      }

      Implemented by

      Properties

      datastore +CollectionAccessor | SuperCamo - v1.0.5

      Interface CollectionAccessor

      interface CollectionAccessor {
          datastore: Nedb<Record<string, any>>;
          model: typeof NedbDocument;
          name: string;
          path: string;
      }

      Implemented by

      Properties

      datastore: Nedb<Record<string, any>>

      Reference to the NeDB Datastore object for this collection.

      BigfootDS

      -
      model: typeof NedbDocument

      Reference to the NedbDocument-inheriting class used to define the collection's data structure.

      +
      model: typeof NedbDocument

      Reference to the NedbDocument-inheriting class used to define the collection's data structure.

      BigfootDS

      -
      name: string

      Name of the collection.

      +
      name: string

      Name of the collection.

      BigfootDS

      -
      path: string

      Path to its ".db" NeDB file.

      +
      path: string

      Path to its ".db" NeDB file.

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.CollectionsListEntry.html b/interfaces/Interfaces.CollectionsListEntry.html index 943e3c4..69472e7 100644 --- a/interfaces/Interfaces.CollectionsListEntry.html +++ b/interfaces/Interfaces.CollectionsListEntry.html @@ -1,7 +1,7 @@ -CollectionsListEntry | SuperCamo - v1.0.5

      Interface CollectionsListEntry

      interface CollectionsListEntry {
          model: typeof NedbDocument;
          name: string;
      }

      Implemented by

      Properties

      model +CollectionsListEntry | SuperCamo - v1.0.5

      Interface CollectionsListEntry

      interface CollectionsListEntry {
          model: typeof NedbDocument;
          name: string;
      }

      Implemented by

      Properties

      Properties

      model: typeof NedbDocument

      Reference to the NedbDocument-inheriting class used to define the collection's data structure.

      BigfootDS

      -
      name: string

      Name of the collection.

      +
      name: string

      Name of the collection.

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.DocumentBaseData.html b/interfaces/Interfaces.DocumentBaseData.html index 219b599..3881f65 100644 --- a/interfaces/Interfaces.DocumentBaseData.html +++ b/interfaces/Interfaces.DocumentBaseData.html @@ -1 +1 @@ -DocumentBaseData | SuperCamo - v1.0.5
      +DocumentBaseData | SuperCamo - v1.0.5
      diff --git a/interfaces/Interfaces.DocumentConstructorData.html b/interfaces/Interfaces.DocumentConstructorData.html index 5aba291..b24cabb 100644 --- a/interfaces/Interfaces.DocumentConstructorData.html +++ b/interfaces/Interfaces.DocumentConstructorData.html @@ -1,2 +1,2 @@ -DocumentConstructorData | SuperCamo - v1.0.5

      Interface DocumentConstructorData

      interface DocumentConstructorData {
          _id?: string;
      }

      Hierarchy (view full)

      Properties

      Properties

      _id?: string
      +DocumentConstructorData | SuperCamo - v1.0.5

      Interface DocumentConstructorData

      interface DocumentConstructorData {
          _id?: string;
      }

      Hierarchy (view full)

      Properties

      Properties

      _id?: string
      diff --git a/interfaces/Interfaces.DocumentKeyRule.html b/interfaces/Interfaces.DocumentKeyRule.html index 82dd434..554d04a 100644 --- a/interfaces/Interfaces.DocumentKeyRule.html +++ b/interfaces/Interfaces.DocumentKeyRule.html @@ -1,4 +1,4 @@ -DocumentKeyRule | SuperCamo - v1.0.5

      Interface DocumentKeyRule

      interface DocumentKeyRule {
          choices?: any[];
          collection?: string;
          default?: any;
          invalidateOnMinMaxError?: boolean;
          match?: string | RegExp;
          max?: number;
          maxLength?: number;
          min?: number;
          minLength?: number;
          padArrayValue?: any;
          padStringValue?: string;
          required?: boolean;
          type: any;
          unique?: boolean;
          validate?: Function;
      }

      Properties

      choices? +DocumentKeyRule | SuperCamo - v1.0.5

      Interface DocumentKeyRule

      interface DocumentKeyRule {
          choices?: any[];
          collection?: string;
          default?: any;
          invalidateOnMinMaxError?: boolean;
          match?: string | RegExp;
          max?: number;
          maxLength?: number;
          min?: number;
          minLength?: number;
          padArrayValue?: any;
          padStringValue?: string;
          required?: boolean;
          type: any;
          unique?: boolean;
          validate?: Function;
      }

      Properties

      choices?: any[]

      An array of data that should match the specified type, to restrict the possible values of this property.

      BigfootDS

      -
      collection?: string

      Used for properties that are references to other documents. The value of this should be the name of the collection that the referenced document lives in. +

      collection?: string

      Used for properties that are references to other documents. The value of this should be the name of the collection that the referenced document lives in. eg. collection: "Users", would be useful for refering to documents that live in a "Users" collection of a database. No, you cannot refer to collections that exist in separate database clients.

      BigfootDS

      -
      default?: any

      The default data of this property, to be used if no data is provided or if a soft-invalidation occurs.

      +
      default?: any

      The default data of this property, to be used if no data is provided or if a soft-invalidation occurs.

      BigfootDS

      -
      invalidateOnMinMaxError?: boolean

      Determines whether not an invalid value for min, max, minLength, and maxLength properties will throw an error or just roll-over and allow the value to exist. +

      invalidateOnMinMaxError?: boolean

      Determines whether not an invalid value for min, max, minLength, and maxLength properties will throw an error or just roll-over and allow the value to exist. Depending on the property, it may get replaced with a default or min or max value if this is set to false.

      BigfootDS

      -
      match?: string | RegExp

      The regex expression that will be run against this property's data value. If the regex doesn't match, validation fails.

      +
      match?: string | RegExp

      The regex expression that will be run against this property's data value. If the regex doesn't match, validation fails.

      BigfootDS

      -
      max?: number

      The highest value that this property can have for its data value. +

      max?: number

      The highest value that this property can have for its data value. For properties that are numbers.

      BigfootDS

      -
      maxLength?: number

      The highest length that this property can have for its data value. +

      maxLength?: number

      The highest length that this property can have for its data value. For properties that are strings or arrays.

      BigfootDS

      -
      min?: number

      The lowest value that this property can have for its data value. +

      min?: number

      The lowest value that this property can have for its data value. For properties that are numbers.

      BigfootDS

      -
      minLength?: number

      The shortest length that this property can have for its data value. +

      minLength?: number

      The shortest length that this property can have for its data value. For properties that are strings or arrays.

      BigfootDS

      -
      padArrayValue?: any

      If an array data value's length is too short, this is the value that will be used to pad the array until it meets the minLength property.

      +
      padArrayValue?: any

      If an array data value's length is too short, this is the value that will be used to pad the array until it meets the minLength property.

      BigfootDS

      -
      padStringValue?: string

      If a string data value is too short, this is the value that will be used to pad the data until it meets the minLength property.

      +
      padStringValue?: string

      If a string data value is too short, this is the value that will be used to pad the data until it meets the minLength property.

      BigfootDS

      -
      required?: boolean

      Whether or not a property defined in the document's rules object must have a value in its data.

      +
      required?: boolean

      Whether or not a property defined in the document's rules object must have a value in its data.

      BigfootDS

      -
      type: any

      A JavaScript class or type. +

      type: any

      A JavaScript class or type. This should be on every document key rule object, it is required. Various other constraints depend on the type!

      BigfootDS

      -
      unique?: boolean

      Whether or not the data value for this property should be unique within the database. This sets up a NeDB index, so it's not immediately checked at a SuperCamo level - but NeDB immediately enforces it.

      +
      unique?: boolean

      Whether or not the data value for this property should be unique within the database. This sets up a NeDB index, so it's not immediately checked at a SuperCamo level - but NeDB immediately enforces it.

      BigfootDS

      -
      validate?: Function

      A custom validate function that runs alongside any other constraints. The function must receive one parameter, which the document will pass in automatically - the parameter is the document's data for this property.

      +
      validate?: Function

      A custom validate function that runs alongside any other constraints. The function must receive one parameter, which the document will pass in automatically - the parameter is the document's data for this property.

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.DocumentObjectData.html b/interfaces/Interfaces.DocumentObjectData.html index e320a71..ad3bce3 100644 --- a/interfaces/Interfaces.DocumentObjectData.html +++ b/interfaces/Interfaces.DocumentObjectData.html @@ -1,2 +1,2 @@ -DocumentObjectData | SuperCamo - v1.0.5

      Interface DocumentObjectData

      interface DocumentObjectData {
          _id: string;
      }

      Hierarchy (view full)

      Properties

      _id -

      Properties

      _id: string
      +DocumentObjectData | SuperCamo - v1.0.5

      Interface DocumentObjectData

      interface DocumentObjectData {
          _id: string;
      }

      Hierarchy (view full)

      Properties

      _id +

      Properties

      _id: string
      diff --git a/interfaces/Interfaces.NedbClientEntry.html b/interfaces/Interfaces.NedbClientEntry.html index 50ab392..92e5eb6 100644 --- a/interfaces/Interfaces.NedbClientEntry.html +++ b/interfaces/Interfaces.NedbClientEntry.html @@ -1,16 +1,16 @@ -NedbClientEntry | SuperCamo - v1.0.5

      Interface NedbClientEntry

      interface NedbClientEntry {
          collections: CollectionAccessor[];
          documents: typeof NedbDocument[];
          embeddedDocuments: typeof NedbEmbeddedDocument[];
          name: string;
          path: string;
      }

      Implemented by

      Properties

      collections +NedbClientEntry | SuperCamo - v1.0.5

      Interface NedbClientEntry

      interface NedbClientEntry {
          collections: CollectionAccessor[];
          documents: typeof NedbDocument[];
          embeddedDocuments: typeof NedbEmbeddedDocument[];
          name: string;
          path: string;
      }

      Implemented by

      Properties

      collections: CollectionAccessor[]

      Array of collections used by this NeDB client. This is essentially where you track what models and collections are used in this particular database.

      BigfootDS

      -
      documents: typeof NedbDocument[]

      Array of documents used by the collections within this NeDB client. This should be a smaller array than the collections, since multiple collections could be using the same document.

      +
      documents: typeof NedbDocument[]

      Array of documents used by the collections within this NeDB client. This should be a smaller array than the collections, since multiple collections could be using the same document.

      BigfootDS

      -
      embeddedDocuments: typeof NedbEmbeddedDocument[]

      Array of subdocuments or embedded documents used by the documents within the collections of this NeDB client.

      +
      embeddedDocuments: typeof NedbEmbeddedDocument[]

      Array of subdocuments or embedded documents used by the documents within the collections of this NeDB client.

      BigfootDS

      -
      name: string

      Human-friendly name to identify the database when an app using SuperCamo is using multiple NeDB database connections simultaneously.

      +
      name: string

      Human-friendly name to identify the database when an app using SuperCamo is using multiple NeDB database connections simultaneously.

      BigfootDS

      -
      path: string

      The absolute file path to the folder that represents this NeDB client. Its collections are individual NeDB datastore files contained within this folder.

      +
      path: string

      The absolute file path to the folder that represents this NeDB client. Its collections are individual NeDB datastore files contained within this folder.

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.findManyDocumentsOptions.html b/interfaces/Interfaces.findManyDocumentsOptions.html index cd1a8dc..24b015e 100644 --- a/interfaces/Interfaces.findManyDocumentsOptions.html +++ b/interfaces/Interfaces.findManyDocumentsOptions.html @@ -1,6 +1,6 @@ -findManyDocumentsOptions | SuperCamo - v1.0.5

      Interface findManyDocumentsOptions

      Configuration object for methods that find many documents at once.

      +findManyDocumentsOptions | SuperCamo - v1.0.5

      Interface findManyDocumentsOptions

      Configuration object for methods that find many documents at once.

      BigfootDS

      -
      interface findManyDocumentsOptions {
          limit: number;
      }

      Properties

      interface findManyDocumentsOptions {
          limit: number;
      }

      Properties

      Properties

      limit: number

      A number to limit how many documents should be returned during a findMany operation.

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.findManyObjectsOptions.html b/interfaces/Interfaces.findManyObjectsOptions.html index b7c048a..9a0ed27 100644 --- a/interfaces/Interfaces.findManyObjectsOptions.html +++ b/interfaces/Interfaces.findManyObjectsOptions.html @@ -1,10 +1,10 @@ -findManyObjectsOptions | SuperCamo - v1.0.5

      Interface findManyObjectsOptions

      Configuration object for methods that find many documents as objects at once.

      +findManyObjectsOptions | SuperCamo - v1.0.5

      Interface findManyObjectsOptions

      Configuration object for methods that find many documents as objects at once.

      BigfootDS

      -
      interface findManyObjectsOptions {
          limit: number;
          projection: object;
      }

      Properties

      interface findManyObjectsOptions {
          limit: number;
          projection: object;
      }

      Properties

      Properties

      limit: number

      A number to limit how many documents should be returned during a findMany operation.

      BigfootDS

      -
      projection: object

      A NeDB projection object. This is passed along as-is to NeDB, so please refer to their documentation about projections.

      +
      projection: object

      A NeDB projection object. This is passed along as-is to NeDB, so please refer to their documentation about projections.

      https://github.com/louischatriot/nedb?tab=readme-ov-file#projections

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.findOneObjectOptions.html b/interfaces/Interfaces.findOneObjectOptions.html index 027ba92..7db9259 100644 --- a/interfaces/Interfaces.findOneObjectOptions.html +++ b/interfaces/Interfaces.findOneObjectOptions.html @@ -1,5 +1,5 @@ -findOneObjectOptions | SuperCamo - v1.0.5

      Interface findOneObjectOptions

      interface findOneObjectOptions {
          projection: object;
      }

      Properties

      projection +findOneObjectOptions | SuperCamo - v1.0.5

      Interface findOneObjectOptions

      interface findOneObjectOptions {
          projection: object;
      }

      Properties

      Properties

      projection: object

      A NeDB projection object. This is passed along as-is to NeDB, so please refer to their documentation about projections.

      https://github.com/louischatriot/nedb?tab=readme-ov-file#projections

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.updateManyOptions.html b/interfaces/Interfaces.updateManyOptions.html index a2d49fa..cfa3b88 100644 --- a/interfaces/Interfaces.updateManyOptions.html +++ b/interfaces/Interfaces.updateManyOptions.html @@ -1,11 +1,11 @@ -updateManyOptions | SuperCamo - v1.0.5

      Interface updateManyOptions

      Configuration object for methods that update many documents at once.

      +updateManyOptions | SuperCamo - v1.0.5

      Interface updateManyOptions

      Configuration object for methods that update many documents at once.

      BigfootDS

      -
      interface updateManyOptions {
          limit: number;
          upsert: boolean;
      }

      Properties

      interface updateManyOptions {
          limit: number;
          upsert: boolean;
      }

      Properties

      Properties

      limit: number

      A number to limit how many documents should be updated during an updateMany operation.

      BigfootDS

      -
      upsert: boolean

      During the requested update operation, if no document already exists that matches the query, this controls whether or not a new document should be created. +

      upsert: boolean

      During the requested update operation, if no document already exists that matches the query, this controls whether or not a new document should be created. If true: a new document is created. If false: no new document is created.

      BigfootDS

      -
      +
      diff --git a/interfaces/Interfaces.updateOptions.html b/interfaces/Interfaces.updateOptions.html index 4b9ebce..6f1cdd8 100644 --- a/interfaces/Interfaces.updateOptions.html +++ b/interfaces/Interfaces.updateOptions.html @@ -1,8 +1,8 @@ -updateOptions | SuperCamo - v1.0.5

      Interface updateOptions

      Configuration object for methods that update a singular document at a time.

      +updateOptions | SuperCamo - v1.0.5

      Interface updateOptions

      Configuration object for methods that update a singular document at a time.

      BigfootDS

      -
      interface updateOptions {
          upsert: boolean;
      }

      Properties

      interface updateOptions {
          upsert: boolean;
      }

      Properties

      Properties

      upsert: boolean

      During the requested update operation, if no document already exists that matches the query, this controls whether or not a new document should be created. If true: a new document is created. If false: no new document is created.

      BigfootDS

      -
      +
      diff --git a/interfaces/Package_Exports.SuperCamoInterfaces.html b/interfaces/Package_Exports.SuperCamoInterfaces.html deleted file mode 100644 index 1290bc8..0000000 --- a/interfaces/Package_Exports.SuperCamoInterfaces.html +++ /dev/null @@ -1,10 +0,0 @@ -SuperCamoInterfaces | SuperCamo - v1.0.5

      Interface SuperCamoInterfaces

      interface SuperCamoInterfaces {
          BaseDocument: BaseDocument;
          CollectionAccessor: CollectionAccessor;
          CollectionsListEntry: CollectionsListEntry;
          DocumentBaseData: DocumentBaseData;
          DocumentConstructorData: DocumentConstructorData;
          DocumentKeyRule: DocumentKeyRule;
          DocumentObjectData: DocumentObjectData;
          NedbClientEntry: NedbClientEntry;
          QueryOptions: {
              findManyDocumentsOptions: findManyDocumentsOptions;
              findManyObjectsOptions: findManyObjectsOptions;
              findOneObjectOptions: findOneObjectOptions;
              updateManyOptions: updateManyOptions;
              updateOptions: updateOptions;
          };
      }

      Properties

      BaseDocument: BaseDocument
      CollectionAccessor: CollectionAccessor
      CollectionsListEntry: CollectionsListEntry
      DocumentBaseData: DocumentBaseData
      DocumentConstructorData: DocumentConstructorData
      DocumentKeyRule: DocumentKeyRule
      DocumentObjectData: DocumentObjectData
      NedbClientEntry: NedbClientEntry
      QueryOptions: {
          findManyDocumentsOptions: findManyDocumentsOptions;
          findManyObjectsOptions: findManyObjectsOptions;
          findOneObjectOptions: findOneObjectOptions;
          updateManyOptions: updateManyOptions;
          updateOptions: updateOptions;
      }
      diff --git a/modules/Classes.html b/modules/Classes.html index e8d2074..8f8fd92 100644 --- a/modules/Classes.html +++ b/modules/Classes.html @@ -1,4 +1,4 @@ -Classes | SuperCamo - v1.0.5

      Module Classes

      These classes will be the most-common thing you'll interact with when using this package.

      +Classes | SuperCamo - v1.0.5

      Module Classes

      These classes will be the most-common thing you'll interact with when using this package.

      Typically, you'd be using the SuperCamo singleton class for its static methods and defining your own document models by inheriting from NedbDocument and NedbEmbeddedDocument classes.

      NodeJS CommonJS import:

      const {SuperCamo} = require("@bigfootds/supercamo");
      SuperCamo.clientConnect(/* params go here */); @@ -11,7 +11,7 @@
      -

      Index

      Classes

      Index

      Classes

      CollectionAccessor CollectionListEntry NedbBaseDocument NedbClient diff --git a/modules/Error_Classes.html b/modules/Error_Classes.html index ed3caa8..de4bf1e 100644 --- a/modules/Error_Classes.html +++ b/modules/Error_Classes.html @@ -1,4 +1,4 @@ -Error Classes | SuperCamo - v1.0.5

      Module Error Classes

      Index

      Classes

      CollectionAccessError +Error Classes | SuperCamo - v1.0.5

      Module Error Classes

      Index

      Classes

      CollectionAccessError DeleteFailure PostDeleteFailure PostSaveFailure diff --git a/modules/Interfaces.html b/modules/Interfaces.html index b9b2f85..50c920e 100644 --- a/modules/Interfaces.html +++ b/modules/Interfaces.html @@ -1,6 +1,6 @@ -Interfaces | SuperCamo - v1.0.5

      Module InterfacesInterface

      The core properties of any type of document used in SuperCamo.

      +Interfaces | SuperCamo - v1.0.5

      Module InterfacesInterface

      The core properties of any type of document used in SuperCamo.

      BigfootDS

      -

      Index

      Interfaces

      Index

      Interfaces

      BaseDocument CollectionAccessor CollectionsListEntry DocumentBaseData diff --git a/modules/Logging.html b/modules/Logging.html index 35efa34..f967ad3 100644 --- a/modules/Logging.html +++ b/modules/Logging.html @@ -1,4 +1,4 @@ -Logging | SuperCamo - v1.0.5

      Module Logging

      Configured logging system for the SuperCamo package.

      +Logging | SuperCamo - v1.0.5

      Module Logging

      Configured logging system for the SuperCamo package.

      This is not something for users of the SuperCamo package to directly use. Instead, this is something impacted by usage of the NODE_DEBUG environment variable.

      For example, if you want logging from multiple packages, including SuperCamo, you may want to set NODE_DEBUG to be or include "verbose". This would enable multiple packages to log. But if you only want SuperCamo to log, and not any other packages, you may want to set NODE_DEBUG to be or include "supercamo".

      @@ -13,5 +13,5 @@

    BigfootDS

    -

    Index

    Functions

    Index

    Functions

    diff --git a/modules/Package_Exports.html b/modules/Package_Exports.html index 8daf793..a739f96 100644 --- a/modules/Package_Exports.html +++ b/modules/Package_Exports.html @@ -1,4 +1,4 @@ -Package Exports | SuperCamo - v1.0.5

    Module Package Exports

    This is the content that you can import in your own code.

    +Package Exports | SuperCamo - v1.0.5

    Module Package Exports

    This is the content that you can import in your own code.

    NodeJS CommonJS import:

    const {NedbClient, SuperCamo} = require("@bigfootds/supercamo");
     
    @@ -10,12 +10,24 @@
    import {SuperCamo} from "@bigfootds/supercamo";
     
    -
    +updateManyOptions +updateOptions +

    References

    Re-exports BaseDocument
    Re-exports CollectionAccessor
    Renames and re-exports CollectionAccessor
    Re-exports CollectionListEntry
    Re-exports CollectionsListEntry
    Re-exports DocumentBaseData
    Re-exports DocumentConstructorData
    Re-exports DocumentKeyRule
    Re-exports DocumentObjectData
    Re-exports findManyDocumentsOptions
    Re-exports findManyObjectsOptions
    Re-exports findOneObjectOptions
    Renames and re-exports Error Classes
    Re-exports NedbClient
    Re-exports NedbClientEntry
    Re-exports NedbDocument
    Re-exports NedbEmbeddedDocument
    Re-exports SuperCamo
    Re-exports updateManyOptions
    Re-exports updateOptions
    diff --git a/sitemap.xml b/sitemap.xml index 1f86089..9390f70 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,214 +2,210 @@ https://bigfootds.github.io/supercamo/index.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/hierarchy.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/Quick_Start.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/The_Basics.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/The_Basics.00___Understanding_This_Package.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/The_Basics.01___The_SuperCamo_Singleton.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/The_Basics.02___Document_Basics.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/The_Basics.03___Embedded_Document_Basics.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/The_Basics.04___DB_Client_Basics.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/documents/Tips___Tricks.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/modules/Classes.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.CollectionAccessor.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.CollectionListEntry.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.NedbBaseDocument.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.NedbClient.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.NedbDocument.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.NedbEmbeddedDocument.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Classes.SuperCamo.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/modules/Error_Classes.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.CollectionAccessError.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.DeleteFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.PostDeleteFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.PostSaveFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.PostValidationFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.PreDeleteFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.PreSaveFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.PreValidationFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.SaveFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailure.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailureMinMaxError.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailureMissingValueForProperty.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailureMissingValueForReferencedDoc.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailureReferenceWithoutDatabase.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailureUnexpectedProperty.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/classes/Error_Classes.ValidationFailureValueNotInChoices.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/modules/Interfaces.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.BaseDocument.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.CollectionAccessor.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.CollectionsListEntry.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.DocumentBaseData.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.DocumentConstructorData.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.DocumentKeyRule.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.DocumentObjectData.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.findManyDocumentsOptions.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.findManyObjectsOptions.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.findOneObjectOptions.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.NedbClientEntry.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.updateManyOptions.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/interfaces/Interfaces.updateOptions.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/modules/Logging.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/functions/Logging.SuperCamoLogger.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z https://bigfootds.github.io/supercamo/modules/Package_Exports.html - 2024-10-19T06:55:57.953Z - - - https://bigfootds.github.io/supercamo/interfaces/Package_Exports.SuperCamoInterfaces.html - 2024-10-19T06:55:57.953Z + 2024-10-19T07:11:43.082Z