@directus/sdk
Advanced tools
Comparing version 11.0.1 to 11.0.2
@@ -1,2 +0,2 @@ | ||
import{a,b,c}from"../chunk-KG65M7S6.js";import"../chunk-CM3ZPHPK.js";export{b as authentication,a as memoryStorage,c as staticToken}; | ||
import{a,b,c}from"../chunk-XTTBDA4K.js";import"../chunk-CM3ZPHPK.js";export{b as authentication,a as memoryStorage,c as staticToken}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import{e as a}from"../chunk-KG65M7S6.js";import"../chunk-CM3ZPHPK.js";export{a as graphql}; | ||
import{e as a}from"../chunk-XTTBDA4K.js";import"../chunk-CM3ZPHPK.js";export{a as graphql}; | ||
//# sourceMappingURL=index.js.map |
@@ -6,5 +6,4 @@ export { authentication, memoryStorage, staticToken } from './auth/index.js'; | ||
export { EmailAuth, RefreshAuth, TokenAuth, auth, generateUid, messageCallback, pong, realtime, sleep } from './realtime/index.js'; | ||
export { af as AllCollections, T as ApplyManyToAnyFields, U as ApplyNestedQueryFields, O as ApplyQueryFields, C as CollectionMetaTranslationType, a7 as CollectionType, ae as CompleteSchema, j as CoreSchema, D as DirectusActivity, i as DirectusCollection, k as DirectusDashboard, l as DirectusField, o as DirectusFile, p as DirectusFlow, q as DirectusFolder, r as DirectusNotification, s as DirectusOperation, t as DirectusPanel, u as DirectusPermission, v as DirectusPreset, w as DirectusRelation, x as DirectusRevision, y as DirectusRole, z as DirectusSettings, A as DirectusShare, B as DirectusUser, E as DirectusWebhook, Y as ExtractItem, Z as ExtractRelation, m as FieldMetaConditionOptionType, F as FieldMetaConditionType, n as FieldMetaTranslationType, K as FieldsWildcard, a1 as FilterOperatorsByType, ag as GetCollection, ah as GetCollectionName, I as HasManyToAnyRelation, J as HasNestedFields, am as IfAny, an as IsAny, ao as IsNullable, a6 as ItemType, M as ManyToAnyFields, ak as Merge, ad as MergeCoreCollection, $ as MergeFields, a4 as MergeObjects, _ as MergeRelationalFields, ai as Mutable, ap as NestedPartial, al as NeverToUnknown, N as PickFlatFields, P as PickRelationalFields, aa as PrimitiveFields, X as Query, a5 as QueryAlias, a3 as QueryDeep, Q as QueryFields, H as QueryFieldsRelational, a0 as QueryFilter, a2 as QuerySort, a9 as RegularCollections, V as RelationNullable, ab as RelationalFields, L as RelationalQueryFields, R as RemoveEventHandler, ac as RemoveRelationships, a8 as SingletonCollections, S as SubscribeOptions, f as SubscriptionEvents, e as SubscriptionOptionsEvents, g as SubscriptionOutput, h as SubscriptionPayload, aj as UnpackList, W as WebSocketAuthModes, d as WebSocketClient, a as WebSocketConfig, c as WebSocketEventHandler, b as WebSocketEvents, G as WrapQueryFields } from './output-476d05a4.js'; | ||
export { dd as AggregateRecord, df as AggregationOptions, dg as AggregationOutput, dc as AggregationTypes, C as CreateActivityOutput, d as CreateCollectionOutput, f as CreateDashboardOutput, i as CreateFieldOutput, k as CreateFileOutput, n as CreateFlowOutput, s as CreateFolderOutput, w as CreateItemOutput, z as CreateNotificationOutput, D as CreateOperationOutput, G as CreatePanelOutput, J as CreatePermissionOutput, M as CreatePresetOutput, P as CreateRelationOutput, S as CreateRoleOutput, V as CreateShareOutput, Y as CreateTranslationOutput, $ as CreateUserOutput, a2 as CreateWebhookOutput, da as DirectusTranslation, aO as ExtensionTypes, cS as FileFormat, de as GroupByFields, db as GroupingFunctions, bU as OpenApiSpecOutput, aD as ReadActivityOutput, aH as ReadCollectionOutput, aK as ReadDashboardOutput, aN as ReadExtensionOutput, aQ as ReadFieldOutput, aU as ReadFileOutput, aX as ReadFlowOutput, a_ as ReadFolderOutput, b1 as ReadItemOutput, b4 as ReadNotificationOutput, b7 as ReadOperationOutput, ba as ReadPanelOutput, bd as ReadPermissionOutput, bg as ReadPresetOutput, R as ReadProviderOutput, bj as ReadRelationOutput, bn as ReadRevisionOutput, bq as ReadRoleOutput, bt as ReadSettingOutput, bv as ReadShareOutput, by as ReadSingletonOutput, bA as ReadTranslationOutput, bD as ReadUserOutput, bH as ReadWebhookOutput, bL as SchemaDiffOutput, bN as SchemaSnapshotOutput, bQ as ServerHealthOutput, bS as ServerInfoOutput, bX as UpdateActivityOutput, bZ as UpdateCollectionOutput, b$ as UpdateDashboardOutput, c2 as UpdateFieldOutput, c4 as UpdateFileOutput, c7 as UpdateFlowOutput, ca as UpdateFolderOutput, cd as UpdateItemOutput, cg as UpdateNotificationOutput, cj as UpdateOperationOutput, cm as UpdatePanelOutput, cp as UpdatePermissionOutput, cs as UpdatePresetOutput, cv as UpdateRelationOutput, cx as UpdateRoleOutput, cA as UpdateSettingOutput, cC as UpdateShareOutput, cF as UpdateSingletonOutput, cH as UpdateTranslationOutput, cK as UpdateUserOutput, cO as UpdateWebhookOutput, d2 as acceptUserInvite, aG as aggregate, d9 as asSearch, cZ as authenticateShare, cR as clearCache, e as createCollection, c as createComment, h as createDashboard, g as createDashboards, j as createField, q as createFlow, o as createFlows, v as createFolder, t as createFolders, y as createItem, x as createItems, B as createNotification, A as createNotifications, F as createOperation, E as createOperations, I as createPanel, H as createPanels, L as createPermission, K as createPermissions, O as createPreset, N as createPresets, Q as createRelation, U as createRole, T as createRoles, X as createShare, W as createShares, _ as createTranslation, Z as createTranslations, a1 as createUser, a0 as createUsers, a4 as createWebhook, a3 as createWebhooks, a6 as deleteCollection, a5 as deleteComment, a8 as deleteDashboard, a7 as deleteDashboards, a9 as deleteField, ab as deleteFile, aa as deleteFiles, ad as deleteFlow, ac as deleteFlows, af as deleteFolder, ae as deleteFolders, ah as deleteItem, ag as deleteItems, aj as deleteNotification, ai as deleteNotifications, al as deleteOperation, ak as deleteOperations, an as deletePanel, am as deletePanels, ap as deletePermission, ao as deletePermissions, ar as deletePreset, aq as deletePresets, as as deleteRelation, au as deleteRole, at as deleteRoles, aw as deleteShare, av as deleteShares, ay as deleteTranslation, ax as deleteTranslations, aA as deleteUser, az as deleteUsers, aC as deleteWebhook, aB as deleteWebhooks, d5 as disableTwoFactor, d4 as enableTwoFactor, cV as generateHash, d3 as generateTwoFactorSecret, m as importFile, c_ as inviteShare, d1 as inviteUser, l as logout, p as passwordRequest, a as passwordReset, d7 as queryToParams, aE as readActivities, aF as readActivity, aJ as readCollection, aI as readCollections, aM as readDashboard, aL as readDashboards, aP as readExtensions, aT as readField, aR as readFields, aS as readFieldsByCollection, aW as readFile, aV as readFiles, aZ as readFlow, aY as readFlows, b0 as readFolder, a$ as readFolders, bP as readGraphqlSdl, b3 as readItem, b2 as readItems, bG as readMe, b6 as readNotification, b5 as readNotifications, bV as readOpenApiSpec, b9 as readOperation, b8 as readOperations, bc as readPanel, bb as readPanels, bf as readPermission, be as readPermissions, bi as readPreset, bh as readPresets, r as readProviders, bm as readRelation, bl as readRelationByCollection, bk as readRelations, bp as readRevision, bo as readRevisions, bs as readRole, br as readRoles, bu as readSettings, bx as readShare, c$ as readShareInfo, bw as readShares, bz as readSingleton, bC as readTranslation, bB as readTranslations, bF as readUser, bE as readUsers, bJ as readWebhook, bI as readWebhooks, b as refresh, d6 as rest, bK as schemaApply, bM as schemaDiff, bO as schemaSnapshot, bR as serverHealth, bT as serverInfo, bW as serverPing, cU as triggerFlow, cY as triggerOperation, b_ as updateCollection, bY as updateComment, c1 as updateDashboard, c0 as updateDashboards, c3 as updateField, c6 as updateFile, c5 as updateFiles, c9 as updateFlow, c8 as updateFlows, cc as updateFolder, cb as updateFolders, cf as updateItem, ce as updateItems, cN as updateMe, ci as updateNotification, ch as updateNotifications, cl as updateOperation, ck as updateOperations, co as updatePanel, cn as updatePanels, cr as updatePermission, cq as updatePermissions, cu as updatePreset, ct as updatePresets, cw as updateRelation, cz as updateRole, cy as updateRoles, cB as updateSettings, cE as updateShare, cD as updateShares, cG as updateSingleton, cJ as updateTranslation, cI as updateTranslations, cM as updateUser, cL as updateUsers, cQ as updateWebhook, cP as updateWebhooks, u as uploadFiles, d0 as utilitySort, cT as utilsExport, cX as utilsImport, cW as verifyHash, d8 as withToken } from './index-0e55ee84.js'; | ||
import '@directus/types'; | ||
export { ak as AllCollections, a0 as ApplyManyToAnyFields, a1 as ApplyNestedQueryFields, $ as ApplyQueryFields, C as CollectionMetaTranslationType, ac as CollectionType, aj as CompleteSchema, j as CoreSchema, D as DirectusActivity, i as DirectusCollection, k as DirectusDashboard, l as DirectusField, o as DirectusFile, p as DirectusFlow, q as DirectusFolder, r as DirectusNotification, s as DirectusOperation, t as DirectusPanel, u as DirectusPermission, v as DirectusPreset, w as DirectusRelation, x as DirectusRevision, y as DirectusRole, z as DirectusSettings, A as DirectusShare, B as DirectusUser, E as DirectusWebhook, a4 as ExtractItem, a5 as ExtractRelation, m as FieldMetaConditionOptionType, F as FieldMetaConditionType, n as FieldMetaTranslationType, L as FieldsWildcard, V as FilterOperators, al as GetCollection, am as GetCollectionName, J as HasManyToAnyRelation, K as HasNestedFields, ar as IfAny, as as IsAny, at as IsNullable, ab as ItemType, Z as LogicalFilterOperators, M as ManyToAnyFields, ap as Merge, ai as MergeCoreCollection, a7 as MergeFields, a9 as MergeObjects, a6 as MergeRelationalFields, an as Mutable, au as NestedPartial, U as NestedQueryFilter, aq as NeverToUnknown, O as PickFlatFields, P as PickRelationalFields, af as PrimitiveFields, a3 as Query, aa as QueryAlias, Q as QueryDeep, G as QueryFields, I as QueryFieldsRelational, T as QueryFilter, a8 as QuerySort, ae as RegularCollections, a2 as RelationNullable, ag as RelationalFields, X as RelationalFilterOperators, N as RelationalQueryFields, R as RemoveEventHandler, ah as RemoveRelationships, ad as SingletonCollections, S as SubscribeOptions, f as SubscriptionEvents, e as SubscriptionOptionsEvents, g as SubscriptionOutput, h as SubscriptionPayload, ao as UnpackList, W as WebSocketAuthModes, d as WebSocketClient, a as WebSocketConfig, c as WebSocketEventHandler, b as WebSocketEvents, _ as WrapLogicalFilters, H as WrapQueryFields, Y as WrapRelationalFilters } from './output-0978c379.js'; | ||
export { dd as AggregateRecord, df as AggregationOptions, dg as AggregationOutput, dc as AggregationTypes, C as CreateActivityOutput, d as CreateCollectionOutput, f as CreateDashboardOutput, i as CreateFieldOutput, k as CreateFileOutput, n as CreateFlowOutput, s as CreateFolderOutput, w as CreateItemOutput, z as CreateNotificationOutput, D as CreateOperationOutput, G as CreatePanelOutput, J as CreatePermissionOutput, M as CreatePresetOutput, P as CreateRelationOutput, S as CreateRoleOutput, V as CreateShareOutput, Y as CreateTranslationOutput, $ as CreateUserOutput, a2 as CreateWebhookOutput, da as DirectusTranslation, aO as ExtensionTypes, cS as FileFormat, de as GroupByFields, db as GroupingFunctions, bU as OpenApiSpecOutput, aD as ReadActivityOutput, aH as ReadCollectionOutput, aK as ReadDashboardOutput, aN as ReadExtensionOutput, aQ as ReadFieldOutput, aU as ReadFileOutput, aX as ReadFlowOutput, a_ as ReadFolderOutput, b1 as ReadItemOutput, b4 as ReadNotificationOutput, b7 as ReadOperationOutput, ba as ReadPanelOutput, bd as ReadPermissionOutput, bg as ReadPresetOutput, R as ReadProviderOutput, bj as ReadRelationOutput, bn as ReadRevisionOutput, bq as ReadRoleOutput, bt as ReadSettingOutput, bv as ReadShareOutput, by as ReadSingletonOutput, bA as ReadTranslationOutput, bD as ReadUserOutput, bH as ReadWebhookOutput, bL as SchemaDiffOutput, bN as SchemaSnapshotOutput, bQ as ServerHealthOutput, bS as ServerInfoOutput, bX as UpdateActivityOutput, bZ as UpdateCollectionOutput, b$ as UpdateDashboardOutput, c2 as UpdateFieldOutput, c4 as UpdateFileOutput, c7 as UpdateFlowOutput, ca as UpdateFolderOutput, cd as UpdateItemOutput, cg as UpdateNotificationOutput, cj as UpdateOperationOutput, cm as UpdatePanelOutput, cp as UpdatePermissionOutput, cs as UpdatePresetOutput, cv as UpdateRelationOutput, cx as UpdateRoleOutput, cA as UpdateSettingOutput, cC as UpdateShareOutput, cF as UpdateSingletonOutput, cH as UpdateTranslationOutput, cK as UpdateUserOutput, cO as UpdateWebhookOutput, d2 as acceptUserInvite, aG as aggregate, d9 as asSearch, cZ as authenticateShare, cR as clearCache, e as createCollection, c as createComment, h as createDashboard, g as createDashboards, j as createField, q as createFlow, o as createFlows, v as createFolder, t as createFolders, y as createItem, x as createItems, B as createNotification, A as createNotifications, F as createOperation, E as createOperations, I as createPanel, H as createPanels, L as createPermission, K as createPermissions, O as createPreset, N as createPresets, Q as createRelation, U as createRole, T as createRoles, X as createShare, W as createShares, _ as createTranslation, Z as createTranslations, a1 as createUser, a0 as createUsers, a4 as createWebhook, a3 as createWebhooks, a6 as deleteCollection, a5 as deleteComment, a8 as deleteDashboard, a7 as deleteDashboards, a9 as deleteField, ab as deleteFile, aa as deleteFiles, ad as deleteFlow, ac as deleteFlows, af as deleteFolder, ae as deleteFolders, ah as deleteItem, ag as deleteItems, aj as deleteNotification, ai as deleteNotifications, al as deleteOperation, ak as deleteOperations, an as deletePanel, am as deletePanels, ap as deletePermission, ao as deletePermissions, ar as deletePreset, aq as deletePresets, as as deleteRelation, au as deleteRole, at as deleteRoles, aw as deleteShare, av as deleteShares, ay as deleteTranslation, ax as deleteTranslations, aA as deleteUser, az as deleteUsers, aC as deleteWebhook, aB as deleteWebhooks, d5 as disableTwoFactor, d4 as enableTwoFactor, cV as generateHash, d3 as generateTwoFactorSecret, m as importFile, c_ as inviteShare, d1 as inviteUser, l as logout, p as passwordRequest, a as passwordReset, d7 as queryToParams, aE as readActivities, aF as readActivity, aJ as readCollection, aI as readCollections, aM as readDashboard, aL as readDashboards, aP as readExtensions, aT as readField, aR as readFields, aS as readFieldsByCollection, aW as readFile, aV as readFiles, aZ as readFlow, aY as readFlows, b0 as readFolder, a$ as readFolders, bP as readGraphqlSdl, b3 as readItem, b2 as readItems, bG as readMe, b6 as readNotification, b5 as readNotifications, bV as readOpenApiSpec, b9 as readOperation, b8 as readOperations, bc as readPanel, bb as readPanels, bf as readPermission, be as readPermissions, bi as readPreset, bh as readPresets, r as readProviders, bm as readRelation, bl as readRelationByCollection, bk as readRelations, bp as readRevision, bo as readRevisions, bs as readRole, br as readRoles, bu as readSettings, bx as readShare, c$ as readShareInfo, bw as readShares, bz as readSingleton, bC as readTranslation, bB as readTranslations, bF as readUser, bE as readUsers, bJ as readWebhook, bI as readWebhooks, b as refresh, d6 as rest, bK as schemaApply, bM as schemaDiff, bO as schemaSnapshot, bR as serverHealth, bT as serverInfo, bW as serverPing, cU as triggerFlow, cY as triggerOperation, b_ as updateCollection, bY as updateComment, c1 as updateDashboard, c0 as updateDashboards, c3 as updateField, c6 as updateFile, c5 as updateFiles, c9 as updateFlow, c8 as updateFlows, cc as updateFolder, cb as updateFolders, cf as updateItem, ce as updateItems, cN as updateMe, ci as updateNotification, ch as updateNotifications, cl as updateOperation, ck as updateOperations, co as updatePanel, cn as updatePanels, cr as updatePermission, cq as updatePermissions, cu as updatePreset, ct as updatePresets, cw as updateRelation, cz as updateRole, cy as updateRoles, cB as updateSettings, cE as updateShare, cD as updateShares, cG as updateSingleton, cJ as updateTranslation, cI as updateTranslations, cM as updateUser, cL as updateUsers, cQ as updateWebhook, cP as updateWebhooks, u as uploadFiles, d0 as utilitySort, cT as utilsExport, cX as utilsImport, cW as verifyHash, d8 as withToken } from './index-c9cd424a.js'; | ||
@@ -11,0 +10,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import{$ as fa,$a as fb,$b as fc,A as G,Aa as Ga,Ab as Gb,Ac as Gc,B as H,Ba as Ha,Bb as Hb,Bc as Hc,C as I,Ca as Ia,Cb as Ib,Cc as Ic,D as J,Da as Ja,Db as Jb,E as K,Ea as Ka,Eb as Kb,F as L,Fa as La,Fb as Lb,G as M,Ga as Ma,Gb as Mb,H as N,Ha as Na,Hb as Nb,I as O,Ia as Oa,Ib as Ob,J as P,Ja as Pa,Jb as Pb,K as Q,Ka as Qa,Kb as Qb,L as R,La as Ra,Lb as Rb,M as S,Ma as Sa,Mb as Sb,N as T,Na as Ta,Nb as Tb,O as U,Oa as Ua,Ob as Ub,P as V,Pa as Va,Pb as Vb,Q as W,Qa as Wa,Qb as Wb,R as X,Ra as Xa,Rb as Xb,S as Y,Sa as Ya,Sb as Yb,T as Z,Ta as Za,Tb as Zb,U as _,Ua as _a,Ub as _b,V as $,Va as $a,Vb as $b,W as aa,Wa as ab,Wb as ac,X as ba,Xa as bb,Xb as bc,Y as ca,Ya as cb,Yb as cc,Z as da,Za as db,Zb as dc,_ as ea,_a as eb,_b as ec,a,aa as ga,ab as gb,ac as gc,b,ba as ha,bb as hb,bc as hc,c,ca as ia,cb as ib,cc as ic,d,da as ja,db as jb,dc as jc,e,ea as ka,eb as kb,ec as kc,f as l,fa as la,fb as lb,fc as lc,g as m,ga as ma,gb as mb,gc as mc,h as n,ha as na,hb as nb,hc as nc,i as o,ia as oa,ib as ob,ic as oc,j as p,ja as pa,jb as pb,jc as pc,k as q,ka as qa,kb as qb,kc as qc,l as r,la as ra,lb as rb,lc as rc,m as s,ma as sa,mb as sb,mc as sc,n as t,na as ta,nb as tb,nc as tc,o as u,oa as ua,ob as ub,oc as uc,p as v,pa as va,pb as vb,pc as vc,q as w,qa as wa,qb as wb,qc as wc,r as x,ra as xa,rb as xb,rc as xc,s as y,sa as ya,sb as yb,sc as yc,t as z,ta as za,tb as zb,tc as zc,u as A,ua as Aa,ub as Ab,uc as Ac,v as B,va as Ba,vb as Bb,vc as Bc,w as C,wa as Ca,wb as Cb,wc as Cc,x as D,xa as Da,xb as Db,xc as Dc,y as E,ya as Ea,yb as Eb,yc as Ec,z as F,za as Fa,zb as Fb,zc as Fc}from"./chunk-KG65M7S6.js";import{a as f,b as g,c as h,d as i,e as j,f as k}from"./chunk-CM3ZPHPK.js";export{Bc as acceptUserInvite,Ha as aggregate,Ic as asSearch,f as auth,wc as authenticateShare,b as authentication,pc as clearCache,s as createCollection,r as createComment,u as createDashboard,t as createDashboards,d as createDirectus,v as createField,z as createFlow,y as createFlows,B as createFolder,A as createFolders,D as createItem,C as createItems,F as createNotification,E as createNotifications,H as createOperation,G as createOperations,J as createPanel,I as createPanels,L as createPermission,K as createPermissions,N as createPreset,M as createPresets,O as createRelation,Q as createRole,P as createRoles,S as createShare,R as createShares,U as createTranslation,T as createTranslations,W as createUser,V as createUsers,Y as createWebhook,X as createWebhooks,_ as deleteCollection,Z as deleteComment,aa as deleteDashboard,$ as deleteDashboards,ba as deleteField,da as deleteFile,ca as deleteFiles,fa as deleteFlow,ea as deleteFlows,ha as deleteFolder,ga as deleteFolders,ja as deleteItem,ia as deleteItems,la as deleteNotification,ka as deleteNotifications,na as deleteOperation,ma as deleteOperations,pa as deletePanel,oa as deletePanels,ra as deletePermission,qa as deletePermissions,ta as deletePreset,sa as deletePresets,ua as deleteRelation,wa as deleteRole,va as deleteRoles,ya as deleteShare,xa as deleteShares,Aa as deleteTranslation,za as deleteTranslations,Ca as deleteUser,Ba as deleteUsers,Ea as deleteWebhook,Da as deleteWebhooks,Ec as disableTwoFactor,Dc as enableTwoFactor,sc as generateHash,Cc as generateTwoFactorSecret,i as generateUid,e as graphql,x as importFile,xc as inviteShare,Ac as inviteUser,l as login,m as logout,a as memoryStorage,h as messageCallback,n as passwordRequest,o as passwordReset,g as pong,Gc as queryToParams,Fa as readActivities,Ga as readActivity,Ja as readCollection,Ia as readCollections,La as readDashboard,Ka as readDashboards,Ma as readExtensions,Pa as readField,Na as readFields,Oa as readFieldsByCollection,Ra as readFile,Qa as readFiles,Ta as readFlow,Sa as readFlows,Va as readFolder,Ua as readFolders,Bb as readGraphqlSdl,Xa as readItem,Wa as readItems,vb as readMe,Za as readNotification,Ya as readNotifications,Eb as readOpenApiSpec,$a as readOperation,_a as readOperations,bb as readPanel,ab as readPanels,db as readPermission,cb as readPermissions,fb as readPreset,eb as readPresets,p as readProviders,ib as readRelation,hb as readRelationByCollection,gb as readRelations,kb as readRevision,jb as readRevisions,mb as readRole,lb as readRoles,nb as readSettings,pb as readShare,yc as readShareInfo,ob as readShares,qb as readSingleton,sb as readTranslation,rb as readTranslations,ub as readUser,tb as readUsers,xb as readWebhook,wb as readWebhooks,j as realtime,q as refresh,Fc as rest,yb as schemaApply,zb as schemaDiff,Ab as schemaSnapshot,Cb as serverHealth,Db as serverInfo,Fb as serverPing,k as sleep,c as staticToken,rc as triggerFlow,vc as triggerOperation,Hb as updateCollection,Gb as updateComment,Jb as updateDashboard,Ib as updateDashboards,Kb as updateField,Mb as updateFile,Lb as updateFiles,Ob as updateFlow,Nb as updateFlows,Qb as updateFolder,Pb as updateFolders,Sb as updateItem,Rb as updateItems,mc as updateMe,Ub as updateNotification,Tb as updateNotifications,Wb as updateOperation,Vb as updateOperations,Yb as updatePanel,Xb as updatePanels,_b as updatePermission,Zb as updatePermissions,ac as updatePreset,$b as updatePresets,bc as updateRelation,dc as updateRole,cc as updateRoles,ec as updateSettings,gc as updateShare,fc as updateShares,hc as updateSingleton,jc as updateTranslation,ic as updateTranslations,lc as updateUser,kc as updateUsers,oc as updateWebhook,nc as updateWebhooks,w as uploadFiles,zc as utilitySort,qc as utilsExport,uc as utilsImport,tc as verifyHash,Hc as withToken}; | ||
import{$ as fa,$a as fb,$b as fc,A as G,Aa as Ga,Ab as Gb,Ac as Gc,B as H,Ba as Ha,Bb as Hb,Bc as Hc,C as I,Ca as Ia,Cb as Ib,Cc as Ic,D as J,Da as Ja,Db as Jb,E as K,Ea as Ka,Eb as Kb,F as L,Fa as La,Fb as Lb,G as M,Ga as Ma,Gb as Mb,H as N,Ha as Na,Hb as Nb,I as O,Ia as Oa,Ib as Ob,J as P,Ja as Pa,Jb as Pb,K as Q,Ka as Qa,Kb as Qb,L as R,La as Ra,Lb as Rb,M as S,Ma as Sa,Mb as Sb,N as T,Na as Ta,Nb as Tb,O as U,Oa as Ua,Ob as Ub,P as V,Pa as Va,Pb as Vb,Q as W,Qa as Wa,Qb as Wb,R as X,Ra as Xa,Rb as Xb,S as Y,Sa as Ya,Sb as Yb,T as Z,Ta as Za,Tb as Zb,U as _,Ua as _a,Ub as _b,V as $,Va as $a,Vb as $b,W as aa,Wa as ab,Wb as ac,X as ba,Xa as bb,Xb as bc,Y as ca,Ya as cb,Yb as cc,Z as da,Za as db,Zb as dc,_ as ea,_a as eb,_b as ec,a,aa as ga,ab as gb,ac as gc,b,ba as ha,bb as hb,bc as hc,c,ca as ia,cb as ib,cc as ic,d,da as ja,db as jb,dc as jc,e,ea as ka,eb as kb,ec as kc,f as l,fa as la,fb as lb,fc as lc,g as m,ga as ma,gb as mb,gc as mc,h as n,ha as na,hb as nb,hc as nc,i as o,ia as oa,ib as ob,ic as oc,j as p,ja as pa,jb as pb,jc as pc,k as q,ka as qa,kb as qb,kc as qc,l as r,la as ra,lb as rb,lc as rc,m as s,ma as sa,mb as sb,mc as sc,n as t,na as ta,nb as tb,nc as tc,o as u,oa as ua,ob as ub,oc as uc,p as v,pa as va,pb as vb,pc as vc,q as w,qa as wa,qb as wb,qc as wc,r as x,ra as xa,rb as xb,rc as xc,s as y,sa as ya,sb as yb,sc as yc,t as z,ta as za,tb as zb,tc as zc,u as A,ua as Aa,ub as Ab,uc as Ac,v as B,va as Ba,vb as Bb,vc as Bc,w as C,wa as Ca,wb as Cb,wc as Cc,x as D,xa as Da,xb as Db,xc as Dc,y as E,ya as Ea,yb as Eb,yc as Ec,z as F,za as Fa,zb as Fb,zc as Fc}from"./chunk-XTTBDA4K.js";import{a as f,b as g,c as h,d as i,e as j,f as k}from"./chunk-CM3ZPHPK.js";export{Bc as acceptUserInvite,Ha as aggregate,Ic as asSearch,f as auth,wc as authenticateShare,b as authentication,pc as clearCache,s as createCollection,r as createComment,u as createDashboard,t as createDashboards,d as createDirectus,v as createField,z as createFlow,y as createFlows,B as createFolder,A as createFolders,D as createItem,C as createItems,F as createNotification,E as createNotifications,H as createOperation,G as createOperations,J as createPanel,I as createPanels,L as createPermission,K as createPermissions,N as createPreset,M as createPresets,O as createRelation,Q as createRole,P as createRoles,S as createShare,R as createShares,U as createTranslation,T as createTranslations,W as createUser,V as createUsers,Y as createWebhook,X as createWebhooks,_ as deleteCollection,Z as deleteComment,aa as deleteDashboard,$ as deleteDashboards,ba as deleteField,da as deleteFile,ca as deleteFiles,fa as deleteFlow,ea as deleteFlows,ha as deleteFolder,ga as deleteFolders,ja as deleteItem,ia as deleteItems,la as deleteNotification,ka as deleteNotifications,na as deleteOperation,ma as deleteOperations,pa as deletePanel,oa as deletePanels,ra as deletePermission,qa as deletePermissions,ta as deletePreset,sa as deletePresets,ua as deleteRelation,wa as deleteRole,va as deleteRoles,ya as deleteShare,xa as deleteShares,Aa as deleteTranslation,za as deleteTranslations,Ca as deleteUser,Ba as deleteUsers,Ea as deleteWebhook,Da as deleteWebhooks,Ec as disableTwoFactor,Dc as enableTwoFactor,sc as generateHash,Cc as generateTwoFactorSecret,i as generateUid,e as graphql,x as importFile,xc as inviteShare,Ac as inviteUser,l as login,m as logout,a as memoryStorage,h as messageCallback,n as passwordRequest,o as passwordReset,g as pong,Gc as queryToParams,Fa as readActivities,Ga as readActivity,Ja as readCollection,Ia as readCollections,La as readDashboard,Ka as readDashboards,Ma as readExtensions,Pa as readField,Na as readFields,Oa as readFieldsByCollection,Ra as readFile,Qa as readFiles,Ta as readFlow,Sa as readFlows,Va as readFolder,Ua as readFolders,Bb as readGraphqlSdl,Xa as readItem,Wa as readItems,vb as readMe,Za as readNotification,Ya as readNotifications,Eb as readOpenApiSpec,$a as readOperation,_a as readOperations,bb as readPanel,ab as readPanels,db as readPermission,cb as readPermissions,fb as readPreset,eb as readPresets,p as readProviders,ib as readRelation,hb as readRelationByCollection,gb as readRelations,kb as readRevision,jb as readRevisions,mb as readRole,lb as readRoles,nb as readSettings,pb as readShare,yc as readShareInfo,ob as readShares,qb as readSingleton,sb as readTranslation,rb as readTranslations,ub as readUser,tb as readUsers,xb as readWebhook,wb as readWebhooks,j as realtime,q as refresh,Fc as rest,yb as schemaApply,zb as schemaDiff,Ab as schemaSnapshot,Cb as serverHealth,Db as serverInfo,Fb as serverPing,k as sleep,c as staticToken,rc as triggerFlow,vc as triggerOperation,Hb as updateCollection,Gb as updateComment,Jb as updateDashboard,Ib as updateDashboards,Kb as updateField,Mb as updateFile,Lb as updateFiles,Ob as updateFlow,Nb as updateFlows,Qb as updateFolder,Pb as updateFolders,Sb as updateItem,Rb as updateItems,mc as updateMe,Ub as updateNotification,Tb as updateNotifications,Wb as updateOperation,Vb as updateOperations,Yb as updatePanel,Xb as updatePanels,_b as updatePermission,Zb as updatePermissions,ac as updatePreset,$b as updatePresets,bc as updateRelation,dc as updateRole,cc as updateRoles,ec as updateSettings,gc as updateShare,fc as updateShares,hc as updateSingleton,jc as updateTranslation,ic as updateTranslations,lc as updateUser,kc as updateUsers,oc as updateWebhook,nc as updateWebhooks,w as uploadFiles,zc as utilitySort,qc as utilsExport,uc as utilsImport,tc as verifyHash,Hc as withToken}; | ||
//# sourceMappingURL=index.js.map |
import { D as DirectusClient } from '../client-e8d6bf91.js'; | ||
import { a as WebSocketConfig, d as WebSocketClient } from '../output-476d05a4.js'; | ||
export { R as RemoveEventHandler, S as SubscribeOptions, f as SubscriptionEvents, e as SubscriptionOptionsEvents, g as SubscriptionOutput, h as SubscriptionPayload, W as WebSocketAuthModes, c as WebSocketEventHandler, b as WebSocketEvents } from '../output-476d05a4.js'; | ||
import '@directus/types'; | ||
import { a as WebSocketConfig, d as WebSocketClient } from '../output-0978c379.js'; | ||
export { R as RemoveEventHandler, S as SubscribeOptions, f as SubscriptionEvents, e as SubscriptionOptionsEvents, g as SubscriptionOutput, h as SubscriptionPayload, W as WebSocketAuthModes, c as WebSocketEventHandler, b as WebSocketEvents } from '../output-0978c379.js'; | ||
@@ -6,0 +5,0 @@ interface EmailAuth { |
export { f as RestClient, R as RestCommand, g as RestConfig, e as login, l as loginOptions } from '../login-0506af09.js'; | ||
export { C as CreateActivityOutput, d as CreateCollectionOutput, f as CreateDashboardOutput, i as CreateFieldOutput, k as CreateFileOutput, n as CreateFlowOutput, s as CreateFolderOutput, w as CreateItemOutput, z as CreateNotificationOutput, D as CreateOperationOutput, G as CreatePanelOutput, J as CreatePermissionOutput, M as CreatePresetOutput, P as CreateRelationOutput, S as CreateRoleOutput, V as CreateShareOutput, Y as CreateTranslationOutput, $ as CreateUserOutput, a2 as CreateWebhookOutput, aO as ExtensionTypes, cS as FileFormat, bU as OpenApiSpecOutput, aD as ReadActivityOutput, aH as ReadCollectionOutput, aK as ReadDashboardOutput, aN as ReadExtensionOutput, aQ as ReadFieldOutput, aU as ReadFileOutput, aX as ReadFlowOutput, a_ as ReadFolderOutput, b1 as ReadItemOutput, b4 as ReadNotificationOutput, b7 as ReadOperationOutput, ba as ReadPanelOutput, bd as ReadPermissionOutput, bg as ReadPresetOutput, R as ReadProviderOutput, bj as ReadRelationOutput, bn as ReadRevisionOutput, bq as ReadRoleOutput, bt as ReadSettingOutput, bv as ReadShareOutput, by as ReadSingletonOutput, bA as ReadTranslationOutput, bD as ReadUserOutput, bH as ReadWebhookOutput, bL as SchemaDiffOutput, bN as SchemaSnapshotOutput, bQ as ServerHealthOutput, bS as ServerInfoOutput, bX as UpdateActivityOutput, bZ as UpdateCollectionOutput, b$ as UpdateDashboardOutput, c2 as UpdateFieldOutput, c4 as UpdateFileOutput, c7 as UpdateFlowOutput, ca as UpdateFolderOutput, cd as UpdateItemOutput, cg as UpdateNotificationOutput, cj as UpdateOperationOutput, cm as UpdatePanelOutput, cp as UpdatePermissionOutput, cs as UpdatePresetOutput, cv as UpdateRelationOutput, cx as UpdateRoleOutput, cA as UpdateSettingOutput, cC as UpdateShareOutput, cF as UpdateSingletonOutput, cH as UpdateTranslationOutput, cK as UpdateUserOutput, cO as UpdateWebhookOutput, d2 as acceptUserInvite, aG as aggregate, d9 as asSearch, cZ as authenticateShare, cR as clearCache, e as createCollection, c as createComment, h as createDashboard, g as createDashboards, j as createField, q as createFlow, o as createFlows, v as createFolder, t as createFolders, y as createItem, x as createItems, B as createNotification, A as createNotifications, F as createOperation, E as createOperations, I as createPanel, H as createPanels, L as createPermission, K as createPermissions, O as createPreset, N as createPresets, Q as createRelation, U as createRole, T as createRoles, X as createShare, W as createShares, _ as createTranslation, Z as createTranslations, a1 as createUser, a0 as createUsers, a4 as createWebhook, a3 as createWebhooks, a6 as deleteCollection, a5 as deleteComment, a8 as deleteDashboard, a7 as deleteDashboards, a9 as deleteField, ab as deleteFile, aa as deleteFiles, ad as deleteFlow, ac as deleteFlows, af as deleteFolder, ae as deleteFolders, ah as deleteItem, ag as deleteItems, aj as deleteNotification, ai as deleteNotifications, al as deleteOperation, ak as deleteOperations, an as deletePanel, am as deletePanels, ap as deletePermission, ao as deletePermissions, ar as deletePreset, aq as deletePresets, as as deleteRelation, au as deleteRole, at as deleteRoles, aw as deleteShare, av as deleteShares, ay as deleteTranslation, ax as deleteTranslations, aA as deleteUser, az as deleteUsers, aC as deleteWebhook, aB as deleteWebhooks, d5 as disableTwoFactor, d4 as enableTwoFactor, cV as generateHash, d3 as generateTwoFactorSecret, m as importFile, c_ as inviteShare, d1 as inviteUser, l as logout, p as passwordRequest, a as passwordReset, d7 as queryToParams, aE as readActivities, aF as readActivity, aJ as readCollection, aI as readCollections, aM as readDashboard, aL as readDashboards, aP as readExtensions, aT as readField, aR as readFields, aS as readFieldsByCollection, aW as readFile, aV as readFiles, aZ as readFlow, aY as readFlows, b0 as readFolder, a$ as readFolders, bP as readGraphqlSdl, b3 as readItem, b2 as readItems, bG as readMe, b6 as readNotification, b5 as readNotifications, bV as readOpenApiSpec, b9 as readOperation, b8 as readOperations, bc as readPanel, bb as readPanels, bf as readPermission, be as readPermissions, bi as readPreset, bh as readPresets, r as readProviders, bm as readRelation, bl as readRelationByCollection, bk as readRelations, bp as readRevision, bo as readRevisions, bs as readRole, br as readRoles, bu as readSettings, bx as readShare, c$ as readShareInfo, bw as readShares, bz as readSingleton, bC as readTranslation, bB as readTranslations, bF as readUser, bE as readUsers, bJ as readWebhook, bI as readWebhooks, b as refresh, d6 as rest, bK as schemaApply, bM as schemaDiff, bO as schemaSnapshot, bR as serverHealth, bT as serverInfo, bW as serverPing, cU as triggerFlow, cY as triggerOperation, b_ as updateCollection, bY as updateComment, c1 as updateDashboard, c0 as updateDashboards, c3 as updateField, c6 as updateFile, c5 as updateFiles, c9 as updateFlow, c8 as updateFlows, cc as updateFolder, cb as updateFolders, cf as updateItem, ce as updateItems, cN as updateMe, ci as updateNotification, ch as updateNotifications, cl as updateOperation, ck as updateOperations, co as updatePanel, cn as updatePanels, cr as updatePermission, cq as updatePermissions, cu as updatePreset, ct as updatePresets, cw as updateRelation, cz as updateRole, cy as updateRoles, cB as updateSettings, cE as updateShare, cD as updateShares, cG as updateSingleton, cJ as updateTranslation, cI as updateTranslations, cM as updateUser, cL as updateUsers, cQ as updateWebhook, cP as updateWebhooks, u as uploadFiles, d0 as utilitySort, cT as utilsExport, cX as utilsImport, cW as verifyHash, d8 as withToken } from '../index-0e55ee84.js'; | ||
import '../output-476d05a4.js'; | ||
import '@directus/types'; | ||
export { C as CreateActivityOutput, d as CreateCollectionOutput, f as CreateDashboardOutput, i as CreateFieldOutput, k as CreateFileOutput, n as CreateFlowOutput, s as CreateFolderOutput, w as CreateItemOutput, z as CreateNotificationOutput, D as CreateOperationOutput, G as CreatePanelOutput, J as CreatePermissionOutput, M as CreatePresetOutput, P as CreateRelationOutput, S as CreateRoleOutput, V as CreateShareOutput, Y as CreateTranslationOutput, $ as CreateUserOutput, a2 as CreateWebhookOutput, aO as ExtensionTypes, cS as FileFormat, bU as OpenApiSpecOutput, aD as ReadActivityOutput, aH as ReadCollectionOutput, aK as ReadDashboardOutput, aN as ReadExtensionOutput, aQ as ReadFieldOutput, aU as ReadFileOutput, aX as ReadFlowOutput, a_ as ReadFolderOutput, b1 as ReadItemOutput, b4 as ReadNotificationOutput, b7 as ReadOperationOutput, ba as ReadPanelOutput, bd as ReadPermissionOutput, bg as ReadPresetOutput, R as ReadProviderOutput, bj as ReadRelationOutput, bn as ReadRevisionOutput, bq as ReadRoleOutput, bt as ReadSettingOutput, bv as ReadShareOutput, by as ReadSingletonOutput, bA as ReadTranslationOutput, bD as ReadUserOutput, bH as ReadWebhookOutput, bL as SchemaDiffOutput, bN as SchemaSnapshotOutput, bQ as ServerHealthOutput, bS as ServerInfoOutput, bX as UpdateActivityOutput, bZ as UpdateCollectionOutput, b$ as UpdateDashboardOutput, c2 as UpdateFieldOutput, c4 as UpdateFileOutput, c7 as UpdateFlowOutput, ca as UpdateFolderOutput, cd as UpdateItemOutput, cg as UpdateNotificationOutput, cj as UpdateOperationOutput, cm as UpdatePanelOutput, cp as UpdatePermissionOutput, cs as UpdatePresetOutput, cv as UpdateRelationOutput, cx as UpdateRoleOutput, cA as UpdateSettingOutput, cC as UpdateShareOutput, cF as UpdateSingletonOutput, cH as UpdateTranslationOutput, cK as UpdateUserOutput, cO as UpdateWebhookOutput, d2 as acceptUserInvite, aG as aggregate, d9 as asSearch, cZ as authenticateShare, cR as clearCache, e as createCollection, c as createComment, h as createDashboard, g as createDashboards, j as createField, q as createFlow, o as createFlows, v as createFolder, t as createFolders, y as createItem, x as createItems, B as createNotification, A as createNotifications, F as createOperation, E as createOperations, I as createPanel, H as createPanels, L as createPermission, K as createPermissions, O as createPreset, N as createPresets, Q as createRelation, U as createRole, T as createRoles, X as createShare, W as createShares, _ as createTranslation, Z as createTranslations, a1 as createUser, a0 as createUsers, a4 as createWebhook, a3 as createWebhooks, a6 as deleteCollection, a5 as deleteComment, a8 as deleteDashboard, a7 as deleteDashboards, a9 as deleteField, ab as deleteFile, aa as deleteFiles, ad as deleteFlow, ac as deleteFlows, af as deleteFolder, ae as deleteFolders, ah as deleteItem, ag as deleteItems, aj as deleteNotification, ai as deleteNotifications, al as deleteOperation, ak as deleteOperations, an as deletePanel, am as deletePanels, ap as deletePermission, ao as deletePermissions, ar as deletePreset, aq as deletePresets, as as deleteRelation, au as deleteRole, at as deleteRoles, aw as deleteShare, av as deleteShares, ay as deleteTranslation, ax as deleteTranslations, aA as deleteUser, az as deleteUsers, aC as deleteWebhook, aB as deleteWebhooks, d5 as disableTwoFactor, d4 as enableTwoFactor, cV as generateHash, d3 as generateTwoFactorSecret, m as importFile, c_ as inviteShare, d1 as inviteUser, l as logout, p as passwordRequest, a as passwordReset, d7 as queryToParams, aE as readActivities, aF as readActivity, aJ as readCollection, aI as readCollections, aM as readDashboard, aL as readDashboards, aP as readExtensions, aT as readField, aR as readFields, aS as readFieldsByCollection, aW as readFile, aV as readFiles, aZ as readFlow, aY as readFlows, b0 as readFolder, a$ as readFolders, bP as readGraphqlSdl, b3 as readItem, b2 as readItems, bG as readMe, b6 as readNotification, b5 as readNotifications, bV as readOpenApiSpec, b9 as readOperation, b8 as readOperations, bc as readPanel, bb as readPanels, bf as readPermission, be as readPermissions, bi as readPreset, bh as readPresets, r as readProviders, bm as readRelation, bl as readRelationByCollection, bk as readRelations, bp as readRevision, bo as readRevisions, bs as readRole, br as readRoles, bu as readSettings, bx as readShare, c$ as readShareInfo, bw as readShares, bz as readSingleton, bC as readTranslation, bB as readTranslations, bF as readUser, bE as readUsers, bJ as readWebhook, bI as readWebhooks, b as refresh, d6 as rest, bK as schemaApply, bM as schemaDiff, bO as schemaSnapshot, bR as serverHealth, bT as serverInfo, bW as serverPing, cU as triggerFlow, cY as triggerOperation, b_ as updateCollection, bY as updateComment, c1 as updateDashboard, c0 as updateDashboards, c3 as updateField, c6 as updateFile, c5 as updateFiles, c9 as updateFlow, c8 as updateFlows, cc as updateFolder, cb as updateFolders, cf as updateItem, ce as updateItems, cN as updateMe, ci as updateNotification, ch as updateNotifications, cl as updateOperation, ck as updateOperations, co as updatePanel, cn as updatePanels, cr as updatePermission, cq as updatePermissions, cu as updatePreset, ct as updatePresets, cw as updateRelation, cz as updateRole, cy as updateRoles, cB as updateSettings, cE as updateShare, cD as updateShares, cG as updateSingleton, cJ as updateTranslation, cI as updateTranslations, cM as updateUser, cL as updateUsers, cQ as updateWebhook, cP as updateWebhooks, u as uploadFiles, d0 as utilitySort, cT as utilsExport, cX as utilsImport, cW as verifyHash, d8 as withToken } from '../index-c9cd424a.js'; | ||
import '../output-0978c379.js'; | ||
import '../client-e8d6bf91.js'; |
@@ -1,2 +0,2 @@ | ||
import{$ as W,$a as Wa,$b as Wb,A as v,Aa as va,Ab as vb,Ac as vc,B as w,Ba as wa,Bb as wb,Bc as wc,C as x,Ca as xa,Cb as xb,Cc as xc,D as y,Da as ya,Db as yb,E as z,Ea as za,Eb as zb,F as A,Fa as Aa,Fb as Ab,G as B,Ga as Ba,Gb as Bb,H as C,Ha as Ca,Hb as Cb,I as D,Ia as Da,Ib as Db,J as E,Ja as Ea,Jb as Eb,K as F,Ka as Fa,Kb as Fb,L as G,La as Ga,Lb as Gb,M as H,Ma as Ha,Mb as Hb,N as I,Na as Ia,Nb as Ib,O as J,Oa as Ja,Ob as Jb,P as K,Pa as Ka,Pb as Kb,Q as L,Qa as La,Qb as Lb,R as M,Ra as Ma,Rb as Mb,S as N,Sa as Na,Sb as Nb,T as O,Ta as Oa,Tb as Ob,U as P,Ua as Pa,Ub as Pb,V as Q,Va as Qa,Vb as Qb,W as R,Wa as Ra,Wb as Rb,X as S,Xa as Sa,Xb as Sb,Y as T,Ya as Ta,Yb as Tb,Z as U,Za as Ua,Zb as Ub,_ as V,_a as Va,_b as Vb,aa as X,ab as Xa,ac as Xb,ba as Y,bb as Ya,bc as Yb,ca as Z,cb as Za,cc as Zb,da as _,db as _a,dc as _b,ea as $,eb as $a,ec as $b,f as a,fa as aa,fb as ab,fc as ac,g as b,ga as ba,gb as bb,gc as bc,h as c,ha as ca,hb as cb,hc as cc,i as d,ia as da,ib as db,ic as dc,j as e,ja as ea,jb as eb,jc as ec,k as f,ka as fa,kb as fb,kc as fc,l as g,la as ga,lb as gb,lc as gc,m as h,ma as ha,mb as hb,mc as hc,n as i,na as ia,nb as ib,nc as ic,o as j,oa as ja,ob as jb,oc as jc,p as k,pa as ka,pb as kb,pc as kc,q as l,qa as la,qb as lb,qc as lc,r as m,ra as ma,rb as mb,rc as mc,s as n,sa as na,sb as nb,sc as nc,t as o,ta as oa,tb as ob,tc as oc,u as p,ua as pa,ub as pb,uc as pc,v as q,va as qa,vb as qb,vc as qc,w as r,wa as ra,wb as rb,wc as rc,x as s,xa as sa,xb as sb,xc as sc,y as t,ya as ta,yb as tb,yc as tc,z as u,za as ua,zb as ub,zc as uc}from"../chunk-KG65M7S6.js";import"../chunk-CM3ZPHPK.js";export{qc as acceptUserInvite,wa as aggregate,xc as asSearch,lc as authenticateShare,ec as clearCache,h as createCollection,g as createComment,j as createDashboard,i as createDashboards,k as createField,o as createFlow,n as createFlows,q as createFolder,p as createFolders,s as createItem,r as createItems,u as createNotification,t as createNotifications,w as createOperation,v as createOperations,y as createPanel,x as createPanels,A as createPermission,z as createPermissions,C as createPreset,B as createPresets,D as createRelation,F as createRole,E as createRoles,H as createShare,G as createShares,J as createTranslation,I as createTranslations,L as createUser,K as createUsers,N as createWebhook,M as createWebhooks,P as deleteCollection,O as deleteComment,R as deleteDashboard,Q as deleteDashboards,S as deleteField,U as deleteFile,T as deleteFiles,W as deleteFlow,V as deleteFlows,Y as deleteFolder,X as deleteFolders,_ as deleteItem,Z as deleteItems,aa as deleteNotification,$ as deleteNotifications,ca as deleteOperation,ba as deleteOperations,ea as deletePanel,da as deletePanels,ga as deletePermission,fa as deletePermissions,ia as deletePreset,ha as deletePresets,ja as deleteRelation,la as deleteRole,ka as deleteRoles,na as deleteShare,ma as deleteShares,pa as deleteTranslation,oa as deleteTranslations,ra as deleteUser,qa as deleteUsers,ta as deleteWebhook,sa as deleteWebhooks,tc as disableTwoFactor,sc as enableTwoFactor,hc as generateHash,rc as generateTwoFactorSecret,m as importFile,mc as inviteShare,pc as inviteUser,a as login,b as logout,c as passwordRequest,d as passwordReset,vc as queryToParams,ua as readActivities,va as readActivity,ya as readCollection,xa as readCollections,Aa as readDashboard,za as readDashboards,Ba as readExtensions,Ea as readField,Ca as readFields,Da as readFieldsByCollection,Ga as readFile,Fa as readFiles,Ia as readFlow,Ha as readFlows,Ka as readFolder,Ja as readFolders,qb as readGraphqlSdl,Ma as readItem,La as readItems,kb as readMe,Oa as readNotification,Na as readNotifications,tb as readOpenApiSpec,Qa as readOperation,Pa as readOperations,Sa as readPanel,Ra as readPanels,Ua as readPermission,Ta as readPermissions,Wa as readPreset,Va as readPresets,e as readProviders,Za as readRelation,Ya as readRelationByCollection,Xa as readRelations,$a as readRevision,_a as readRevisions,bb as readRole,ab as readRoles,cb as readSettings,eb as readShare,nc as readShareInfo,db as readShares,fb as readSingleton,hb as readTranslation,gb as readTranslations,jb as readUser,ib as readUsers,mb as readWebhook,lb as readWebhooks,f as refresh,uc as rest,nb as schemaApply,ob as schemaDiff,pb as schemaSnapshot,rb as serverHealth,sb as serverInfo,ub as serverPing,gc as triggerFlow,kc as triggerOperation,wb as updateCollection,vb as updateComment,yb as updateDashboard,xb as updateDashboards,zb as updateField,Bb as updateFile,Ab as updateFiles,Db as updateFlow,Cb as updateFlows,Fb as updateFolder,Eb as updateFolders,Hb as updateItem,Gb as updateItems,bc as updateMe,Jb as updateNotification,Ib as updateNotifications,Lb as updateOperation,Kb as updateOperations,Nb as updatePanel,Mb as updatePanels,Pb as updatePermission,Ob as updatePermissions,Rb as updatePreset,Qb as updatePresets,Sb as updateRelation,Ub as updateRole,Tb as updateRoles,Vb as updateSettings,Xb as updateShare,Wb as updateShares,Yb as updateSingleton,_b as updateTranslation,Zb as updateTranslations,ac as updateUser,$b as updateUsers,dc as updateWebhook,cc as updateWebhooks,l as uploadFiles,oc as utilitySort,fc as utilsExport,jc as utilsImport,ic as verifyHash,wc as withToken}; | ||
import{$ as W,$a as Wa,$b as Wb,A as v,Aa as va,Ab as vb,Ac as vc,B as w,Ba as wa,Bb as wb,Bc as wc,C as x,Ca as xa,Cb as xb,Cc as xc,D as y,Da as ya,Db as yb,E as z,Ea as za,Eb as zb,F as A,Fa as Aa,Fb as Ab,G as B,Ga as Ba,Gb as Bb,H as C,Ha as Ca,Hb as Cb,I as D,Ia as Da,Ib as Db,J as E,Ja as Ea,Jb as Eb,K as F,Ka as Fa,Kb as Fb,L as G,La as Ga,Lb as Gb,M as H,Ma as Ha,Mb as Hb,N as I,Na as Ia,Nb as Ib,O as J,Oa as Ja,Ob as Jb,P as K,Pa as Ka,Pb as Kb,Q as L,Qa as La,Qb as Lb,R as M,Ra as Ma,Rb as Mb,S as N,Sa as Na,Sb as Nb,T as O,Ta as Oa,Tb as Ob,U as P,Ua as Pa,Ub as Pb,V as Q,Va as Qa,Vb as Qb,W as R,Wa as Ra,Wb as Rb,X as S,Xa as Sa,Xb as Sb,Y as T,Ya as Ta,Yb as Tb,Z as U,Za as Ua,Zb as Ub,_ as V,_a as Va,_b as Vb,aa as X,ab as Xa,ac as Xb,ba as Y,bb as Ya,bc as Yb,ca as Z,cb as Za,cc as Zb,da as _,db as _a,dc as _b,ea as $,eb as $a,ec as $b,f as a,fa as aa,fb as ab,fc as ac,g as b,ga as ba,gb as bb,gc as bc,h as c,ha as ca,hb as cb,hc as cc,i as d,ia as da,ib as db,ic as dc,j as e,ja as ea,jb as eb,jc as ec,k as f,ka as fa,kb as fb,kc as fc,l as g,la as ga,lb as gb,lc as gc,m as h,ma as ha,mb as hb,mc as hc,n as i,na as ia,nb as ib,nc as ic,o as j,oa as ja,ob as jb,oc as jc,p as k,pa as ka,pb as kb,pc as kc,q as l,qa as la,qb as lb,qc as lc,r as m,ra as ma,rb as mb,rc as mc,s as n,sa as na,sb as nb,sc as nc,t as o,ta as oa,tb as ob,tc as oc,u as p,ua as pa,ub as pb,uc as pc,v as q,va as qa,vb as qb,vc as qc,w as r,wa as ra,wb as rb,wc as rc,x as s,xa as sa,xb as sb,xc as sc,y as t,ya as ta,yb as tb,yc as tc,z as u,za as ua,zb as ub,zc as uc}from"../chunk-XTTBDA4K.js";import"../chunk-CM3ZPHPK.js";export{qc as acceptUserInvite,wa as aggregate,xc as asSearch,lc as authenticateShare,ec as clearCache,h as createCollection,g as createComment,j as createDashboard,i as createDashboards,k as createField,o as createFlow,n as createFlows,q as createFolder,p as createFolders,s as createItem,r as createItems,u as createNotification,t as createNotifications,w as createOperation,v as createOperations,y as createPanel,x as createPanels,A as createPermission,z as createPermissions,C as createPreset,B as createPresets,D as createRelation,F as createRole,E as createRoles,H as createShare,G as createShares,J as createTranslation,I as createTranslations,L as createUser,K as createUsers,N as createWebhook,M as createWebhooks,P as deleteCollection,O as deleteComment,R as deleteDashboard,Q as deleteDashboards,S as deleteField,U as deleteFile,T as deleteFiles,W as deleteFlow,V as deleteFlows,Y as deleteFolder,X as deleteFolders,_ as deleteItem,Z as deleteItems,aa as deleteNotification,$ as deleteNotifications,ca as deleteOperation,ba as deleteOperations,ea as deletePanel,da as deletePanels,ga as deletePermission,fa as deletePermissions,ia as deletePreset,ha as deletePresets,ja as deleteRelation,la as deleteRole,ka as deleteRoles,na as deleteShare,ma as deleteShares,pa as deleteTranslation,oa as deleteTranslations,ra as deleteUser,qa as deleteUsers,ta as deleteWebhook,sa as deleteWebhooks,tc as disableTwoFactor,sc as enableTwoFactor,hc as generateHash,rc as generateTwoFactorSecret,m as importFile,mc as inviteShare,pc as inviteUser,a as login,b as logout,c as passwordRequest,d as passwordReset,vc as queryToParams,ua as readActivities,va as readActivity,ya as readCollection,xa as readCollections,Aa as readDashboard,za as readDashboards,Ba as readExtensions,Ea as readField,Ca as readFields,Da as readFieldsByCollection,Ga as readFile,Fa as readFiles,Ia as readFlow,Ha as readFlows,Ka as readFolder,Ja as readFolders,qb as readGraphqlSdl,Ma as readItem,La as readItems,kb as readMe,Oa as readNotification,Na as readNotifications,tb as readOpenApiSpec,Qa as readOperation,Pa as readOperations,Sa as readPanel,Ra as readPanels,Ua as readPermission,Ta as readPermissions,Wa as readPreset,Va as readPresets,e as readProviders,Za as readRelation,Ya as readRelationByCollection,Xa as readRelations,$a as readRevision,_a as readRevisions,bb as readRole,ab as readRoles,cb as readSettings,eb as readShare,nc as readShareInfo,db as readShares,fb as readSingleton,hb as readTranslation,gb as readTranslations,jb as readUser,ib as readUsers,mb as readWebhook,lb as readWebhooks,f as refresh,uc as rest,nb as schemaApply,ob as schemaDiff,pb as schemaSnapshot,rb as serverHealth,sb as serverInfo,ub as serverPing,gc as triggerFlow,kc as triggerOperation,wb as updateCollection,vb as updateComment,yb as updateDashboard,xb as updateDashboards,zb as updateField,Bb as updateFile,Ab as updateFiles,Db as updateFlow,Cb as updateFlows,Fb as updateFolder,Eb as updateFolders,Hb as updateItem,Gb as updateItems,bc as updateMe,Jb as updateNotification,Ib as updateNotifications,Lb as updateOperation,Kb as updateOperations,Nb as updatePanel,Mb as updatePanels,Pb as updatePermission,Ob as updatePermissions,Rb as updatePreset,Qb as updatePresets,Sb as updateRelation,Ub as updateRole,Tb as updateRoles,Vb as updateSettings,Xb as updateShare,Wb as updateShares,Yb as updateSingleton,_b as updateTranslation,Zb as updateTranslations,ac as updateUser,$b as updateUsers,dc as updateWebhook,cc as updateWebhooks,l as uploadFiles,oc as utilitySort,fc as utilsExport,jc as utilsImport,ic as verifyHash,wc as withToken}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@directus/sdk", | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"description": "Directus JavaScript SDK", | ||
@@ -52,5 +52,2 @@ "homepage": "https://directus.io", | ||
}, | ||
"dependencies": { | ||
"@directus/types": "10.1.3" | ||
}, | ||
"engines": { | ||
@@ -57,0 +54,0 @@ "node": ">=18.0.0" |
@@ -23,5 +23,6 @@ import type { DirectusClient } from '../types/client.js'; | ||
body: JSON.stringify({ query, variables }), | ||
headers: {}, | ||
}; | ||
const headers: Record<string, string> = {}; | ||
if ('getToken' in this) { | ||
@@ -31,7 +32,11 @@ const token = await (this.getToken as AuthenticationClient<Schema>['getToken'])(); | ||
if (token) { | ||
if (!options.headers) options.headers = {}; | ||
options.headers = { Authorization: `Bearer ${token}` }; | ||
headers['Authorization'] = `Bearer ${token}`; | ||
} | ||
} | ||
if ('Content-Type' in headers === false) { | ||
headers['Content-Type'] = 'application/json'; | ||
} | ||
options.headers = headers; | ||
const requestPath = scope === 'items' ? '/graphql' : '/graphql/system'; | ||
@@ -38,0 +43,0 @@ const requestUrl = getRequestUrl(client.url, requestPath); |
@@ -1,2 +0,1 @@ | ||
import type { PrimaryKey } from '@directus/types'; | ||
import type { Query } from '../types/query.js'; | ||
@@ -76,3 +75,3 @@ import type { ApplyQueryFields, CollectionType } from '../index.js'; | ||
update: Item[]; | ||
delete: PrimaryKey[]; | ||
delete: string[] | number[]; | ||
}; |
@@ -1,2 +0,1 @@ | ||
import type { PrimaryKey } from '@directus/types'; | ||
import type { Query } from '../../../types/index.js'; | ||
@@ -16,3 +15,3 @@ import type { RestCommand } from '../../types.js'; | ||
collection: Collection, | ||
keysOrQuery: PrimaryKey[] | TQuery | ||
keysOrQuery: string[] | number[] | TQuery | ||
): RestCommand<void, Schema> => | ||
@@ -43,3 +42,3 @@ () => { | ||
collection: Collection, | ||
key: PrimaryKey | ||
key: string | number | ||
): RestCommand<void, Schema> => | ||
@@ -46,0 +45,0 @@ () => { |
@@ -1,2 +0,1 @@ | ||
import type { PrimaryKey } from '@directus/types'; | ||
import type { ApplyQueryFields, CollectionType, Query, RegularCollections } from '../../../types/index.js'; | ||
@@ -58,3 +57,3 @@ import type { RestCommand } from '../../types.js'; | ||
collection: Collection, | ||
key: PrimaryKey, | ||
key: string | number, | ||
query?: TQuery | ||
@@ -61,0 +60,0 @@ ): RestCommand<ReadItemOutput<Schema, Collection, TQuery>, Schema> => |
@@ -1,2 +0,1 @@ | ||
import type { PrimaryKey } from '@directus/types'; | ||
import type { ApplyQueryFields, CollectionType, Query, UnpackList } from '../../../types/index.js'; | ||
@@ -24,3 +23,3 @@ import type { RestCommand } from '../../types.js'; | ||
collection: Collection, | ||
keys: PrimaryKey[], | ||
keys: string[] | number[], | ||
item: Partial<UnpackList<Schema[Collection]>>, | ||
@@ -58,3 +57,3 @@ query?: TQuery | ||
collection: Collection, | ||
key: PrimaryKey, | ||
key: string | number, | ||
item: Partial<Item>, | ||
@@ -61,0 +60,0 @@ query?: TQuery |
export * from './aggregate.js'; | ||
export * from './client.js'; | ||
export * from './deep.js'; | ||
export * from './fields.js'; | ||
export * from './filters.js'; | ||
export * from './output.js'; | ||
@@ -5,0 +7,0 @@ export * from './query.js'; |
@@ -0,3 +1,5 @@ | ||
import type { QueryDeep } from './deep.js'; | ||
import type { HasNestedFields, QueryFields } from './fields.js'; | ||
import type { ItemType, RelationalFields } from './schema.js'; | ||
import type { QueryFilter } from './filters.js'; | ||
import type { ItemType } from './schema.js'; | ||
import type { IfAny, UnpackList } from './utils.js'; | ||
@@ -49,48 +51,2 @@ | ||
/** | ||
* Filters | ||
*/ | ||
export type QueryFilter<Schema extends object, Item> = UnpackList<Item> extends infer FlatItem | ||
? { | ||
[Field in keyof FlatItem]?: | ||
| (Field extends RelationalFields<Schema, FlatItem> ? QueryFilter<Schema, FlatItem[Field]> : never) | ||
| FilterOperatorsByType<FlatItem[Field]>; | ||
} | ||
: never; | ||
/** | ||
* All available filter operators | ||
* TODO would love to filter this based on field type but thats not accurate enough in the schema atm | ||
*/ | ||
export type FilterOperatorsByType<T> = { | ||
_eq?: T; | ||
_neq?: T; | ||
_gt?: T; | ||
_gte?: T; | ||
_lt?: T; | ||
_lte?: T; | ||
_in?: T[]; | ||
_nin?: T[]; | ||
_between?: [T, T]; | ||
_nbetween?: [T, T]; | ||
_contains?: T; | ||
_ncontains?: T; | ||
_starts_with?: T; | ||
_istarts_with?: T; | ||
_nstarts_with?: T; | ||
_nistarts_with?: T; | ||
_ends_with?: T; | ||
_iends_with?: T; | ||
_nends_with?: T; | ||
_niends_with?: T; | ||
_empty?: boolean; | ||
_nempty?: boolean; | ||
_nnull?: boolean; | ||
_null?: boolean; | ||
_intersects?: T; | ||
_nintersects?: T; | ||
_intersects_bbox?: T; | ||
_nintersects_bbox?: T; | ||
}; | ||
/** | ||
* Query sort | ||
@@ -105,20 +61,2 @@ * TODO expand to relational sorting (same object notation as fields i guess) | ||
/** | ||
* Deep filter object | ||
*/ | ||
export type QueryDeep<Schema extends object, Item> = UnpackList<Item> extends infer FlatItem | ||
? RelationalFields<Schema, FlatItem> extends never | ||
? never | ||
: { | ||
[Field in RelationalFields<Schema, FlatItem>]?: Query<Schema, FlatItem[Field]> extends infer TQuery | ||
? MergeObjects< | ||
QueryDeep<Schema, FlatItem[Field]>, | ||
{ | ||
[Key in keyof Omit<TQuery, 'deep' | 'alias'> as `_${string & Key}`]: TQuery[Key]; | ||
} | ||
> | ||
: never; | ||
} | ||
: never; | ||
export type MergeObjects<A, B extends object> = A extends object ? A & B : never; | ||
@@ -125,0 +63,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2359791
0
222
38946
- Removed@directus/types@10.1.3
- Removed@directus/types@10.1.3(transitive)